Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
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
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Excel
Error in Hxtt Excel
C. W. Young
2006-12-15 10:55:52
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
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
Recurred and supported. Thanks for your Excel file samples.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap