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 232465 - NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.guessField
Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.jpacontr...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.2
Hardware: All All
: P4 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 18:57 UTC by sony3002
Modified: 2015-02-04 03:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193811


Attachments
stacktrace (3.96 KB, text/plain)
2013-07-09 18:57 UTC, sony3002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sony3002 2013-07-09 18:57:34 UTC
This issue was reported manually by sony3002.
It already has 1 duplicates 


Build: NetBeans Platform Dev (Build 201209240001)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
sony3002: generating controler classes from entity classes, using new -->persistance wizard




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.guessField(JpaControllerUtil.java:581)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.isRelationship(JpaControllerUtil.java:314)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator$4.run(JpaControllerGenerator.java:408)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator$4.run(JpaControllerGenerator.java:290)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:644)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:634)
Comment 1 sony3002 2013-07-09 18:57:38 UTC
Created attachment 136895 [details]
stacktrace
Comment 2 Sergey Petrov 2013-07-09 20:00:58 UTC
It's nice if you can provide sample entity class source code, thanks.
Comment 3 Sergey Petrov 2013-07-11 13:00:38 UTC
it's either 7.2 or 7.3 issue(build 201209.., reported once, without additional details, set to P4 to collect more cases or get more details later.
Comment 4 Quality Engineering 2015-02-04 03:29:51 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.