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.
I reverse engineered a UML project from an existing project created with NetBeans 5.0. I created a new class diagram and added a few classes to it. I then added a package element for one of the classes and moved a class into this package element (the class was already in this package in the original source). I moved the class to the lower-right corner of the package box so it was partially out of the package (trying to get rid of the Nested Link icon) and got the following exception: java.lang.NullPointerException at com.tomsawyer.editor.ui.TSEEdgeUI.drawBendOutlines(DashoA9*..) at com.tomsawyer.editor.ui.TSEEdgeUI.drawBendOutlines(DashoA9*..) at com.tomsawyer.editor.tool.TSEMoveSelectedTool.paint(DashoA9*..) at com.tomsawyer.editor.TSEInnerCanvas.paintComponent(DashoA9*..) at javax.swing.JComponent.paint(JComponent.java:1005) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916) at javax.swing.JComponent._paintImmediately(JComponent.java:4859) at javax.swing.JComponent.paintImmediately(JComponent.java:4666) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) [catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) 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)
Created attachment 29828 [details] messages.log
no longer reproducible with the final version of NB 5.5.
verified