This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 6063 - ConcurrentModificationException from parser.
Summary: ConcurrentModificationException from parser.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-03-29 21:01 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-03-29 21:01:32 UTC
I do not know how to reproduce this; it did not have any obvious effect except the stack trace. This in 1009 under NT/1.3.

Exception occurred in request processor:
java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:535)
        at java.util.LinkedList$ListItr.next(LinkedList.java:476)
        at com.netbeans.developer.modules.loaders.java.ElementsCollection$Initializer.updateContent(ElementsCollection.java:288)
        at com.netbeans.developer.modules.loaders.java.ClassElementImpl.updateImpl(ClassElementImpl.java:89)
        at com.netbeans.developer.modules.loaders.java.ElementsCollection$Class.updateContent(ElementsCollection.java:767)
        at com.netbeans.developer.modules.loaders.java.SourceElementImpl$DataRef.doIt(SourceElementImpl.java:923)
        at com.netbeans.developer.modules.loaders.java.SourceElementImpl$DataRef.run(SourceElementImpl.java:830)
        at org.openide.util.Task.run(Task.java:123)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:564)

[Svata] It seems as if source was changed through OpenAPIs at the same time the parser was refreshing the hierarchy from the underlying text.
Programmatic access to element collections has never been properly synchronized; it is already on my `todo` list.
Comment 1 Marek Grummich 2000-07-25 09:20:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 17:17:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.