java.lang.AssertionError: Stub list is less than AST, last AST element: VAR_SPEC Element(VAR_SPEC) file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=0 tree consistent stub debugInfo=created in getStubTree(), no AST; with backReference document before=DocumentImpl[file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go] latestIndexedStub=StubTree{myDebugInfo='created from index; with backReference', myRoot=GoFileStub}2112143972 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go, content=VirtualFileContent{size=922}} viewProvider stamp: 0; file stamp: 0; file modCount: 1464633367000; file length: 922 doc saved: true; doc stamp: 0; doc size: 922; committed: true in many projects: false indexing info: indexed at 1464633367000 with size 922 ------------

GitHub | zolotov | 5 months ago
  1. 0

    Stub mismatch

    GitHub | 5 months ago | zolotov
    java.lang.AssertionError: Stub list is less than AST, last AST element: VAR_SPEC Element(VAR_SPEC) file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=0 tree consistent stub debugInfo=created in getStubTree(), no AST; with backReference document before=DocumentImpl[file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go] latestIndexedStub=StubTree{myDebugInfo='created from index; with backReference', myRoot=GoFileStub}2112143972 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go, content=VirtualFileContent{size=922}} viewProvider stamp: 0; file stamp: 0; file modCount: 1464633367000; file length: 922 doc saved: true; doc stamp: 0; doc size: 922; committed: true in many projects: false indexing info: indexed at 1464633367000 with size 922 ------------
  2. 0

    stub mismatch

    GitHub | 8 months ago | zolotov
    java.lang.AssertionError: Stub list in utf16_test.go has more elements than PSI file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=0 tree consistent stub debugInfo=created in getStubTree(), no AST; with backReference document before=DocumentImpl[file:///Users/zolotov/dev/go/src/unicode/utf16/utf16_test.go] latestIndexedStub=StubTree{myDebugInfo='created from index; with backReference', myRoot=GoFileStub}327894187 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///Users/zolotov/dev/go/src/unicode/utf16/utf16_test.go, content=VirtualFileContent{size=5204}} viewProvider stamp: 0; file stamp: 0; file modCount: 1457910109000; file length: 5204 doc saved: true; doc stamp: 0; doc size: 5160; committed: true in many projects: false indexing info: indexed at 1457910109000 with size 5160 ------------
  3. 0

    Inspections build is hanging on TeamCity agent

    YouTrack | 8 months ago
    java.lang.AssertionError: incorrect type string generated from PsiType:Function<? super capture of ? extends Element, ? extends String>: Incorrect type 'java.util.function.Function<? super ? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element,java.lang.String>' (JDK_1_8)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stub and PSI element type mismatch in FILE.go: stub GoTypeStub, AST SPEC_TYPE; Element(SPEC_TYPE)

    GitHub | 1 year ago | ffissore
    java.lang.AssertionError: Stub and PSI element type mismatch in FILE.go: stub GoTypeStub, AST SPEC_TYPE; Element(SPEC_TYPE) file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=0 tree consistent stub debugInfo=created in getStubTree(); with backReference document before=DocumentImpl[file:///HIDDEN_PATH/FILE.go] latestIndexedStub=com.intellij.psi.stubs.StubTree@f766645 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///HIDDEN_PATH/FILE.go, content=VirtualFileContent{size=1074}} viewProvider stamp: 0; file stamp: 0; file modCount: 1439904880158; file length: 1074 doc saved: true; doc stamp: 0; doc size: 1074; committed: true in many projects: false indexing info: indexed at 1439904880158 with size 1074 ------------
  6. 0

    AssertionError in PSI parsing

    GitHub | 2 years ago | ansel1
    java.lang.AssertionError: Stub and PSI element type mismatch in pem.go: stub GoFunctionDeclarationStub, AST VAR_SPEC; Element(VAR_SPEC) file=GO_FILE, modStamp=0 stub debugInfo=created in getStubTree(); with backReference document before=DocumentImpl[file:///usr/local/Cellar/go/1.4.2/libexec/src/encoding/pem/pem.go] latestIndexedStub=com.intellij.psi.stubs.StubTree@3c21de73 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///usr/local/Cellar/go/1.4.2/libexec/src/encoding/pem/pem.go, content=DocumentContent{size=6858}} viewProvider stamp: 0; file stamp: 0; file modCount: 1424234314000; file length: 6858 doc saved: true; doc stamp: 0; doc size: 6858; committed: true indexing info: indexed at 1424234314000 with size 6858 ------------

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Stub list is less than AST, last AST element: VAR_SPEC Element(VAR_SPEC) file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=0 tree consistent stub debugInfo=created in getStubTree(), no AST; with backReference document before=DocumentImpl[file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go] latestIndexedStub=StubTree{myDebugInfo='created from index; with backReference', myRoot=GoFileStub}2112143972 same size=true debugInfo=created from index; with backReference viewProvider=SingleRootFileViewProvider{myVirtualFile=file:///Users/zolotov/dev/go/test/fixedbugs/issue14006.go, content=VirtualFileContent{size=922}} viewProvider stamp: 0; file stamp: 0; file modCount: 1464633367000; file length: 922 doc saved: true; doc stamp: 0; doc size: 922; committed: true in many projects: false indexing info: indexed at 1464633367000 with size 922 ------------

      at com.intellij.psi.impl.source.PsiFileImpl.reportStubAstMismatch()
    2. IDEA
      ApplierCompleter.compute
      1. com.intellij.psi.impl.source.PsiFileImpl.reportStubAstMismatch(PsiFileImpl.java:338)
      2. com.intellij.psi.impl.source.PsiFileImpl$1.visitNode(PsiFileImpl.java:299)
      3. com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:80)
      4. com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:158)
      5. com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:66)
      6. com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:58)
      7. com.intellij.util.WalkingState.walkChildren(WalkingState.java:65)
      8. com.intellij.util.WalkingState.elementStarted(WalkingState.java:52)
      9. com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitNode(RecursiveTreeElementWalkingVisitor.java:85)
      10. com.intellij.psi.impl.source.PsiFileImpl$1.visitNode(PsiFileImpl.java:313)
      11. com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:80)
      12. com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:158)
      13. com.intellij.psi.impl.source.PsiFileImpl.calcStubAstBindings(PsiFileImpl.java:287)
      14. com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:196)
      15. com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:799)
      16. com.intellij.psi.impl.source.PsiFileImpl.getNode(PsiFileImpl.java:1004)
      17. com.intellij.psi.impl.source.PsiFileImpl.getNode(PsiFileImpl.java:67)
      18. com.intellij.psi.impl.search.LowLevelSearchUtil.processTreeUp(LowLevelSearchUtil.java:77)
      19. com.intellij.psi.impl.search.LowLevelSearchUtil.access$000(LowLevelSearchUtil.java:42)
      20. com.intellij.psi.impl.search.LowLevelSearchUtil$1.execute(LowLevelSearchUtil.java:199)
      21. com.intellij.psi.impl.search.LowLevelSearchUtil.processTextOccurrences(LowLevelSearchUtil.java:242)
      22. com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:195)
      23. com.intellij.psi.impl.search.PsiSearchHelperImpl$3.processInReadAction(PsiSearchHelperImpl.java:230)
      24. com.intellij.psi.impl.search.PsiSearchHelperImpl$3.processInReadAction(PsiSearchHelperImpl.java:226)
      25. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:31)
      26. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:28)
      27. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962)
      28. com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:28)
      29. com.intellij.psi.impl.search.PsiSearchHelperImpl$6.compute(PsiSearchHelperImpl.java:385)
      30. com.intellij.psi.impl.search.PsiSearchHelperImpl$6.compute(PsiSearchHelperImpl.java:367)
      31. com.intellij.openapi.application.ex.ApplicationUtil$1.run(ApplicationUtil.java:37)
      32. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178)
      33. com.intellij.openapi.application.ex.ApplicationUtil.tryRunReadAction(ApplicationUtil.java:34)
      34. com.intellij.psi.impl.search.PsiSearchHelperImpl.processVirtualFile(PsiSearchHelperImpl.java:367)
      35. com.intellij.psi.impl.search.PsiSearchHelperImpl.access$100(PsiSearchHelperImpl.java:68)
      36. com.intellij.psi.impl.search.PsiSearchHelperImpl$4.process(PsiSearchHelperImpl.java:314)
      37. com.intellij.psi.impl.search.PsiSearchHelperImpl$4.process(PsiSearchHelperImpl.java:309)
      38. com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:128)
      39. com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:217)
      40. com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:146)
      41. com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:44)
      42. com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:91)
      43. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      44. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:443)
      45. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:443)
      46. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      47. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      48. com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:112)
      49. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:88)
      49 frames
    3. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.CountedCompleter.exec(CountedCompleter.java:684)
      2. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      3. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      4. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      5. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      6. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
      6 frames