java.lang.IndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.Collections$SingletonList.get(Collections.java:4815) at com.jetbrains.python.codeInsight.PyTypingTypeProvider.getType(PyTypingTypeProvider.java:372) at com.jetbrains.python.psi.types.PyTypeParser.lambda$parsePep484FunctionTypeComment$9(PyTypeParser.java:384) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$MapParser.parse(FunctionalParserBase.java:324) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$OrParser.parse(FunctionalParserBase.java:229) at com.jetbrains.python.psi.types.functionalParser.ForwardDeclaration.parse(ForwardDeclaration.java:44) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$OrParser.parse(FunctionalParserBase.java:229) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$OrParser.parse(FunctionalParserBase.java:229) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$ThenParser.parse(FunctionalParserBase.java:306) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$ThenParser.parse(FunctionalParserBase.java:305) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$ThenParser.parse(FunctionalParserBase.java:305) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$FirstParser.parse(FunctionalParserBase.java:247) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$MapParser.parse(FunctionalParserBase.java:323) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$OrParser.parse(FunctionalParserBase.java:229) at com.jetbrains.python.psi.types.functionalParser.ForwardDeclaration.parse(ForwardDeclaration.java:44) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$ThenParser.parse(FunctionalParserBase.java:306) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$MapParser.parse(FunctionalParserBase.java:323) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$ThenParser.parse(FunctionalParserBase.java:305) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase$FirstParser.parse(FunctionalParserBase.java:247) at com.jetbrains.python.psi.types.functionalParser.FunctionalParserBase.parse(FunctionalParserBase.java:43) at com.jetbrains.python.psi.types.PyTypeParser.parsePep484FunctionTypeComment(PyTypeParser.java:471) at com.jetbrains.python.codeInsight.PyFunctionTypeCommentReferenceContributor.parseTypeReferences(PyFunctionTypeCommentReferenceContributor.java:77) at com.jetbrains.python.codeInsight.PyFunctionTypeCommentReferenceContributor.access$000(PyFunctionTypeCommentReferenceContributor.java:42) at com.jetbrains.python.codeInsight.PyFunctionTypeCommentReferenceContributor$2.getReferencesByElement(PyFunctionTypeCommentReferenceContributor.java:65) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:120) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:66) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:55) at com.intellij.psi.impl.source.tree.PsiCoreCommentImpl.getReferences(PsiCoreCommentImpl.java:50) at com.jetbrains.python.inspections.unresolvedReference.PyUnresolvedReferencesInspection$Visitor.visitComment(PyUnresolvedReferencesInspection.java:297) at com.intellij.psi.impl.source.tree.PsiCoreCommentImpl.accept(PsiCoreCommentImpl.java:40) at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81) at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:281) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$1(LocalInspectionsPass.java:249) at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:123) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1032) at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$0(ApplierCompleter.java:96) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:106) at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91) at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190) at java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879) at java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045) at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390) at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616) at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:60) at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:57) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:251) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:223) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:129) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$0(PassExecutorService.java:431) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1038) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:424) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:423) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

    Users with the same issue

    osvzs
    1 times, last one,