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 249550 - NullPointerException at com.sun.tools.javac.model.JavacElements.getTypeElement
Summary: NullPointerException at com.sun.tools.javac.model.JavacElements.getTypeElement
Status: RESOLVED DUPLICATE of bug 247790
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 08:39 UTC by jdstroy
Modified: 2015-06-01 07:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214496


Attachments
stacktrace (2.15 KB, text/plain)
2014-12-29 08:39 UTC, jdstroy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jdstroy 2014-12-29 08:39:09 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows Server 2008 R2

User Comments:
jdstroy: Compile source code




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:108)
   at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:61)
   at org.netbeans.modules.j2ee.jpa.verification.rules.entity.IdClassOverridesEqualsAndHashCode.apply(IdClassOverridesEqualsAndHashCode.java:124)
   at sun.reflect.GeneratedMethodAccessor191.invoke(GeneratedMethodAccessor191.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
Comment 1 jdstroy 2014-12-29 08:39:11 UTC
Created attachment 151303 [details]
stacktrace
Comment 2 Dusan Balek 2015-01-02 09:51:24 UTC
'null' value should not be passed as an argument to Elements.getTypeElement(...). Reassigning.
Comment 3 Petr Hejl 2015-06-01 07:13:59 UTC

*** This bug has been marked as a duplicate of bug 247790 ***