User fe5cbe5ff5
05-08-2008 18:01:16
Hi,
I am getting the following exception when I try to create an instance of ElementalAnalyserPlugin or even just ElementalAnalyser:
java.lang.NullPointerException: in is null
at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:56)
at chemaxon.struc.PeriodicSystem.a(Unknown Source)
at chemaxon.struc.PeriodicSystem.<clinit>(Unknown Source)
at chemaxon.calculations.ElementalAnalyser.<clinit>(Unknown Source)
at edu.umich.metworks.lims.GetLogP.main(GetLogP.java:122)
Exception in thread "main" java.lang.ExceptionInInitializerError
at edu.umich.metworks.lims.GetLogP.main(GetLogP.java:122)
Caused by: java.lang.NullPointerException
at chemaxon.struc.PeriodicSystem.getElementCount(Unknown Source)
at chemaxon.calculations.ElementalAnalyser.<clinit>(Unknown Source)
... 1 more
I read topic 3780 and realized that I need the elements.zip file for the PeriodicSystem class, but I don't understand where and how to add this file so that the class can see it. The IDE I am using is Eclipse. Please help!
Thanks in advance,
Anu
I am getting the following exception when I try to create an instance of ElementalAnalyserPlugin or even just ElementalAnalyser:
java.lang.NullPointerException: in is null
at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:56)
at chemaxon.struc.PeriodicSystem.a(Unknown Source)
at chemaxon.struc.PeriodicSystem.<clinit>(Unknown Source)
at chemaxon.calculations.ElementalAnalyser.<clinit>(Unknown Source)
at edu.umich.metworks.lims.GetLogP.main(GetLogP.java:122)
Exception in thread "main" java.lang.ExceptionInInitializerError
at edu.umich.metworks.lims.GetLogP.main(GetLogP.java:122)
Caused by: java.lang.NullPointerException
at chemaxon.struc.PeriodicSystem.getElementCount(Unknown Source)
at chemaxon.calculations.ElementalAnalyser.<clinit>(Unknown Source)
... 1 more
I read topic 3780 and realized that I need the elements.zip file for the PeriodicSystem class, but I don't understand where and how to add this file so that the class can see it. The IDE I am using is Eclipse. Please help!
Thanks in advance,
Anu