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.
NetBeans IDE Dev (Build 070423) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Linux version 2.6.17-11-generic running on i386 en_US (nb); UTF-8 installer installation 1. new project 2. enterprise -> enterprise application 3. finish java.lang.NullPointerException occurs, after confirm this exception another exception is fired: java.lang.IllegalArgumentException: Project EnterpriseApplication4 is not open and cannot be set as main. 4. ear project is not opened, only ejb and war projects are.. The same error happens when trying to open ear project.
Created attachment 41427 [details] NPE exception
Created attachment 41428 [details] IllegalArgumentException
There was everything ok with build 070419.
I believe this was caused by Peter, assigning to him.
Looking into this.
Ear module version is showing as 5 when it was expecting 5.0. Fixed and a trap put in for any future runtime exceptions to prevent them from blocking open project like this. The code in question actually has been working for a long time, so later today I will find out if the source of the number has changed or fix the numbering schemes so they are not susceptible to this sort of issue. Fixed: http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/SunONEDeploymentConfiguration.java?r1=1.33&r2=1.34
VERIFIED