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 269582 - NullPointerException: The fieldType parameter cannot be null
Summary: NullPointerException: The fieldType parameter cannot be null
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 13:20 UTC by muellermi
Modified: 2017-01-17 13:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188570


Attachments
stacktrace (2.45 KB, text/plain)
2017-01-17 13:20 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2017-01-17 13:20:56 UTC
Build: NetBeans IDE Dev (Build 201701160001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15
OS: Windows 7

User Comments:
GUEST: trying to generate id for entity

GUEST: Editing entity class

muellermi: create entity id

GUEST: HI, I FOUND THIS ERROR WHILE USING JPA




Stacktrace: 
java.lang.NullPointerException: The fieldType parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createField(GenerationUtils.java:453)
   at org.netbeans.modules.j2ee.jpa.verification.fixes.CreateId$2.run(CreateId.java:212)
   at org.netbeans.modules.j2ee.jpa.verification.fixes.CreateId$2.run(CreateId.java:168)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:668)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:658)
Comment 1 muellermi 2017-01-17 13:20:58 UTC
Created attachment 163412 [details]
stacktrace