Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3199

ConcurrentModificationException in MemoryIndex.addQueryResults()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0.7
    • Component/s: Editor
    • Labels:
      None

      Description

      Found in a developer's log file. Marking as a blocker until we know it's benign:

      !ENTRY com.aptana.editor.js 4 0 2011-08-04 10:10:55.126\
      !MESSAGE (Build 3.0.3.1311981533) [ERROR]  null\
      !STACK 0\
      java.util.ConcurrentModificationException\
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)\
      	at java.util.HashMap$EntryIterator.next(HashMap.java:834)\
      	at java.util.HashMap$EntryIterator.next(HashMap.java:832)\
      	at com.aptana.internal.index.core.MemoryIndex.addQueryResults(MemoryIndex.java:112)\
      	at com.aptana.index.core.Index.query(Index.java:503)\
      	at com.aptana.editor.js.contentassist.index.JSIndexReader.getProperty(JSIndexReader.java:349)\
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getProperty(JSIndexQueryHelper.java:356)\
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getMember(JSIndexQueryHelper.java:220)\
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getGlobal(JSIndexQueryHelper.java:151)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:626)\
      	at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:542)\
      	at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:542)\
      	at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:658)\
      	at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.addTypes(JSNodeTypeInferrer.java:158)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:303)\
      	at com.aptana.editor.js.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:519)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:620)\
      	at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:542)\
      	at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:658)\
      	at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.addTypes(JSNodeTypeInferrer.java:158)\
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:303)\
      	at com.aptana.editor.js.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)\
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:519)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370)\
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:281)\
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:214)\
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116)\
      	at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139)\
      	at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423)\
      	at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100)\
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                ingo Ingo Muschenetz
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code