User 368690ce71
23-06-2010 14:38:21
Hello,
I am trying to convert a table of molecules with 2D structure into 3D structures by
1) adding a 'New chemical terms' field
2) using the function 'lowestEnergyConformer()'
Then I get the following error message for each molecule:
--------
Error: Error at molecule with cd_id: 1
java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR '<?xml version="1.0" ?>
<cml>
<MDocument>
<MChemicalStruct>&' to length 1000.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
at chemaxon.jchem.db.CTColumnRegenerator.updateRow(CTColumnRegenerator.java:146)
at chemaxon.jchem.db.CTColumnRegenerator.access$500(CTColumnRegenerator.java:35)
at chemaxon.jchem.db.CTColumnRegenerator$RegenThread.run(CTColumnRegenerator.java:108)
Caused by: java.sql.SQLException: A truncation error was encountered trying to shrink VARCHAR '<?xml version="1.0" ?>
<cml>
<MDocument>
<MChemicalStruct>&' to length 1000.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 12 more
Caused by: ERROR 22001: A truncation error was encountered trying to shrink VARCHAR '<?xml version="1.0" ?>
<cml>
<MDocument>
<MChemicalStruct>&' to length 1000.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
at org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown Source)
at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source)
at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
... 6 more
-----------
I am not a programmer, so I am not sure what wrong here and if this is the right procedure to obtain 3D coordinates.
Many thanks
Andreas