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.
If you try to change the port number tomcat listens to within either the properties dialog or directly tomcat ide will not get the startup status back from tomcat. After startup you will not be able to show properties and when restarting everything both tomcat and the netbeans you will get a null ptr exception. This was also a problem in rc2. The only way I managed to get control over tomcat again (from netbeans) was reinstalling the ide.
Created attachment 28706 [details] Nullpointer exception when restarting ide after changeing tomcat listen port.
Created attachment 28707 [details] server xml when having null ptr...
Could you please write more specific steps to reproduce? I'm not able to reproduce it any possible way in NB5.0 FCS on Bundled Tomcat.
The problem does not seem to be in the tomcat module, but rather in the j2seplatform. Reassigning for evaluation.
The report contains two probably independent bugs, the tomcat part and the NPE from J2SEPlatformInstall. The NPE is already fixed in the NB 5.5 and trunk. The problem with changing port number is in the tomcatint module.
I cannot reproduce the Tomcat port problem, it seems that it was caused by the J2SEPlatformInstall bug. Closing as WORKSFORME.
Still there in latest version of today.
I still cannot reproduce it. Can you please describe the problem again? The exception you are talking about should be fixed and thus the description seems to be obsolete. Did you try to clean your NetBeans user directory?
Closing as WORKSFORME If you think the problem still exists file a new issue with proper description, the current one is obsolete as mentioned above. The issue is not well readable anymore.