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 140456 - ConcurrentModificationException in UML options
Summary: ConcurrentModificationException in UML options
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 08:39 UTC by Sergey Petrov
Modified: 2008-10-04 01:21 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 Sergey Petrov 2008-07-17 08:39:27 UTC
got it only once for now, so may be it';s a p3, but may be p2 also.
it looks like partition widget trigger relationship discovery on addition.

java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
	at java.util.HashMap$KeyIterator.next(HashMap.java:877)
	at org.netbeans.api.visual.widget.Scene.validate(Scene.java:395)
	at org.netbeans.modules.uml.diagrams.UMLRelationshipDiscovery.discoverCommonRelations(UMLRelationshipDiscovery.java:239)
	at
org.netbeans.modules.uml.diagrams.nodes.activity.ActivityPartitionWidget$MainViewWidget.notifyAdded(ActivityPartitionWidget.java:511)
	at org.netbeans.api.visual.widget.Widget.dispatchNotifyAddedCore(Widget.java:330)
	at org.netbeans.api.visual.widget.Widget.dispatchNotifyAddedCore(Widget.java:332)
	at org.netbeans.api.visual.widget.Widget.dispatchNotifyAddedCore(Widget.java:332)
	at org.netbeans.api.visual.widget.Scene.setViewShowing(Scene.java:173)
	at org.netbeans.api.visual.widget.SceneComponent.addNotify(SceneComponent.java:87)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addImpl(Container.java:1052)
	at java.awt.Container.add(Container.java:899)
	at org.netbeans.modules.options.OptionsPanel.setCurrentCategory(OptionsPanel.java:168)
	at org.netbeans.modules.options.OptionsPanel.access$100(OptionsPanel.java:85)
	at org.netbeans.modules.options.OptionsPanel$CategoryButton.mouseReleased(OptionsPanel.java:502)
	at java.awt.Component.processMouseEvent(Component.java:5517)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
	at java.awt.Component.processEvent(Component.java:5282)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3984)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3819)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1791)
	at java.awt.Component.dispatchEvent(Component.java:3819)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Sergey Petrov 2008-07-17 08:53:12 UTC
looks like partition node is the only one using rel discovery in internal logic (notifyAdded) aaccording to usage search
results of corresponding method.
Comment 2 Sergey Petrov 2008-09-01 08:30:40 UTC
issue wasn't reproducible any more, so may not be reproducible at all now
Comment 3 Peter Lam 2008-10-04 01:21:08 UTC
verified in build 20081003. no longer reproducible.