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.
Unexpected Exception A java.lang.NullPointerException exception has occurred. This happened while I was installing Netbeans IDE 6.0.1. This version has the bundle Apache Tomcat + GlassFish servers. I am upgrading from Netbeans 5.5.
Created attachment 58650 [details] A java.lang.NullPointerException exception has occurred.
There are several NPEs in the log: java.lang.NullPointerException at org.netbeans.modules.tomcat5.util.TomcatProperties.<init>(TomcatProperties.java:196) at org.netbeans.modules.tomcat5.TomcatManager.<init>(TomcatManager.java:143) at org.netbeans.modules.tomcat5.TomcatFactory.getDeploymentManager(TomcatFactory.java:205) at org.netbeans.modules.tomcat5.TomcatFactory.getDisconnectedDeploymentManager(TomcatFactory.java:218) .... java.lang.NullPointerException: Null Server InstanceProperties at org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.getDeploymentManager(SunONEDeploymentConfiguration.java:784) at org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.getResourceConfigurator(SunONEDeploymentConfiguration.java:766) at org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.getDatasources(SunONEDeploymentConfiguration.java:1669) ... java.lang.NullPointerException at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.checkUpdateElements(AutoupdateCheckScheduler.java:189) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.access$300(AutoupdateCheckScheduler.java:77) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4.run(AutoupdateCheckScheduler.java:148) ... If I am not mistaken, the last one is already known and seems to be fixed in 6.1 Beta. The first two correspond to tomcat/glassfish properties, likely setting import was done incorrectly. Reassigning.
java.lang.NullPointerException at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.checkUpdateElements(AutoupdateCheckScheduler.java:189) is being tracked as issue 121289. Fixed already. Reassigning to tomcat module. Upgrade s responsible for copying the settings. Every module is responsible for processing the settings...
There is no exception presented to the user, just a message in the ide log. Everything works fine. I don't think user really want to use/control the tomcat bundled in the previous ide from the new environment (it don't have to exist anymore).
From previous comments, looks like the issue is longer needs a fix.