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

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: EJBAssignee: Martin Fousek <marfous>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: jskrivanek
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189081
Attachments: stacktrace

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