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 80977 - IndexOutOfBoundsException when collapse 'Part end' property of Aggregation link
Summary: IndexOutOfBoundsException when collapse 'Part end' property of Aggregation link
Status: RESOLVED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Properties (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 14:37 UTC by bugbridge
Modified: 2007-08-01 23:08 UTC (History)
1 user (show)

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 bugbridge 2006-07-24 14:37:25 UTC
Original submitter: sunflower

Description:

Steps to reproduce:

- Create a java project
- Create a uml project and associate it  to the java project
- Create a class diagram
- Create 'Class1' and 'Class2'classes
- Add 'Navigable Aggregation' link between 'Class1' and 'Class2'classes
- Select added 'Navigable Aggregation' link
- Go to the link properties panel
- Expand / collapse 'Part End' record on the properties panel
  of the 'Navigable Aggregation'

Next exception pops up:



java.lang.IndexOutOfBoundsException: Index: 51, Size: 49
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.remove(ArrayList.java:390)
	at
org.openide.explorer.propertysheet.PropertySetModelImpl.toggleExpanded(PropertySetModelImpl.java:296)
	at
org.openide.explorer.propertysheet.SheetTable.toggleExpanded(SheetTable.java:1099)
	at
org.openide.explorer.propertysheet.SheetTable.maybeToggleExpanded(SheetTable.java:1087)
	at org.openide.explorer.propertysheet.SheetTable.editCellAt(SheetTable.java:981)
	at
javax.swing.plaf.basic.BasicTableUI$Handler.adjustFocusAndSelection(BasicTableUI.java:922)
	at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:889)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.Component.processMouseEvent(Component.java:5485)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at
org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:696)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	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 Yang Su 2006-12-06 21:30:49 UTC
I see similar issue when expanding/collapsing associated elements/diagrams
properties.
Comment 2 Peter Lam 2007-03-20 20:23:51 UTC
low use case not currently impacting our installed user base.
Comment 3 Thuy.d Nguyen 2007-08-01 23:08:26 UTC
Could not reproduce the exception with the latest code.   If you see the issue again, please reopent.