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 72001 - NPE when invoke New persistence unit wizard
Summary: NPE when invoke New persistence unit wizard
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 09:28 UTC by Petr Blaha
Modified: 2006-05-31 17:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (5.82 KB, text/plain)
2006-01-30 09:32 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2006-01-30 09:28:56 UTC
[build 20060129]
Steps:
1) create j2SE application
2) select project node in project tab
3) New File - Persistence Unit
4) click next
ERROR: 
java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.persistence.wizard.unit.ProviderUtil.getContainerManagedProvider(ProviderUtil.java:216)
Comment 1 Petr Blaha 2006-01-30 09:32:05 UTC
Created attachment 28639 [details]
stack trace
Comment 2 Erno Mononen 2006-01-30 09:32:45 UTC
I'm working on this.
Comment 3 Erno Mononen 2006-01-30 10:16:18 UTC
Fixed in the javaee5 branch. 

Checking in ProviderUtil.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/
Attic/ProviderUtil.java,v  <--  ProviderUtil.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
Comment 4 Petr Blaha 2006-01-31 08:41:28 UTC
build 20060130