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 72713 - ClassCastException in FilterNode.getLookup
Summary: ClassCastException in FilterNode.getLookup
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-02-16 07:25 UTC by Jiri Skrivanek
Modified: 2008-12-22 17:17 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-02-16 07:25:20 UTC
It is a regression of issue 64726. Probably version from release50 branch is
correct because branch release55 contains release50 version of openide. It also
breaks commit validation tests.

java.lang.ClassCastException
	at
org.netbeans.modules.tomcat5.nodes.actions.OpenServerOutputAction.enable(OpenServerOutputAction.java:33)
	at
org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:560)
Comment 1 Sherold Dev 2006-02-17 09:18:46 UTC
This is an openide bug, which is already fixed in the trunk. Since the fix was
too risky, it was not merged into the release50 branch, but worked around in the
tomcat and weblogic plugins instead. The work-around was not, however, merged
into the trunk.

This bug still exists in the release55 branch since it does not contain the
openide fix nor the work-around (this branch is based on the release50 version
of openide and on the trunk version of tomcat and weblogic plugins)

Jardo, would it be safe to merge the openide fix into the release55 branch now
or should we better use those work-arounds again?

Thanks
Comment 2 Jaroslav Tulach 2006-02-21 10:37:50 UTC
I believe it is very safe to merge my fix to openide/nodes. However I am not 
sure whether we can change anything in platform cluster. It is probably up to 
Petr to find this out and let us know.  
Comment 3 Petr Jiricka 2006-02-21 13:32:20 UTC
Yes, important bugfixes in all areas should be applied to the release55 branch,
and this bugfix is important for us. So Jardo, can I please ask you to merge
this fix to release55?

Thanks.
Comment 4 Jaroslav Tulach 2006-02-22 08:22:58 UTC
"Per pjiricka's request merging fix for #64726 to release55" 
 
Checking in src/org/openide/nodes/FilterNode.java; 
/cvs/openide/nodes/src/org/openide/nodes/FilterNode.java,v  <--  
FilterNode.java 
new revision: 1.1.14.1.2.1; previous revision: 1.1.14.1 
done 
Checking in test/unit/src/org/openide/nodes/FilterNodeTest.java; 
/cvs/openide/nodes/test/unit/src/org/openide/nodes/FilterNodeTest.java,v  <--  
FilterNodeTest.java 
new revision: 1.1.40.1; previous revision: 1.1 
Comment 5 Jiri Skrivanek 2006-02-24 09:20:30 UTC
Verified.