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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.30-2-686-bigmem, i386 User Comments: wvreeven: I am creating a Maven Web Application. When I try to add a Persistence Unit, the NPE occurs. GUEST: trying to create entity classes from a db shema GUEST: trying to generate Entity classes from a Database Stacktrace: java.lang.NullPointerException at org.netbeans.modules.glassfish.javaee.db.DriverMaps.getUrlPrefix(DriverMaps.java:108) at org.netbeans.modules.glassfish.javaee.db.DbUtil.normalizePoolMap(DbUtil.java:119) at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager$ConnectionPool.normalize(Hk2DatasourceManager.java:290) at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.readDatasources(Hk2DatasourceManager.java:199) at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.getDatasources(Hk2DatasourceManager.java:105) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDatasources(ServerInstance.java:693)
Created attachment 93213 [details] stacktrace
Integrated into 'main-golden', will be available in build *201003050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d0f90bc833b2 User: Vince Kraemer <vkraemer@netbeans.org> Log: #179409: prevent an NPE
in the trunk