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 251204 - NullPointerException at org.uml.code.ClassDiagramCodeGenerator.generateCode
Summary: NullPointerException at org.uml.code.ClassDiagramCodeGenerator.generateCode
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-16 10:57 UTC by jiai
Modified: 2015-03-16 10:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 211383


Attachments
stacktrace (3.35 KB, text/plain)
2015-03-16 10:57 UTC, jiai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jiai 2015-03-16 10:57:34 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
jiai: While editing a JPA class.

GUEST: Build operation

GUEST: simply go to source option and you can see that generate code is enabled, even thought there is nothing to generate.




Stacktrace: 
java.lang.NullPointerException
   at org.uml.code.ClassDiagramCodeGenerator.generateCode(ClassDiagramCodeGenerator.java:76)
   at org.uml.code.GenerateCodeAction.actionPerformed(GenerateCodeAction.java:33)
   at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
   at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
Comment 1 jiai 2015-03-16 10:57:36 UTC
Created attachment 152644 [details]
stacktrace