User 4fe72f6657
27-12-2006 05:17:31
Hello All,
I get the following exception when trying to use the chemaxon.jchem.db.Exporter;:
java.lang.NullPointerException
at chemaxon.jchem.db.TableInfo.getTableNameWithSchema(TableInfo.java:617)
at chemaxon.jchem.db.Exporter.init(Exporter.java:487)
at chemaxon.jchem.db.Exporter.writeAll(Exporter.java:359)
(...)
chemaxon.jchem.db.TransferException
at chemaxon.jchem.db.Exporter.init(Exporter.java:508)
at chemaxon.jchem.db.Exporter.writeAll(Exporter.java:359)
(...)
Did I forget any parameter setting?
(I am using jchem3.2 & mysql 4.1.22 on RHEL v4.)
I get the following exception when trying to use the chemaxon.jchem.db.Exporter;:
java.lang.NullPointerException
at chemaxon.jchem.db.TableInfo.getTableNameWithSchema(TableInfo.java:617)
at chemaxon.jchem.db.Exporter.init(Exporter.java:487)
at chemaxon.jchem.db.Exporter.writeAll(Exporter.java:359)
(...)
chemaxon.jchem.db.TransferException
at chemaxon.jchem.db.Exporter.init(Exporter.java:508)
at chemaxon.jchem.db.Exporter.writeAll(Exporter.java:359)
(...)
Code: |
ConnectionHandler conHandler = new ConnectionHandler(); conHandler.setUrl(jdbcURL); conHandler.setDriver(jdbcDriver); conHandler.setLoginName(jdbcUser); jcex.setConnectionHandler(conHandler); jcex.setTableName(structureTable); FileOutputStream fos = new FileOutputStream(fname); jcex.setOutputStream(fos); jcex.writeAll(); |
Did I forget any parameter setting?
(I am using jchem3.2 & mysql 4.1.22 on RHEL v4.)