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 149273 - IllegalStateException: Unexpected checked exception
Summary: IllegalStateException: Unexpected checked exception
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Vancouvering
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 17:26 UTC by Martin Schovanek
Modified: 2008-10-08 11:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 123623


Attachments
stacktrace (853 bytes, text/plain)
2008-10-06 17:26 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2008-10-06 17:26:27 UTC
Build: NetBeans IDE Dev (Build 200810060201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.5, i386

User Comments:
mschovanek: Trying to create a new MySQL database



Stacktrace: 
java.lang.IllegalStateException: Unexpected checked exception
        at org.netbeans.modules.db.mysql.util.Utils.launderThrowable(Utils.java:68)
        at org.netbeans.modules.db.mysql.impl.MySQLDatabaseServer.validateConnection(MySQLDatabaseServer.java:605)
        at org.netbeans.modules.db.mysql.ui.CreateDatabasePanel.ensureConnected(CreateDatabasePanel.java:231)
        at org.netbeans.modules.db.mysql.ui.CreateDatabasePanel.createDatabase(CreateDatabasePanel.java:186)
        at org.netbeans.modules.db.mysql.ui.CreateDatabasePanel.access$700(CreateDatabasePanel.java:47)
        at org.netbeans.modules.db.mysql.ui.CreateDatabasePanel$2$1.run(CreateDatabasePanel.java:132)
Comment 1 Martin Schovanek 2008-10-06 17:26:35 UTC
Created attachment 71223 [details]
stacktrace
Comment 2 David Vancouvering 2008-10-06 20:13:48 UTC
Are you able to continue work after this, or is something very broken?  

I'm trying to see how severe this issue is...

Thanks!

David
Comment 3 David Vancouvering 2008-10-07 17:28:29 UTC
According to Roman, this happens whenever you try to create a database from MySQL support.  Since this means the create
db functionality is broken, this is a P1.  Working on it.
Comment 4 David Vancouvering 2008-10-07 17:29:16 UTC
Reproduced.
Comment 5 David Vancouvering 2008-10-07 18:12:24 UTC
37cc5ebb9f0f
Comment 6 Quality Engineering 2008-10-08 06:00:19 UTC
Integrated into 'main-golden', will be available in build *200810080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/37cc5ebb9f0f
User: David Van Couvering <davidvc@netbeans.org>
Log: #149273: IllegalStateException: Unexpected checked exception
Comment 7 Roman Mostyka 2008-10-08 11:09:00 UTC
Verified with build 081008.