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 167173 - "Grab Structure" throws "Unable to grab table: Java.sql.SQLException:Invalid Operation at Current Posistion"
Summary: "Grab Structure" throws "Unable to grab table: Java.sql.SQLException:Invalid ...
Status: RESOLVED DUPLICATE of bug 167175
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 17:16 UTC by invented0
Modified: 2009-06-17 11:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description invented0 2009-06-16 17:16:20 UTC
Netbeans 6.7 RC2 on Windows Vista Business 32-bit.
Reproducible: Always

Created a new database using the "Services -> Database -> Java DB" panel. Created one table with three columns and three 
rows. When I right click the table, click "Grab Structure" and then click on "Save" on the filechooser dialog, an error 
message pops up with the message: "Unable to grab table: Java.sql.SQLException:Invalid Operation at Current Position". I 
did not see any trace in the log file (viewed in the IDE and not from Windows Explorer).

After a couple of minutes, I see the following two exceptions in the IDE Log file (again from the IDE). 

"SEVERE [global] java.lang.IndexOutOfBoundsException: Invalid index  at 
javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:497)"

and

"SEVERE [global] java.lang.NullPointerException at javax.swing.JComponent.repaint(JComponent.java:4748)"

It did not look like the exceptions were thrown/logged right away when the above error dialog was shown. Also, the 
"exception" in the error message shown is not relevant to the exceptions logged in the IDE log file.
Comment 1 Petr Blaha 2009-06-17 11:18:28 UTC

*** This issue has been marked as a duplicate of 167175 ***