java.util.ConcurrentModificationException

netbeans.org | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Exception encountered attempting to use autocomplete feature

    Netbeans Bugzilla | 1 decade ago | nuttycombe
    java.lang.IllegalArgumentException: Child tree not found. at org.netbeans.modules.javacore.parser.ASTProvider.findTree(ASTProvider.java:441) at org.netbeans.modules.javacore.parser.ASTProvider.findTree(ASTProvider.java:437) at org.netbeans.modules.javacore.parser.ASTProvider.findTree(ASTProvider.java:437) at org.netbeans.modules.javacore.parser.ASTProvider.findTree(ASTProvider.java:437) at org.netbeans.modules.javacore.parser.ElementInfo.refreshASTree(ElementInfo.java:87) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:918) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:444) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser(SemiPersistentElement.java:759) at org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getJavadocText(FeatureImpl.java:169) at org.netbeans.jmi.javamodel.Method$Impl.getJavadocText(Unknown Source) at org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getJavadoc(FeatureImpl.java:206) at org.netbeans.jmi.javamodel.Method$Impl.getJavadoc(Unknown Source) at org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.setFeature(NbJMICompletionJavaDoc.java:458) at org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.run(NbJMICompletionJavaDoc.java:538)

    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.util.ConcurrentModificationException

      No message provided

      at java.util.LinkedHashMap$LinkedHashIterator.nextNode()
    2. Java RT
      LinkedHashMap$LinkedValueIterator.next
      1. java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:711)
      2. java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:739)
      2 frames
    3. org.netbeans.modules
      ECMAScript6Parser$LexicalDeclarationContext.accept
      1. org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor6.createVarLetConst(ModelVisitor6.java:880)
      2. org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor6.visitLexicalBinding(ModelVisitor6.java:431)
      3. org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor6.visitLexicalBinding(ModelVisitor6.java:73)
      4. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$LexicalBindingContext.accept(ECMAScript6Parser.java:4753)
      5. org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor6.visitLexicalDeclaration(ModelVisitor6.java:442)
      6. org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor6.visitLexicalDeclaration(ModelVisitor6.java:73)
      7. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$LexicalDeclarationContext.accept(ECMAScript6Parser.java:4580)
      7 frames
    4. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    5. org.netbeans.modules
      ECMAScript6Parser$DeclarationContext.accept
      1. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6BaseVisitor.visitDeclaration(ECMAScript6BaseVisitor.java:401)
      2. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$DeclarationContext.accept(ECMAScript6Parser.java:4265)
      2 frames
    6. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    7. org.netbeans.modules
      ECMAScript6Parser$StatementListContext.accept
      1. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6BaseVisitor.visitStatementList(ECMAScript6BaseVisitor.java:429)
      2. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$StatementListContext.accept(ECMAScript6Parser.java:4500)
      2 frames
    8. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    9. org.netbeans.modules
      ECMAScript6Parser$ProgramItemContext.accept
      1. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6BaseVisitor.visitProgramItem(ECMAScript6BaseVisitor.java:947)
      2. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$ProgramItemContext.accept(ECMAScript6Parser.java:9261)
      2 frames
    10. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    11. org.netbeans.modules
      RepositoryUpdater$4.run
      1. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6BaseVisitor.visitProgram(ECMAScript6BaseVisitor.java:940)
      2. org.netbeans.modules.javascript2.editor.parser6.ECMAScript6Parser$ProgramContext.accept(ECMAScript6Parser.java:9196)
      3. org.netbeans.modules.javascript2.editor.model.Model.getModelVisitor(Model.java:182)
      4. org.netbeans.modules.javascript2.editor.model.Model.getGlobalObject(Model.java:506)
      5. org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:105)
      6. org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:248)
      7. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:296)
      8. org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:246)[catch]
      9. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3210)
      10. org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
      11. org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
      12. org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
      13. org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
      14. org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
      15. org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
      16. org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
      17. org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
      18. org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
      19. org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
      20. org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
      21. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3144)
      22. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2865)
      23. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$500(RepositoryUpdater.java:2157)
      24. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2639)
      25. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2637)
      26. org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:565)
      27. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2637)
      28. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5705)
      29. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5613)
      30. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2130)
      30 frames
    12. org.openide.util
      Lookups.executeWith
      1. org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
      1 frame
    13. org.netbeans.modules
      RepositoryUpdater$Task$2$1.run
      1. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2126)
      2. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2107)
      3. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1200(RepositoryUpdater.java:157)
      4. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5740)
      5. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5410)
      6. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5028)
      7. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3410)
      8. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6174)
      9. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5825)
      10. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6090)
      10 frames
    14. org.openide.util
      Lookups.executeWith
      1. org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
      1 frame
    15. org.netbeans.modules
      RepositoryUpdater$Task.run
      1. org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:106)
      2. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6086)
      3. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6082)
      4. org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
      5. org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
      6. org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
      7. org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
      8. org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6082)
      8 frames
    16. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    17. org.openide.util
      RequestProcessor$Task.run
      1. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
      1 frame
    18. org.netbeans.modules
      GlobalLookup.execute
      1. org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
      1 frame
    19. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
      2. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
      2 frames