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 160819 - ClassCastException: org.netbeans.modules.db.explorer.DatabaseOption cannot be cast to org.openide.util.SharedClassObject
Summary: ClassCastException: org.netbeans.modules.db.explorer.DatabaseOption cannot be...
Status: RESOLVED INCOMPLETE
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 15:57 UTC by Exceptions Reporter
Modified: 2009-03-24 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 9359


Attachments
stacktrace (2.05 KB, text/plain)
2009-03-22 15:57 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2009-03-22 15:57:26 UTC
Build: NetBeans IDE Dev (Build 200903211401)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments:
epdv: Opening the "NetBeans Runtime" explorer / Global Lokup

GUEST: Clicked on Services>Netbeans Runtime> Global Lookup

etah000: in explorer servies tab, I expand NetBeans Runtime->Global Lookup node, then the netbeans reports the error.



Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.db.explorer.DatabaseOption cannot be cast to org.openide.util.SharedClassObject
        at org.openide.util.SharedClassObject.createInstancePrivileged(SharedClassObject.java:641)
        at org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObject.java:1001)
        at org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObject.java:993)
        at java.security.AccessController.doPrivileged(AccessController.java:0)
        at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:515)
        at org.openide.util.SharedClassObject$WriteReplace.readObject(SharedClassObject.java:721)
Comment 1 Exceptions Reporter 2009-03-22 15:57:32 UTC
Created attachment 78595 [details]
stacktrace
Comment 2 Jaroslav Tulach 2009-03-24 14:06:37 UTC
Imho wont'fix as: 1. harmless exception, 2. caused by some mess in userdir
Comment 3 Jiri Rechtacek 2009-03-24 14:17:12 UTC
I don't understand the problem. I'm sorry.