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.
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)
I see similar issue when expanding/collapsing associated elements/diagrams properties.
low use case not currently impacting our installed user base.
Could not reproduce the exception with the latest code. If you see the issue again, please reopent.