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 211228

Summary: ClassCastException: org.netbeans.modules.db.explorer.node.DriverListNode cannot be cast to java.lang.Comparable
Product: db Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: masaki, mmirilovic, nunezca
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178648
Attachments: stacktrace

Description Exceptions Reporter 2012-04-16 08:44:57 UTC
This issue was reported manually by mmirilovic.
It already has 23 duplicates 


Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
GUEST: When I am trying to create a hibernate mapping file - I get error in the file creation wizard

GUEST: Connecting to Database

GUEST: trying to register new data base service

GUEST: AO EXECUTAR SCRIPT SQL

GUEST: I have created a web application using hibernate. Once the project is crated with the hibernate.cfg.xml then,
1. Right click on a package of a my project
2. Selected 'New' -> 'Other' -> 'Hibernate' -> Hibernate reverse engineering wizard
3. Click next and again next

then as usual I should see the tables of the database I configured in the hibernate.cfg.xml but I didn't see any tables and at the right bottom of the IDE i see a red icon

masaki: 1. Start NetBeans 7.0 with JDK7
   I can not see this issue when I use JDK6
2. Create java desktop application for database application
3. select database connection from pulldown menu
   this exception happens

GUEST: estava tentando criar um conex
Comment 1 Exceptions Reporter 2012-04-16 08:45:03 UTC
Created attachment 118308 [details]
stacktrace
Comment 2 Jiri Rechtacek 2012-04-16 14:42:38 UTC

*** This bug has been marked as a duplicate of bug 197930 ***