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 172080 - ClassCastException at XMLDataObject.getCookie
Summary: ClassCastException at XMLDataObject.getCookie
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
: 178329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-12 06:51 UTC by Exceptions Reporter
Modified: 2010-02-05 22:49 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144225


Attachments
stacktrace (4.89 KB, text/plain)
2009-09-12 06:51 UTC, Exceptions Reporter
Details
stacktrace (4.35 KB, text/plain)
2009-12-14 04:21 UTC, Jan Lahoda
Details
stacktrace (4.35 KB, text/plain)
2009-12-28 03:06 UTC, Vladimir Voskresensky
Details
stacktrace (5.02 KB, text/plain)
2010-01-22 06:22 UTC, Jesse Glick
Details
stacktrace (4.51 KB, text/plain)
2010-01-23 01:05 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2009-09-12 06:51:10 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, i386

User Comments:
rptmaestro: Editing a maven pom.xml

GUEST: open the mave proyect,  set tomcat

GUEST: Mass replacement of wsdl descriptors (80 for 443) throughout all project files. Switching to sw security, while turnneling through the faster http .port.

GUEST: populate catalog in a rather complex bpel project which uses xml documents defined through many xsds



Stacktrace: 
java.lang.ClassCastException
        at java.lang.Class.cast(Class.java:2990)
        at org.openide.loaders.XMLDataObject.getCookie(XMLDataObject.java:330)
        at org.netbeans.modules.xml.XMLDataObject.getCookie(XMLDataObject.java:189)
        at org.openide.loaders.DataNode.getCookie(DataNode.java:428)
        at org.openide.nodes.NodeLookup.addCookie(NodeLookup.java:97)
        at org.openide.nodes.NodeLookup.updateLookupAsCookiesAreChanged(NodeLookup.java:189)
Comment 1 Exceptions Reporter 2009-09-12 06:51:15 UTC
Created attachment 87534 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-09-12 06:51:19 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144225
Comment 3 Sergey Lunegov 2009-09-14 09:52:07 UTC
Not clear how to reproduce the issue. Please provide exact steps.
Comment 4 Jesse Glick 2009-12-08 18:09:14 UTC
*** Bug 178329 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2009-12-08 18:09:55 UTC
Easily reproducible - see duplicate.
Comment 6 Jesse Glick 2009-12-08 18:10:57 UTC
P2 since it breaks routine Go to File functionality.
Comment 7 Jesse Glick 2009-12-08 18:12:00 UTC
Not clear if this is a bug in xml module or openide.loaders. Yarda, please take a look at it too, since you were doing some things with XMLDO lookup.
Comment 8 Jan Lahoda 2009-12-14 04:21:51 UTC
Created attachment 92511 [details]
stacktrace
Comment 9 Vladimir Voskresensky 2009-12-28 03:06:23 UTC
Created attachment 92952 [details]
stacktrace
Comment 10 Jesse Glick 2010-01-22 06:22:18 UTC
Created attachment 93485 [details]
stacktrace
Comment 11 _ tboudreau 2010-01-23 01:05:34 UTC
Created attachment 93507 [details]
stacktrace

Closed the File menu
Comment 12 Jesse Glick 2010-02-04 13:37:19 UTC
I think fixed: core-main #32a4795cb4b2
Comment 13 Quality Engineering 2010-02-05 22:49:35 UTC
Integrated into 'main-golden', will be available in build *201002060200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/32a4795cb4b2
User: Jesse Glick <jglick@netbeans.org>
Log: #172080: CCE affecting layer files.