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.
build 200709180000, UML 1.2 installed from update center: Having created an empty UML project and an empty state diagram in there, right-clicking anything (empty background, state, ...) in there ends up with an NPE being thrown. stacktrace from log/messages: SCHWERWIEGEND [global] java.lang.NullPointerException at org.netbeans.modules.uml.codegen.action.GenerateCodeAction.enable(GenerateCodeAction.java:416) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:180) at org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl.addAddinMenus(ADDrawingAreaControl.java:10032) at org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl.menuAboutToShow(ADDrawingAreaControl.java:9996) at org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl.showPopupMenu(ADDrawingAreaControl.java:9760) at org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl.access$1600(ADDrawingAreaControl.java:358) at org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl$MouseHandler.mousePressed(ADDrawingAreaControl.java:9867) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.Component.processMouseEvent(Component.java:6035) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
*** Issue 118500 has been marked as a duplicate of this issue. ***
*** Issue 115848 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE 6.0 RC1 (Build 200711110000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22.10.tex1, i386 User Comments: I've created a new class diagram with uml plugin in netbeans 6.0 RC1 , then created a new class object, right click to add attributes and nothing happens but nullpointerexception :(
Created attachment 53136 [details] stacktrace
Build: NetBeans IDE 6.0 RC1 (Build 200711110000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22.10.tex1, i386 User Comments: I've created a new Class Diagram with uml plugin in netbeans 6.0 RC1, then created a new Class object , right click to add attributes and nothing happens but nullpointerexception :( I'm using netbeans under pclinux os 2007 with the latest updates, and jdk 1.6.0_03.
Created attachment 53137 [details] stacktrace
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.13-15-smp, i386 User Comments: Just messing around, trying to generate a UML use case diagram.
Created attachment 53706 [details] stacktrace
This issue has already 10 duplicates
Removing obsolete assignments. Bugs will be reassigned for M2.
not reproducible in NB 6.5 latest builds.
verified in latest 6.5 build 20080616.
works for me in 20080616. thanks.