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 129440 - NullPointerException at org.netbeans.modules.j2ee.persistence.unit.PersistenceUnitPanel.setSelectedConnection
Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.unit.Persistenc...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 16:57 UTC by thealchemist
Modified: 2008-03-10 10:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 34015


Attachments
stacktrace (2.95 KB, text/plain)
2008-03-06 16:57 UTC, thealchemist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thealchemist 2008-03-06 16:57:21 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 thealchemist 2008-03-06 16:57:25 UTC
Created attachment 57902 [details]
stacktrace
Comment 2 Andrei Badea 2008-03-10 10:47:47 UTC
Reproducible with a persistence.xml where a property has no name attribute, e.g.,

<property value="jdbc:mysql://localhost:3306/test"/>
Comment 3 Andrei Badea 2008-03-10 10:48:13 UTC
Fixed in 75c2c729d376.