I am getting this NullpointerException deep in the internals when trying to generate InChI using the InChIGeneratorFactory in CDK. Can someone give me a hint to what could be going wrong?
[...]
Caused by: java.lang.NullPointerException
at net.sf.jnati.deploy.NativeArtefactLocator.getArtefact(NativeArtefactLocator.java:129)
at net.sf.jnati.deploy.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:37)
at net.sf.jniinchi.JniInchiWrapper.loadLibrary(JniInchiWrapper.java:92)
at org.openscience.cdk.inchi.InChIGeneratorFactory.(InChIGeneratorFactory.java:78)
at org.openscience.cdk.inchi.InChIGeneratorFactory.getInstance(InChIGeneratorFactory.java:96)
at net.bioclipse.structuredb.domain.DBMolecule.calculateInchi(DBMolecule.java:421)
... 34 more
The actual code is here