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 147923

Summary: Error message appears after creating new table
Product: db Reporter: Rob Englander <mindstream>
Component: CodeAssignee: Rob Englander <mindstream>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Rob Englander 2008-09-22 19:24:36 UTC
After creating a new table an error dialog appears stating "Unable to create table.  This method cannot be called on the
event dispatch thread with 'test' set to true."

The table is actually created, but the Explorer isn't updated to reflect that and the user is left wondering what to do
next.

The workaround is to dismiss the error dialog and refresh the db explorer node for the connection.
Comment 1 Rob Englander 2008-09-22 20:42:43 UTC
d376ee28f2f0
Comment 2 Roman Mostyka 2008-09-23 10:13:47 UTC
Verified with build 080923.
Comment 3 Quality Engineering 2008-09-23 17:58:43 UTC
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d376ee28f2f0
User: Rob Englander <mindstream@netbeans.org>
Log: #147923 Move the node refresh after table creation off of the event dispatch thread.