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 38735 - A CCE printed into IDE log when clicking /META-INF/context.xml
Summary: A CCE printed into IDE log when clicking /META-INF/context.xml
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 12:44 UTC by Marek Fukala
Modified: 2004-03-15 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception stack (4.50 KB, text/plain)
2004-01-14 12:44 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2004-01-14 12:44:22 UTC
[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)
Comment 1 Marek Fukala 2004-01-14 12:44:52 UTC
Created attachment 12880 [details]
The exception stack
Comment 2 Pavel Buzek 2004-01-27 04:37:19 UTC
I've seen this before but cannot reproduce it any more. If you have a
recepie for it please be -exact-.
Comment 3 Marek Fukala 2004-01-28 17:36:22 UTC
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.
Comment 4 Marek Fukala 2004-01-28 17:38:01 UTC
oops - a typo!
Comment 5 Pavel Buzek 2004-01-29 05:31:13 UTC
probably fixed as a side effect of some other fix
Comment 6 Marek Fukala 2004-02-10 12:54:38 UTC
I have encountered the damned bug again today. New clear userdir, new webmodule ... still cannot reproduce on 100% :-( .reopening.
Comment 7 Marek Fukala 2004-02-11 09:53:25 UTC
[20040210]
Now I can see the some exception when clicking on root of a webmodule
filesystem. Should be fixed in nb36.
Comment 8 Pavel Buzek 2004-02-20 18:40:09 UTC
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
Comment 9 Pavel Buzek 2004-02-21 06:12:09 UTC
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.
Comment 10 Marek Fukala 2004-03-15 14:42:03 UTC
I haven't seen this for a time - please feel free to reopen if you see
the exception again