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.
[#200609220000, jdk1.5.0] Got the following AssertionError from New EE5 EJB Freeform Project Wizard > Finish button. to reproduce: 1) create new EE5 EJB Project 2) close it and restart Nb 3) move nbproject to nbprojectx and rename it in build.xml 4) import it as EE5 EJB Freeform Project IDE throws:
Created attachment 34385 [details] AssertationError
Reproducible with any freeform project without an ejb-jar.xml file.
Same problem in the web freeform, but masked by createClasspath() returning an empty classpath for an empty classpath element. Fixed in release55_dev. http://www.netbeans.org/source/browse/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/EJBModules.java?r1=1.4.2.2.2.6&r2=1.4.2.2.2.6.2.1 http://www.netbeans.org/source/browse/web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java?r1=1.7.8.2.2.5.6.1&r2=1.7.8.2.2.5.6.2
Verified in #200609250300 release55_dev build.
I reviewed the code, looks good to me.
Fixed in release55. http://www.netbeans.org/source/browse/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/EJBModules.java?r1=1.4.2.2.2.6&r2=1.4.2.2.2.7 http://www.netbeans.org/source/browse/web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java?r1=1.7.8.2.2.5&r2=1.7.8.2.2.6
verified in #200609270000 release55 build