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 258453 - NullPointerException at org.netbeans.jpa.source.JavaSourceParserUtil.isFieldAccess
Summary: NullPointerException at org.netbeans.jpa.source.JavaSourceParserUtil.isFieldA...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: gaurav_gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-21 01:17 UTC by alied
Modified: 2016-03-22 05:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223112


Attachments
stacktrace (2.18 KB, text/plain)
2016-03-21 01:17 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2016-03-21 01:17:42 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Linux

User Comments:
alied: just updated jpa modeler




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.jpa.source.JavaSourceParserUtil.isFieldAccess(JavaSourceParserUtil.java:99)
   at org.netbeans.jpa.modeler.jcre.wizard.JPAModelGenerator$1.run(JPAModelGenerator.java:46)
   at org.netbeans.jpa.modeler.jcre.wizard.JPAModelGenerator$1.run(JPAModelGenerator.java:39)
   at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:83)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:380)
Comment 1 alied 2016-03-21 01:17:44 UTC
Created attachment 158937 [details]
stacktrace
Comment 2 Jaroslav Havlin 2016-03-21 07:18:59 UTC
Reassigning to owner of plugin JPA Modeler.
Please evaluate this bug. Thank you.
Comment 3 gaurav_gupta 2016-03-21 07:22:17 UTC
Alied could you also attach the source code file.
Comment 4 gaurav_gupta 2016-03-21 08:32:37 UTC
Alied thanks for reporting the bug, I have reproduced it so now don't need to attach source code. And it will be fixed ASAP on priority .

FYI : https://github.com/jGauravGupta/jpamodeler/issues/new
Comment 5 gaurav_gupta 2016-03-22 05:19:36 UTC
Issue fixed.
Please download new patch v1.5.2 http://plugins.netbeans.org/download/plugin/4622

Fix Description (reason for this issue ) : There may some java files are missing on classpath but referenced in JPA Diagram. 
So now it will show proper warning message and provides the option to resolve this conflict.