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 - NullPointerException at java.util.TreeMap.put
Summary: NullPointerException at java.util.TreeMap.put
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 16:09 UTC by reignier
Modified: 2016-06-01 13:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220583


Attachments
stacktrace (3.06 KB, text/plain)
2015-10-16 16:09 UTC, reignier
Details
The schema provoquing the Null Pointer Exception (19.17 KB, application/octet-stream)
2015-10-19 11:48 UTC, reignier
Details

Note You need to log in before you can comment on or make changes to this bug.
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