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.

Bug 66484 - Change the Server Application
Summary: Change the Server Application
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-10-11 14:01 UTC by didoblu
Modified: 2006-08-10 14:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description didoblu 2005-10-11 14:01:05 UTC
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)
Comment 1 Sherold Dev 2005-10-12 15:26:29 UTC
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?
Comment 2 didoblu 2005-10-12 18:46:11 UTC
Sorry, but I deleted this file when I re-instaled the NetBeans.
Comment 3 Petr Blaha 2006-03-13 13:51:01 UTC
TM 5.0 -> TBD
Comment 4 Sherold Dev 2006-07-26 13:38:09 UTC
tm -> 5.5
Comment 5 Sherold Dev 2006-08-10 14:57:26 UTC
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.