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.
One of my automated tests does nothing that opens web project and runs it. I always got exception during starting of Tomcat. It happened because FileObject of newly created catalina basedir was always null. I found out that parent FileObject of newly created catalina basedir has to be refreshed. Strange is that the problem never occurred when I did it manually. I am attaching proposed patch.
Created attachment 15401 [details] Exception
Created attachment 15402 [details] Proposed patch
Now I was able to reproduce it also manually. Please fix it ASAP. It blocks my development of automated tests.
I think the patch looks ok, I'll apply it.
Applied: http://tomcatint.netbeans.org/source/browse/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java.diff?r1=1.40&r2=1.41
Verified