XPathView + XSLT-Support

String index out of range: 72
java.lang.StringIndexOutOfBoundsException: String index out of range: 72
at java.lang.String.substring(String.java:1765)
at java.lang.String.subSequence(String.java:1803)
at com.intellij.psi.SingleRootFileViewProvider$DocumentContent.getText(SingleRootFileViewProvider.java:6)
at com.intellij.psi.SingleRootFileViewProvider.getContents(SingleRootFileViewProvider.java:99)
at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:96)
at com.intellij.psi.impl.source.PsiFileImpl.getTreeElementNoLock(PsiFileImpl.java:51)
at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:141)
at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:112)
at com.intellij.psi.impl.RepositoryElementsManager.getOrFindTreeElement(RepositoryElementsManager.java:14)
at com.intellij.psi.impl.source.SrcRepositoryPsiElement.calcTreeElement(SrcRepositoryPsiElement.java:46)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.getNode(TreeWrapperPsiElement.java:40)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:37)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$500(InjectedLanguageUtil.java:195)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1$1.doneInjecting(InjectedLanguageUtil.java:18)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$1$1.addPlace(InjectedLanguageManagerImpl.java:3)
at org.intellij.lang.xpath.xslt.impl.XPathLanguageInjector.getLanguagesToInject(XPathLanguageInjector.java:151)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$1.getLanguagesToInject(InjectedLanguageManagerImpl.java:7)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.process(InjectedLanguageUtil.java:2)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.process(InjectedLanguageUtil.java:4)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:40)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:8)
at com.intellij.psi.impl.ParameterizedCachedValueImpl.getValue(ParameterizedCachedValueImpl.java:12)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:201)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:133)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.commitAllInjectedDocuments(InjectedLanguageUtil.java:63)
at com.intellij.psi.impl.PsiDocumentManagerImpl$1.run(PsiDocumentManagerImpl.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:8)
at com.intellij.psi.impl.PsiDocumentManagerImpl.a(PsiDocumentManagerImpl.java:163)
at com.intellij.psi.impl.PsiDocumentManagerImpl.commitDocument(PsiDocumentManagerImpl.java:152)
at com.intellij.psi.impl.PsiDocumentManagerImpl.documentChanged(PsiDocumentManagerImpl.java:157)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:75)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:21)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:52)
at $Proxy14.documentChanged(Unknown Source)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:158)
at com.intellij.openapi.editor.impl.DocumentImpl.access$100(DocumentImpl.java:16)
at com.intellij.openapi.editor.impl.DocumentImpl$3.afterChangedUpdate(DocumentImpl.java:3)
at com.intellij.openapi.editor.impl.CharArray.replace(CharArray.java:40)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:118)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceText(DocumentImpl.java:274)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$6.run(FileDocumentManagerImpl.java:6)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:8)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.reloadFromDisk(FileDocumentManagerImpl.java:86)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.contentsChanged(FileDocumentManagerImpl.java:150)
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:93)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:71)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:43)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:1)
at $Proxy10.contentsChanged(Unknown Source)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.a(VirtualFileManagerImpl.java:175)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.access$200(VirtualFileManagerImpl.java:19)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$1.after(VirtualFileManagerImpl.java:2)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:154)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:146)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:20)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:86)
at $Proxy48.after(Unknown Source)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.processEvents(PersistentFS.java:248)
at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshSessionImpl.java:7)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$2$1$1.run(RefreshQueueImpl.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:8)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$2$1.run(RefreshQueueImpl.java:1)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:65)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:81)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:195)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0

Please sign in to leave a comment.