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.
Product Version: NetBeans IDE Dev (Build 200708200000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86 1. Connect to DB Derby Travel 2. Use popup menu item "Create Table..." for tree subnode "Tables" under the appropriate jdbc-connection. 3. In the dialog "Create Table" add 1 new column: - use "Table name": NEW_TABLE - mark the checkbox "Key" - use "Column name": data - use "Data type": VARCHAR (30) Click "OK". 4. Use popup menu item "Grab Structure..." for the created DB table and store the file "NEW_TABLE.grab". 5. Delete the created DB table. 6. Use popup menu item "Recreate Table..." for tree subnode "Tables" and select the stored file "NEW_TABLE.grab". 7. Click "Edit table Script" in the dialog, delete a SQL definition "primary key" in the text area, click "OK". Result: - warning dialog with IllegalStateException will appear (see the attached screenshot and piece of messages.log)
Created attachment 47057 [details] screenshot
Created attachment 47058 [details] messages.log
Interesting bug, but it seems pretty unlikely to occur "in the wild". So I'm setting it to be done in "future" release.
Lowering priority as it is not a common scenario and has not been reported by users.
Reassigned to new owner.