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 242652 - NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.EntityAssociationResolver$2.run
Summary: NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.EntityAssoc...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-07 10:07 UTC by ckoebke
Modified: 2014-07-26 01:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208231


Attachments
stacktrace (2.43 KB, text/plain)
2014-03-07 10:07 UTC, ckoebke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ckoebke 2014-03-07 10:07:14 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
ckoebke: - Refactored a method
- Window did not close and the "Refactor" button was not disabled
- Clicked "Refactor" again, -> Exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.jpa.refactoring.EntityAssociationResolver$2.run(EntityAssociationResolver.java:232)
   at org.netbeans.modules.j2ee.jpa.refactoring.EntityAssociationResolver$2.run(EntityAssociationResolver.java:201)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:493)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:593)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:139)
Comment 1 ckoebke 2014-03-07 10:07:16 UTC
Created attachment 145835 [details]
stacktrace
Comment 2 Sergey Petrov 2014-07-25 12:43:56 UTC
http://hg.netbeans.org/web-main/rev/fd81ebe861d3
Comment 3 Quality Engineering 2014-07-26 01:23:43 UTC
Integrated into 'main-silver', will be available in build *201407260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fd81ebe861d3
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #242652 null check