Helly everbody,

i want to calculate the similarity with:

java -jar momsim.jar --sdfile Compound_000000001_000025000.sdf.sdf --qfile 
query.sdf

The query.sdf is the Strucutre form PubChem with the Compound ID = 1 and saved 
as 3D-SDF.

If i try this command i get the following error:

java.lang.NullPointerException
        at org.openscience.cdk.io.MDLReader.readMolecule(MDLReader.java:327)
        at org.openscience.cdk.io.MDLReader.readChemFile(MDLReader.java:201)
        at org.openscience.cdk.io.MDLReader.read(MDLReader.java:150)
        at net.guha.apps.sim3d.MomentSimilarity.main(MomentSimilarity.java:158)
org.openscience.cdk.exception.CDKException: Error while parsing line 3: null -> 
null
        at org.openscience.cdk.io.MDLReader.readMolecule(MDLReader.java:501)
        at org.openscience.cdk.io.MDLReader.readChemFile(MDLReader.java:201)
        at org.openscience.cdk.io.MDLReader.read(MDLReader.java:150)
        at net.guha.apps.sim3d.MomentSimilarity.main(MomentSimilarity.java:158)
Caused by: java.lang.NullPointerException
        at org.openscience.cdk.io.MDLReader.readMolecule(MDLReader.java:327)
        ... 3 more
Exception in thread "main" java.lang.NullPointerException
        at net.guha.apps.sim3d.MomentSimilarity.main(MomentSimilarity.java:162)

Where is my fault?

With best,

Jochen Schreiber
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to