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.
When I try to start a web app in netbeans I get a message in the Deployment Progress Monitor window saying "Deployment error: failed to lookup configuration for Tomcat5 in . See ide log for details". Tomcat starts regularly (I can use the Tomcat web application manager) but netbeans fails to deploy the app. The ide.log file shows that during startup the ide throws twice a sequence of javax.enterprise.deploy.spi.exceptions.Configurati onException followed by a NullPointerException and a RuntimeException. The same sequence of exceptions happens again trying to start a web- app. It looks like nb does'n know where to look for some kind of configuration.
Created attachment 15025 [details] ide.log after trying to start the web-app once
*** Issue 43404 has been marked as a duplicate of this issue. ***
*** Issue 45538 has been marked as a duplicate of this issue. ***
*** Issue 43335 has been marked as a duplicate of this issue. ***
*** Issue 44729 has been marked as a duplicate of this issue. ***
Any hints for reproducing this issue? Has it been reproduced in promoD/trunk code base? Does it happen only with some type of applications? Any additional info would be really appreciated. I cannot reproduce it.
I can only say that it is happening for me too. Steps to reproduce: 1. mount my existing CVS checkout of our application. 2. mount my existing CVS checkout of our application, but this the root is where the Java sources are. Other "Alt-Shift-O" find class does not work. It finds class but when you click on it says can find not on the filesystems. 3. Open project tab and click on the mounted filesystem. 4. hit F6 and watch the error message. I'm going to attach my .netbeans tarfile and web.xml that is our app WEB-INF . Radek
Created attachment 16420 [details] Web.xml from our app.
Created attachment 16421 [details] ide.log showing the error.
I'm sorry, but I can not upload promised .netbeans folder. It is 1.1 MB. Please let me know, I can probably split. I have at least uploaded my ide.log file.
reevaluate please ...
Radek, is there a file context.xml in your module? Is there META-INF/ folder next to WEB-INF/ folder? Is the module folder R/O? Also, in nb36 try to look at WEB-INF node. Does it show Context Path property with an non-empty value? Have you seen the same problem on other web modules? I think it is likely to be connected with a web module not with usedir. Thanks.
*** Issue 47218 has been marked as a duplicate of this issue. ***
Looking at this again I recollect that I was able to reproduce this NPE shortly when there was an error in DDProvider (fixed the next day after that). The NPE is caused by null standard DD bean. Since there were changes in DDProvider and I have not seen any reports of this exception lately (and I asked for info here) I am provisionally closing this issue as fixed. If seen again reopen it (preferably with some useful data :-).
VERIFIED