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 193507 - NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator.generateJpaController
Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.jpacontr...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2010-12-16 16:52 UTC by Sergey Petrov
Modified: 2012-04-21 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175080


Attachments
stacktrace (1.70 KB, text/plain)
2010-12-16 16:52 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2010-12-16 16:52:39 UTC
Build: NetBeans IDE Dev (Build 101215-e57f24a02c7b)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
sj-nb: just got it, I see controller code in project tree




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator.generateJpaController(JpaControllerGenerator.java:263)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator.generateJpaController(JpaControllerGenerator.java:168)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerIterator.generateJpaControllers(JpaControllerIterator.java:255)
   at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerIterator$1.run(JpaControllerIterator.java:129)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Sergey Petrov 2010-12-16 16:52:44 UTC
Created attachment 104165 [details]
stacktrace
Comment 2 Sergey Petrov 2011-03-23 15:04:53 UTC
may have almost the same cause as issue https://netbeans.org/bugzilla/show_bug.cgi?id=195642. may be some malfunction in scanning/external changes detection etc.
Comment 3 Sergey Petrov 2012-04-20 10:55:54 UTC
http://hg.netbeans.org/web-main/rev/af45951feeb9
Comment 4 Quality Engineering 2012-04-21 09:58:12 UTC
Integrated into 'main-golden', will be available in build *201204210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/af45951feeb9
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #193507 one more npe check/refresh and reuse refresh from 195642  also