User eb7d5cd1ec
17-02-2009 09:26:36
Hi,
I'v upgraded the JChem installation from 5.0.0 to 5.1.4, regenerated structure tables with jcman successfully, and replaced the jchem.jar file. however, i got the following NullPointerException during recalculate tables .
it works well with jchem5.0.0. The API have changed?(however,there is no change in jchem doc for recalculateTable) or I missed some necessary setting? Can you help with this ?
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at chemaxon.util.ConnectionHandler.setConnected(ConnectionHandler.java:196)
at chemaxon.util.ConnectionHandler.connect(ConnectionHandler.java:234)
at chemaxon.jchem.db.Regenerator.run(Regenerator.java:263)
at chemaxon.jchem.db.UpdateHandler.recalculateTable(UpdateHandler.java:3180)
……
……
chemaxon.jchem.db.UpdateHandlerException: java.sql.SQLException
Caused by:
java.sql.SQLException
at chemaxon.jchem.db.UpdateHandler.recalculateTable(UpdateHandler.java:3183)
……
……
Many thanks,
lsqsusu
I'v upgraded the JChem installation from 5.0.0 to 5.1.4, regenerated structure tables with jcman successfully, and replaced the jchem.jar file. however, i got the following NullPointerException during recalculate tables .
Code: |
UpdateHandler.recalculateTable(ch, tab_name, false, null, null, null, null); |
it works well with jchem5.0.0. The API have changed?(however,there is no change in jchem doc for recalculateTable) or I missed some necessary setting? Can you help with this ?
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at chemaxon.util.ConnectionHandler.setConnected(ConnectionHandler.java:196)
at chemaxon.util.ConnectionHandler.connect(ConnectionHandler.java:234)
at chemaxon.jchem.db.Regenerator.run(Regenerator.java:263)
at chemaxon.jchem.db.UpdateHandler.recalculateTable(UpdateHandler.java:3180)
……
……
chemaxon.jchem.db.UpdateHandlerException: java.sql.SQLException
Caused by:
java.sql.SQLException
at chemaxon.jchem.db.UpdateHandler.recalculateTable(UpdateHandler.java:3183)
……
……
Many thanks,
lsqsusu