Null Pointer Exception when running name

User 7b0ee04e66

12-03-2010 09:35:46

Hello


I get a Null pointer exception when running name on the attached SD file using version 5.3.1


C:\Program Files\ChemAxon\MarvinBeans\bin>cxcalc name ELN.sdf
Exception in thread "main" java.lang.NullPointerException
        at chemaxon.marvin.plugin.CalculatorPluginOutput.getHeader(Unknown Source)
        at chemaxon.marvin.Calculator.initOutput(Unknown Source)
        at chemaxon.marvin.Calculator.consume(Unknown Source)
        at chemaxon.marvin.Calculator.run(Unknown Source)
        at chemaxon.marvin.Calculator.run(Unknown Source)
        at chemaxon.marvin.Calculator.main(Unknown Source)
C:\Program Files\ChemAxon\MarvinBeans\bin>

However, when I open the same SD file in Marvin Sketch, I can successfully name the same compounds.


Thanks for your help


Catherine


 

ChemAxon e08c317633

12-03-2010 10:31:25

Hi Catherine,


I cannot reproduce the error.


C:\mols>cxcalc name ELN.sdf
id Preferred IUPAC Name
1 methanesulfonyl chloride
2 propane-2-sulfonyl chloride
3 cyclopropanesulfonyl chloride
4 cyclopentanesulfonyl chloride
5 phenylmethanesulfonyl chloride

Please provide more details about your operating system and Java version.
Do you have a calc.properties file in C:\Program Files\ChemAxon\MarvinBeans\plugins folder?


Does this work for you?


C:\mols>cxcalc name -t preferred ELN.sdf
id Preferred IUPAC Name
1 methanesulfonyl chloride
2 propane-2-sulfonyl chloride
3 cyclopropanesulfonyl chloride
4 cyclopentanesulfonyl chloride
5 phenylmethanesulfonyl chloride

Zsolt

User 7b0ee04e66

12-03-2010 11:13:30

Hello


No, the files present in the plugins folder are


calc.properties.sample.txt


extensions.jar


and plugin.properties.sample.txt


Can I rename the calc.properties.sample.txt to calc.properties ? Or should I re-install MarvinBeans ?


Thanks


Catherine


 

ChemAxon e08c317633

12-03-2010 11:28:00

Hi,


No, do not rename the calc.properties.sample.txt file.


Please provide more details about your operating system and Java version, to help us reproduce the error.


Zsolt

User 7b0ee04e66

12-03-2010 11:41:09

Hi,


Ok I have the same issue on one server,


Java 1.6.0_18


Windows Server 2003 64 bit SE SP2


and on my PC


Java 1.6.0_16


Windows XP 32 bit SP3


Thanks


Catherine


 

ChemAxon e08c317633

26-03-2010 07:53:30

We haven't managed to reproduce the error yet, but we included a fix - based on stack trace information - in Marvin 5.3.2 version. Marvin 5.3.2 will be available in few days, please test it and inform us if the error was fixed.


Regards,
Zsolt