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 255975

Summary: NullPointerException at java.util.TreeMap.put
Product: third-party Reporter: reignier
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: phejl, reignier
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220583
Attachments: stacktrace
The schema provoquing the Null Pointer Exception

Description reignier 2015-10-16 16:09:41 UTC
This issue was reported manually by reignier.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411102027)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: The jpa code generation on this diagram is generating a velocity exception when compiling User

reignier: NullPointer Exception during code generation on my JPA Diagram




Stacktrace: 
java.lang.NullPointerException
   at java.util.TreeMap.put(TreeMap.java:563)
   at java.util.TreeSet.add(TreeSet.java:255)
   at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
   at java.util.TreeSet.addAll(TreeSet.java:312)
   at org.netbeans.orm.converter.compiler.ClassDefSnippet.getImportSnippets(ClassDefSnippet.java:379)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
Comment 1 reignier 2015-10-16 16:09:42 UTC
Created attachment 156760 [details]
stacktrace
Comment 2 Jiri Kovalsky 2015-10-19 08:12:12 UTC
Reassigned for further evaluation.
Comment 3 reignier 2015-10-19 11:48:59 UTC
Created attachment 156797 [details]
The schema provoquing the Null Pointer Exception