IntellijLang exception

after pasting new code into JSP



start > end: start=1671; end=1658
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.openapi.editor.impl.RangeMarkerImpl.(RangeMarkerImpl.java:24) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:72) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:99) at com.intellij.openapi.editor.impl.injected.DocumentRange.(DocumentRange.java:73) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:35) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.StringIndexOutOfBoundsException: String index out of range: -13 at java.lang.String.substring(String.java:1768) at com.intellij.openapi.editor.impl.injected.DocumentRange.getText(DocumentRange.java:59) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:164) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48) at com.intellij.openapi.editor.impl.RangeMarkerImpl.(RangeMarkerImpl.java:24) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:72) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:99) at com.intellij.openapi.editor.impl.injected.DocumentRange.(DocumentRange.java:73) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:35) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.StringIndexOutOfBoundsException: String index out of range: -13 at java.lang.String.substring(String.java:1768) at com.intellij.openapi.editor.impl.injected.DocumentRange.getText(DocumentRange.java:59) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:164) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48) at com.intellij.openapi.editor.impl.RangeMarkerImpl.(RangeMarkerImpl.java:24) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:72) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:99) at com.intellij.openapi.editor.impl.injected.DocumentRange.(DocumentRange.java:73) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:35) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.psi.impl.source.tree.injected.InjectedPsiInspectionUtil.inspectInjectedPsi(InjectedPsiInspectionUtil.java:7) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.run(LocalInspectionsPass.java:0) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:175) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:147) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:131) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:185) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.StringIndexOutOfBoundsException: String index out of range: -13 at java.lang.String.substring(String.java:1768) at com.intellij.openapi.editor.impl.injected.DocumentRange.getText(DocumentRange.java:59) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:164) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.psi.impl.source.tree.injected.InjectedPsiInspectionUtil.inspectInjectedPsi(InjectedPsiInspectionUtil.java:7) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.run(LocalInspectionsPass.java:0) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:175) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:147) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:131) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:185) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48) at com.intellij.openapi.editor.impl.RangeMarkerImpl.(RangeMarkerImpl.java:24) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:72) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:99) at com.intellij.openapi.editor.impl.injected.DocumentRange.(DocumentRange.java:73) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:35) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.StringIndexOutOfBoundsException: String index out of range: -13 at java.lang.String.substring(String.java:1768) at com.intellij.openapi.editor.impl.injected.DocumentRange.getText(DocumentRange.java:59) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:164) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0) at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.a(HighlightVisitorImpl.java:454) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:342) at com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:155) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:49) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:0) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:291) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:85) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:5) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48) at com.intellij.openapi.editor.impl.RangeMarkerImpl.(RangeMarkerImpl.java:24) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:72) at com.intellij.openapi.editor.impl.DocumentImpl.createRangeMarker(DocumentImpl.java:99) at com.intellij.openapi.editor.impl.injected.DocumentRange.]]>(DocumentRange.java:73)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:35)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9)
at com.intellij.psi.impl.source.tree.injected.InjectedPsiInspectionUtil.inspectInjectedPsi(InjectedPsiInspectionUtil.java:7)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.run(LocalInspectionsPass.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:175)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:147)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:131)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:185)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)



java.lang.StringIndexOutOfBoundsException: String index out of range: -13
at java.lang.String.substring(String.java:1768)
at com.intellij.openapi.editor.impl.injected.DocumentRange.getText(DocumentRange.java:59)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:164)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$300(InjectedLanguageUtil.java:165)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:0)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:287)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:13)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:3)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:212)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getInjectedPsi(XmlAttributeValueImpl.java:9)
at com.intellij.psi.impl.source.tree.injected.InjectedPsiInspectionUtil.inspectInjectedPsi(InjectedPsiInspectionUtil.java:7)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.run(LocalInspectionsPass.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:175)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:147)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:131)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:185)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:8)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:22)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:0)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:45)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:6)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

1 comment
Comment actions Permalink

M. J. Milicevic wrote:

after pasting new code into JSP


This probably caused by overlapping/duplicate injections into HTML attributes because IDEA
has started to provide its own injections in these places. Removing the XML-attribute
configuration entries for "on.*" and "href" should fix the problem.

Sascha

0

Please sign in to leave a comment.