User a83787b4e1
14-09-2011 20:22:30
Hi,
I have been trying to calculate the minimized ligand structures by mmff94 forcefield. I have just installed the newest version of Jchem 5.6.0 in linux.
To calculate, I used command "cxcalc mmff94optimizedstructure -f sdf [input file] > [output file] "
However, it gave me java.lang.NullPointerException error...
I have tried similar conformer plugin, lowestenergyconformer, and it worked fine. I thought my ligand file was the problem, so I calculated one of the ligands in GUI mode using MarvinView. Interestingly, mmff94 optimization worked in GUI mode.
I re-installed the Jchem in my home directory, but the mmff94optimizedstructure did not work in command mode...
What is the problem??
Here is the error message I have got.
Error at molecule: 1 ID = 1
java.lang.NullPointerException
java.lang.NullPointerException
at chemaxon.marvin.modelling.linalg.GradientOptimization.setStorage(GradientOptimization.java:1176)
at chemaxon.marvin.modelling.linalg.GradientOptimization.addToStorage(GradientOptimization.java:1222)
at chemaxon.marvin.modelling.linalg.GradientOptimization.store(GradientOptimization.java:1113)
at chemaxon.marvin.modelling.linalg.GradientOptimization.doStep(GradientOptimization.java:466)
at chemaxon.marvin.modelling.linalg.GradientOptimization.run(GradientOptimization.java:390)
at chemaxon.marvin.modelling.mm.mmff94.MMFF94.optimize(MMFF94.java:538)
at chemaxon.marvin.calculations.ConformerPlugin.calculateMMFF94Structure(ConformerPlugin.java:428)
at chemaxon.marvin.calculations.ConformerPlugin.run(ConformerPlugin.java:385)
at chemaxon.marvin.plugin.concurrent.PluginWorkUnit.call(PluginWorkUnit.java:88)
at chemaxon.marvin.plugin.concurrent.ReusablePluginWorkUnit.call(ReusablePluginWorkUnit.java:62)
at chemaxon.util.concurrent.marvin.CompositeWorkUnit.call(CompositeWorkUnit.java:70)
at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.process(InputOrderedWorkUnitProcessor.java:59)
at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.processInput(InputOrderedWorkUnitProcessor.java:51)
at chemaxon.util.concurrent.processors.WorkUnitWorker.work0(WorkUnitWorker.java:51)
at chemaxon.util.concurrent.processors.WorkUnitWorker.work(WorkUnitWorker.java:36)
at chemaxon.util.concurrent.worker.Worker$1.call(Worker.java:45)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at chemaxon.util.concurrent.worker.Worker.run(Worker.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.NullPointerException
at chemaxon.marvin.Calculator.outputOnlyPlugin(Calculator.java:1645)
at chemaxon.marvin.Calculator.consume(Calculator.java:1579)
at chemaxon.marvin.Calculator.run(Calculator.java:1344)
at chemaxon.marvin.Calculator.run(Calculator.java:1280)
at chemaxon.marvin.Calculator.main(Calculator.java:1865)
Caused by: java.lang.NullPointerException
at chemaxon.marvin.modelling.linalg.GradientOptimization.setStorage(GradientOptimization.java:1176)
at chemaxon.marvin.modelling.linalg.GradientOptimization.addToStorage(GradientOptimization.java:1222)
at chemaxon.marvin.modelling.linalg.GradientOptimization.store(GradientOptimization.java:1113)
at chemaxon.marvin.modelling.linalg.GradientOptimization.doStep(GradientOptimization.java:466)
at chemaxon.marvin.modelling.linalg.GradientOptimization.run(GradientOptimization.java:390)
at chemaxon.marvin.modelling.mm.mmff94.MMFF94.optimize(MMFF94.java:538)
at chemaxon.marvin.calculations.ConformerPlugin.calculateMMFF94Structure(ConformerPlugin.java:428)
at chemaxon.marvin.calculations.ConformerPlugin.run(ConformerPlugin.java:385)
at chemaxon.marvin.plugin.concurrent.PluginWorkUnit.call(PluginWorkUnit.java:88)
at chemaxon.marvin.plugin.concurrent.ReusablePluginWorkUnit.call(ReusablePluginWorkUnit.java:62)
at chemaxon.util.concurrent.marvin.CompositeWorkUnit.call(CompositeWorkUnit.java:70)
at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.process(InputOrderedWorkUnitProcessor.java:59)
at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.processInput(InputOrderedWorkUnitProcessor.java:51)
at chemaxon.util.concurrent.processors.WorkUnitWorker.work0(WorkUnitWorker.java:51)
at chemaxon.util.concurrent.processors.WorkUnitWorker.work(WorkUnitWorker.java:36)
at chemaxon.util.concurrent.worker.Worker$1.call(Worker.java:45)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at chemaxon.util.concurrent.worker.Worker.run(Worker.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Sincerely,