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.5.1 (Build 200903060201) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: puppala: I tried to open an old project for building en EJB jar. The project was created using previous version of NB (in April 2008). Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil.writefile(ConfigUtil.java:76) at org.netbeans.modules.j2ee.weblogic9.config.EjbDeploymentConfiguration.getWeblogicEjbJar(EjbDeploymentConfiguration.java:111) at org.netbeans.modules.j2ee.weblogic9.config.EjbDeploymentConfiguration.<init>(EjbDeploymentConfiguration.java:80) at org.netbeans.modules.j2ee.weblogic9.config.WLModuleConfigurationFactory.create(WLModuleConfigurationFactory.java:64) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getModuleConfiguration(ConfigSupportImpl.java:707) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.ensureConfigurationReady(ConfigSupportImpl.java:216)
Created attachment 78821 [details] stacktrace
I noticed, that I had changed the drive letter referring to the files in Clear Case for this project. When I changed it back, the problem disappeared !? But anyway, this sort of problem in the projects environment shouldn't cause NullPointerException to be thrown ... ;-)
It should not happen anymore. web-main e9b25365ae0a
Integrated into 'main-golden', will be available in build *201102090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e9b25365ae0a User: Petr Hejl <phejl@netbeans.org> Log: #161140 NullPointerException at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil.writefile