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

Summary: ClassCastException: org.netbeans.modules.db.explorer.DatabaseOption cannot be cast to org.openide.util.SharedClassObject
Product: db Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED INCOMPLETE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=9359
Issue Type: DEFECT Exception Reporter: 9359
Attachments: stacktrace

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.