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 137507 - Unable to modify qualifier name, npe thrown
Summary: Unable to modify qualifier name, npe thrown
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 23:15 UTC by Joanne Lau
Modified: 2008-07-16 00:33 UTC (History)
0 users

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 Joanne Lau 2008-06-17 23:15:46 UTC
Build: 080617

- Create 2 classes 
- Add an aggregation link between the 2 classes
- Right click the link -> Add qualifier
  Default qualifier generated 'private int Unnamed'
- Unable to Double click the qualifier to modify the name
- Right click the link again -> Add qualifier

  NPE is thrown

ava.lang.NullPointerException
	at org.netbeans.modules.uml.diagrams.actions.AddQualifierAction.performAction(AddQualifierAction.java:58)
	at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289)
	at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
	at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104)
	at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52)
	at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:102)
	at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:71)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Trey Spiva 2008-07-08 18:12:41 UTC
Both issues where fixed a couple of weeks ago.

You can also right click on the attribute in the qualifier to add and delete qualifier attributes.
Comment 2 Peter Lam 2008-07-16 00:33:01 UTC
verified in build 20080715.