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 135954 - creating comment from element's context palette popped up NPE
Summary: creating comment from element's context palette popped up NPE
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-05-28 07:45 UTC by Peter Lam
Modified: 2008-06-24 01:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
usecase diagram (14.57 KB, image/png)
2008-05-28 07:46 UTC, Peter Lam
Details
ide log file (38.56 KB, text/plain)
2008-05-28 07:46 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-05-28 07:45:42 UTC
build 20080526

- create a use case diagram
- DnD a use case or actor to the diagram
- select the actor or use case element
- drag the comment icon from the context palette to an empty diagram area
Result: NPE popped up and created link with arrow head pointing to no where in the diagram area. See attached screenshot
and ide log file for complete NPE stack trace.
Comment 1 Peter Lam 2008-05-28 07:46:21 UTC
Created attachment 62032 [details]
usecase diagram
Comment 2 Peter Lam 2008-05-28 07:46:55 UTC
Created attachment 62033 [details]
ide log file
Comment 3 Peter Lam 2008-05-28 07:53:43 UTC
Actually this is from other elements in other diagram types as well, eg, class element.
Comment 4 Trey Spiva 2008-06-03 14:00:03 UTC
fixed

http://hg.netbeans.org/uml-main/rev/88b8a623816a
Comment 5 Peter Lam 2008-06-24 01:31:33 UTC
verified in build 20080622