Project: aptanastudio
Issue APSTUD-4992: PHP: java.util.ConcurrentModificationException in PDTPHPModuleIndexer$Scope.getVariables()
{code} !ENTRY com.aptana.editor.php 4 0 2012-06-27 16:01:07.971 !MESSAGE (Build 3.1.3.201205292243) [ERROR] Error while indexing module - /osisko/wp-content/themes/osisko/functions-wp-admin.php !STACK 0 java.util.ConcurrentModificationException java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) java.util.HashMap$KeyIterator.next(HashMap.java:828) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$Scope.getVariables(PDTPHPModuleIndexer.java:697) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$Scope.getVariables(PDTPHPModuleIndexer.java:659) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.reportStack(PDTPHPModuleIndexer.java:3100) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.endVisitScopeNode(PDTPHPModuleIndexer.java:2258) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.endVisit(PDTPHPModuleIndexer.java:2043) org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:93) org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285) org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.childrenAccept(FunctionDeclaration.java:109) org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.accept0(FunctionDeclaration.java:98) org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285) org2.eclipse.php.internal.core.ast.nodes.Program.childrenAccept(Program.java:203) org2.eclipse.php.internal.core.ast.nodes.Program.accept0(Program.java:196) org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285) com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:3806) com.aptana.editor.php.internal.contentAssist.mapping.PHPOffsetMapper.getIndex(PHPOffsetMapper.java:444) com.aptana.editor.php.internal.contentAssist.mapping.PHPOffsetMapper.collectEntries(PHPOffsetMapper.java:213) com.aptana.editor.php.internal.contentAssist.mapping.PHPOffsetMapper.findEntry(PHPOffsetMapper.java:91) com.aptana.editor.php.internal.ui.hover.PHPTextHover.getPHPElementsAt(PHPTextHover.java:187) com.aptana.editor.php.internal.ui.hover.PHPTextHover.getHoverInfo2(PHPTextHover.java:155) com.aptana.editor.common.CommonSourceViewerConfiguration$TextHover.getHoverInfo2(CommonSourceViewerConfiguration.java:674) org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166){code}
Story points: 8