Hi everybody. I have problem with Jmol and cdk integration. I'm using Jmol SVN(11.6.20) and CDK SVN(1.20). I've proceeded instruction how to integrate it, also read article "Jmol as 3D viewer for CDK", visited cdk cite, downloaded "CDKIntegration.java". For well-working integration I've downloaded "CdkJmolAdapter.java" from Bioclipse SVN, realise 2008. Separately Jmol works well. Integration with CDK falls. Debugging gives nothing - just black screen of Jmol frame, but when I try to run it, it gives me following error:
GT could not find the class org.jmol.translation.JmolApplet.Messages_ru
Exception in thread "QueueThread0" java.lang.NullPointerException
at org.jmol.viewer.Viewer.getAtomCount(Unknown Source)
at org.jmol.viewer.Eval.expression(Unknown Source)
at org.jmol.viewer.Eval.expression(Unknown Source)
at org.jmol.viewer.Eval.select(Unknown Source)
at org.jmol.viewer.Eval.instructionDispatchLoop(Unknown Source)
at org.jmol.viewer.Eval.runEval(Unknown Source)
at org.jmol.viewer.Viewer.evalStringWaitStatus(Unknown Source)
at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(Unknown
Source)
at
org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(Unknown Source)
at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty
"auxiliaryInfo" to inspect them.
Exception in thread "main" java.lang.NullPointerException
at org.jmol.modelset.ModelLoader.iterateOverAllNewModels(Unknown Source)
at org.jmol.modelset.ModelLoader.initializeModelSet(Unknown Source)
at org.jmol.modelset.ModelLoader.<init>(Unknown Source)
at org.jmol.viewer.ModelManager.setClientFile(Unknown Source)
at org.jmol.viewer.Viewer.openClientFile(Unknown Source)
at CDKIntegration.main(CDKIntegration.java:92)
May be, I missed something important??
Thanks for attention.
P.S.: many links dont'n work.
CDKIntegration.java
Description: Binary data
CdkJmolAdapter.java
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

