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.
I configures the JBoss server and deploy my application. After uses the JBoss I need change the server for the Tomcat again. When I change the server of the Jboss to Tomcat in the project's properties this exception occur. *********** Exception occurred ************ at 9:56 AM on Oct 11, 2005 java.lang.NullPointerException at org.netbeans.modules.tomcat5.WebappConfiguration.modifyContext (WebappConfiguration.java:396) at org.netbeans.modules.tomcat5.WebappConfiguration.setContextPath (WebappConfiguration.java:163) at org.netbeans.modules.tomcat5.ide.ConfigurationSupportImpl.setWebContextRoot (ConfigurationSupportImpl.java:52) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.setWebContextRoot (ConfigSupportImpl.java:219) at org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.fireServe rChange(J2eeModuleProvider.java:311) at org.netbeans.modules.web.project.ProjectWebModule.propertyChange (ProjectWebModule.java:389) at org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.s tateChanged(PropertyUtils.java:816) at org.openide.util.WeakListenerImpl$Change.stateChanged (WeakListenerImpl.java:278) at org.netbeans.spi.project.support.ant.ProjectProperties$3.run (ProjectProperties.java:308) at org.openide.util.Mutex.readAccess(Mutex.java:195) at org.netbeans.spi.project.support.ant.ProjectProperties$PP.fireChange (ProjectProperties.java:315) at org.netbeans.spi.project.support.ant.ProjectProperties$PP.put (ProjectProperties.java:186) at org.netbeans.spi.project.support.ant.ProjectProperties.putProperties (ProjectProperties.java:99) at org.netbeans.spi.project.support.ant.AntProjectHelper$9.run (AntProjectHelper.java:643) at org.openide.util.Mutex.writeAccess(Mutex.java:288) at org.netbeans.spi.project.support.ant.AntProjectHelper.putProperties (AntProjectHelper.java:641) at org.netbeans.modules.web.project.UpdateHelper$2.run (UpdateHelper.java:126) at org.openide.util.Mutex.writeAccess(Mutex.java:352) at org.netbeans.modules.web.project.UpdateHelper.putProperties (UpdateHelper.java:122) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.storePropert ies(WebProjectProperties.java:484) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.access$100 (WebProjectProperties.java:67) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$2.run (WebProjectProperties.java:340) at org.openide.util.Mutex.writeAccess(Mutex.java:324) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.save (WebProjectProperties.java:338) at org.netbeans.modules.web.project.ui.customizer.CustomizerProviderImpl$OptionList ener.actionPerformed(CustomizerProviderImpl.java:293) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerform ed(CustomizerDialog.java:134) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I can't reproduce this issue, it seems to be random -> taking down to p3. Can you please attach your <NB_USER_DIR>/var/log/message.log? Does the exception has any farther consequences that would prevent you from working with the IDE?
Sorry, but I deleted this file when I re-instaled the NetBeans.
TM 5.0 -> TBD
tm -> 5.5
I cannot reproduce this issue nor it is obviouse from the code what might be wrong. Closing as WORKSFORME. Please reopen this issue if it occurs again and attach the IDE message log.