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.
[20040113] 1) convert a local filesystem into webmodule 2) execute it 3) click on the /META-INF/context.xml node You will get an undeclared throwable exception caused by a CCE (attached)
Created attachment 12880 [details] The exception stack
I've seen this before but cannot reproduce it any more. If you have a recepie for it please be -exact-.
I used to see this one quite often but recently it seems the problem is gone. Feel free to close this bug, we may open it if the problem appears again.
oops - a typo!
probably fixed as a side effect of some other fix
I have encountered the damned bug again today. New clear userdir, new webmodule ... still cannot reproduce on 100% :-( .reopening.
[20040210] Now I can see the some exception when clicking on root of a webmodule filesystem. Should be fixed in nb36.
100% reproducible test case: 1. popup of WEB-INF node, select View WAR Content 2. close the dialog 3. click on META-INF/context.xml
The problem is that if you follow my recepie to reproduce this bug (my last comment) ViewContentWarAction.enable gets an instance of ConfigOpenSupport instead of WarDataObject (that the programmer ment it to be). It certainly looks weird that the action ever gets called when clicking on context.xml node. It is also weird that it gets the wrong class from cookies. I take it this is rather a cosmetic issue -- the user would be petrified by "53 more exceptions" -- but at least I am not aware of any real harm it makes. I am puting in a simple fix. Anybody having time/energy can investigate more.
I haven't seen this for a time - please feel free to reopen if you see the exception again