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 74985 - NPE while moving class in package on class diagram
Summary: NPE while moving class in package on class diagram
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 02:56 UTC by chippydip
Modified: 2007-02-19 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (25.81 KB, text/plain)
2006-04-13 02:59 UTC, chippydip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chippydip 2006-04-13 02:56:49 UTC
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)
Comment 1 chippydip 2006-04-13 02:59:58 UTC
Created attachment 29828 [details]
messages.log
Comment 2 Peter Lam 2007-01-26 23:06:00 UTC
no longer reproducible with the final version of NB 5.5.
Comment 3 Alexandr Scherbatiy 2007-02-19 14:42:31 UTC
verified