|
|
|
Build 6700
Reported by Anonymous IDEA User Error message: String index out of range: -12 java.lang.StringIndexOutOfBoundsException: String index out of range: -12 at java.lang.String.substring(String.java:1938) at java.lang.String.substring(String.java:1905) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.createSubclassLookupValue(JavaClassReference.java:374) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getSubclassVariants(JavaClassReference.java:356) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getVariants(JavaClassReference.java:190) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.processVariants(JavaClassReference.java:69) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:329) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:184) at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:91) at com.intellij.codeInsight.completion.CompositeCompletionData.completeReference(CompositeCompletionData.java:38) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.complete(CodeCompletionHandlerBase.java:253) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:319) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:74) at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:41) at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:637) at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:80) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:635) at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:45) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:36) at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:23) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:25) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:406) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:332) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:145) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:397) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:332) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Build 6700
Reported by Chris Miller User description: Happened when I was editing a PHP page, and typed a '\' character to escape an existing double-quote character. Error message: String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1938) at com.intellij.openapi.util.TextRange.substring(TextRange.java:65) at com.intellij.openapi.paths.GlobalPathReferenceProvider.createReferences(GlobalPathReferenceProvider.java:42) at com.intellij.openapi.paths.PathReferenceManagerImpl.processProvider(PathReferenceManagerImpl.java:206) at com.intellij.openapi.paths.PathReferenceManagerImpl.createReferences(PathReferenceManagerImpl.java:89) at com.intellij.xml.util.HtmlReferenceProvider.getReferencesByElement(HtmlReferenceProvider.java:219) at com.intellij.psi.impl.source.resolve.ResolveUtil.getReferencesFromProviders(ResolveUtil.java:89) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:44) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.checkReferences(XmlHighlightVisitor.java:752) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlAttributeValue(XmlHighlightVisitor.java:707) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:35) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:995) at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:1009) at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:35) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:91) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:230) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:148) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:32) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:241) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:575) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:235) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:148) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:233) at com.intellij.codeInsight.daemon.impl.PassExecutorService$2$1.run(PassExecutorService.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Build 6700
Reported by Michael Werle Error message: String index out of range: -9 java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at java.lang.String.substring(String.java:1938) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceSet.reparse(JavaClassReferenceSet.java:128) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceSet.<init>(JavaClassReferenceSet.java:45) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceSet.reparse(JavaClassReferenceSet.java:128) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceSet.<init>(JavaClassReferenceSet.java:45) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceSet.<init>(JavaClassReferenceSet.java:37) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceProvider.getReferencesByString(JavaClassReferenceProvider.java:109) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceProvider.getReferencesByElement(JavaClassReferenceProvider.java:100) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReferenceProvider.getReferencesByElement(JavaClassReferenceProvider.java:82) at com.intellij.util.xml.impl.GenericValueReferenceProvider.createReferences(GenericValueReferenceProvider.java:142) at com.intellij.util.xml.impl.GenericValueReferenceProvider.getReferencesByElement(GenericValueReferenceProvider.java:86) at com.intellij.psi.impl.source.resolve.ResolveUtil.getReferencesFromProviders(ResolveUtil.java:89) at com.intellij.psi.impl.source.xml.XmlTagImpl.getReferences(XmlTagImpl.java:88) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.checkReferences(XmlHighlightVisitor.java:752) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.checkTag(XmlHighlightVisitor.java:169) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlToken(XmlHighlightVisitor.java:128) at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:33) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:995) at com.intellij.psi.XmlElementVisitor.visitXmlToken(XmlElementVisitor.java:58) at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:33) at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:91) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:230) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:148) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:32) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:241) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:575) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:235) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:148) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:233) at com.intellij.codeInsight.daemon.impl.PassExecutorService$2$1.run(PassExecutorService.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Build 6755
Reported by usa Error message: String index out of range: -17 java.lang.StringIndexOutOfBoundsException: String index out of range: -17 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.createSubclassLookupValue(JavaClassReference.java:372) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getSubclassVariants(JavaClassReference.java:354) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getVariants(JavaClassReference.java:188) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.processVariants(JavaClassReference.java:66) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:329) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:184) at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:91) at com.intellij.codeInsight.completion.CompositeCompletionData.completeReference(CompositeCompletionData.java:38) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.complete(CodeCompletionHandlerBase.java:254) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:320) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:75) at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:41) at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:640) at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:80) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:638) at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:45) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:36) at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:23) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:25) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:406) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:332) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:145) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:397) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:332) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Build 6763
Reported by Andrei Oprea Error message: String index out of range: -12 java.lang.StringIndexOutOfBoundsException: String index out of range: -12 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.createSubclassLookupValue(JavaClassReference.java:372) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getSubclassVariants(JavaClassReference.java:354) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getVariants(JavaClassReference.java:188) at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.processVariants(JavaClassReference.java:66) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:329) at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:184) at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:91) at com.intellij.codeInsight.completion.CompositeCompletionData.completeReference(CompositeCompletionData.java:38) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.complete(CodeCompletionHandlerBase.java:254) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:320) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:75) at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:41) at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:640) at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:80) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:638) at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:45) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:36) at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:23) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:25) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:406) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:332) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:145) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:397) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:332) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) |
|||||||||||||||||||||||||||||||||||||||||||||||||
Reported by VadimD
User description: error occured while trying code completion in JSF config file
Error message: String index out of range: -8
java.lang.StringIndexOutOfBoundsException: String index out of range: -8
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.createSubclassLookupValue(JavaClassReference.java:374)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getSubclassVariants(JavaClassReference.java:356)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.getVariants(JavaClassReference.java:190)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.processVariants(JavaClassReference.java:69)
at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:329)
at com.intellij.codeInsight.completion.CompletionData$3.addReferenceCompletions(CompletionData.java:243)
at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:97)
at com.intellij.codeInsight.completion.CompositeCompletionData.completeReference(CompositeCompletionData.java:38)
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.complete(CodeCompletionHandlerBase.java:253)
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:319)
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:74)
at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:41)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:634)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:80)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:632)
at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:45)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:106)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:83)
at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:36)
at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:23)
at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:25)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:406)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:332)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:145)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:393)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:329)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)