When I attempted to get DatabaseMetaData.getTables() I got the following exceptions:
java.sql.SQLException: Failed to load database BC_JJC_County_Data3! For more information, please use SQLException.getNextException().
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.excel.ay.byte(Unknown Source)
at com.hxtt.sql.excel.ay.case(Unknown Source)
at com.hxtt.sql.excel.ay.(Unknown Source)
at com.hxtt.sql.excel.be.a(Unknown Source)
at com.hxtt.concurrent.w.a(Unknown Source)
at com.hxtt.sql.excel.ay.if(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.a.getTables(Unknown Source)
at IMapGIS15.DBIMap.getDBMetaData(DBIMap.java:2931)
at IMapGIS15.DBIMap.openDatabase(DBIMap.java:2462)
at IMapGIS15.DBIMap.getDBConnection(DBIMap.java:1595)
at IMapGIS15.ImportAddressDatabaseTableDialog.buttonConnect_actionPerformed(ImportAddressDatabaseTableDialog.java:1469)
at IMapGIS15.ImportAddressDatabaseTableDialog.access$1100(ImportAddressDatabaseTableDialog.java:20)
at IMapGIS15.ImportAddressDatabaseTableDialog$11.actionPerformed(ImportAddressDatabaseTableDialog.java:599)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.sql.SQLException: java.io.IOException: Negative seek offset
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.concurrent.n.a(Unknown Source)
at com.hxtt.concurrent.u.try(Unknown Source)
at com.hxtt.concurrent.q.int(Unknown Source)
at com.hxtt.concurrent.q.if(Unknown Source)
at com.hxtt.concurrent.n.if(Unknown Source)
at com.hxtt.concurrent.n.a(Unknown Source)
at com.hxtt.sql.excel.bk.a(Unknown Source)
at com.hxtt.sql.excel.bk.a(Unknown Source)
at com.hxtt.sql.excel.ay.byte(Unknown Source)
at com.hxtt.sql.excel.ay.case(Unknown Source)
at com.hxtt.sql.excel.ay.(Unknown Source)
at com.hxtt.sql.excel.be.a(Unknown Source)
at com.hxtt.concurrent.w.a(Unknown Source)
at com.hxtt.sql.excel.ay.if(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.a.getTables(Unknown Source)
at IMapGIS15.DBIMap.getDBMetaData(DBIMap.java:2931)
at IMapGIS15.DBIMap.openDatabase(DBIMap.java:2462)
at IMapGIS15.DBIMap.getDBConnection(DBIMap.java:1595)
at IMapGIS15.ImportAddressDatabaseTableDialog.buttonConnect_actionPerformed(ImportAddressDatabaseTableDialog.java:1469)
at IMapGIS15.ImportAddressDatabaseTableDialog.access$1100(ImportAddressDatabaseTableDialog.java:20)
at IMapGIS15.ImportAddressDatabaseTableDialog$11.actionPerformed(ImportAddressDatabaseTableDialog.java:599)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
The spreadsheet has three sheets each with 25 variables and between 10,000 and 12,000 row.
If I eliminate any one of the sheets, then I can successfully get the tables metadata.
I created a second spreadsheet with three sheets with 30 variables and 12,000 rows in each and got the following exceptions:
java.lang.ArrayIndexOutOfBoundsException: 218107648
at com.hxtt.sql.excel.bk.a(Unknown Source)
at com.hxtt.sql.excel.bk.a(Unknown Source)
at com.hxtt.sql.excel.ay.byte(Unknown Source)
at com.hxtt.sql.excel.ay.case(Unknown Source)
at com.hxtt.sql.excel.ay.(Unknown Source)
at com.hxtt.sql.excel.be.a(Unknown Source)
at com.hxtt.concurrent.w.a(Unknown Source)
at com.hxtt.sql.excel.ay.if(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.a(Unknown Source)
at com.hxtt.sql.excel.v.if(Unknown Source)
at com.hxtt.sql.a.getTables(Unknown Source)
at IMapGIS15.DBIMap.getDBMetaData(DBIMap.java:2931)
at IMapGIS15.DBIMap.openDatabase(DBIMap.java:2462)
at IMapGIS15.DBIMap.getDBConnection(DBIMap.java:1595)
at IMapGIS15.ImportAddressDatabaseTableDialog.buttonConnect_actionPerformed(ImportAddressDatabaseTableDialog.java:1469)
at IMapGIS15.ImportAddressDatabaseTableDialog.access$1100(ImportAddressDatabaseTableDialog.java:20)
at IMapGIS15.ImportAddressDatabaseTableDialog$11.actionPerformed(ImportAddressDatabaseTableDialog.java:599)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
If I reduce the number of rows in each sheet to a smaller number (i.e., four), then I could get the tables metadata correctly.
C. W. Young
|
You can zip and upload two samples of your BC_JJC_County_Data3.xls into:
ftp site: ftp.hxtt.com
ftp user: anonymous@hxtt.com
ftp password: (empty)
login mode: normal (not anonymous)
ftp port:21
upload directory: incoming
transer mode: binary (not ASCII)
After upload, you can't see that upload file, but it has been upload.
You can choose to zip and email it to webmaster.hxtt@gmail.com too.
|
Recurred and supported. Thanks for your Excel file samples.
|