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 213669 - NullPointerException at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate
Summary: NullPointerException at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao....
Status: RESOLVED INCOMPLETE
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 12:10 UTC by Exceptions Reporter
Modified: 2012-06-09 04:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189081


Attachments
stacktrace (1.50 KB, text/plain)
2012-06-06 12:10 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-06 12:10:47 UTC
This bug was originally marked as duplicate of bug 197538, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1.1 (Build 201203012225)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows Vista

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate(EjbFacadeWizardIterator.java:453)
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate(EjbFacadeWizardIterator.java:234)
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.instantiateWProgress(EjbFacadeWizardIterator.java:214)
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.instantiate(EjbFacadeWizardIterator.java:178)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1046)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:617)
Comment 1 Exceptions Reporter 2012-06-06 12:10:54 UTC
Created attachment 120425 [details]
stacktrace
Comment 2 Martin Fousek 2012-06-08 09:43:03 UTC
Jirko, hard to say why the JavaSource was null. It's also possible that it was an issue somewhere in the core. So for now I added better logging which should tell us what happens there and now we need to wait for next report with improved logging information. So targeting to Next release for now.

Better logging in web-main #9d3ce40778ff.
Comment 3 Jiri Skrivanek 2012-06-08 09:48:05 UTC
Resolving as INCOMPLETE and when a new exception appears the exception reporter will reopen it.
Comment 4 Martin Fousek 2012-06-08 10:01:26 UTC
Great, thanks.
Comment 5 Quality Engineering 2012-06-09 04:35:04 UTC
Integrated into 'main-golden', will be available in build *201206090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9d3ce40778ff
User: Martin Fousek <marfous@netbeans.org>
Log: #213669 - NullPointerException at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate