Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Excel
Error in Hxtt Excel
C. W. Young
2006-12-15 10:55:52.0
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


Re:Error in Hxtt Excel
HXTT Support
2006-12-15 18:01:31.0
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.
Re:Re:Error in Hxtt Excel
HXTT Support
2007-01-01 06:49:18.0
Recurred and supported. Thanks for your Excel file samples.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap