Hi!
I am trying to use the Enhancement API from within my application like this:
com.objectdb.Enhancer.enhance("my.package.Foo");
However, I get the following NullPointerException:
[ObjectDB 2.7.1_09] null java.lang.NullPointerException at com.objectdb.o.JER.f(JER.java:96) at com.objectdb.o.JEL.D(JEL.java:490) at com.objectdb.o.JEN.m(JEN.java:103) at com.objectdb.Enhancer.enhance(Enhancer.java:69) at com.objectdb.Enhancer.enhance(Enhancer.java:90) at my.package.Main.main(Main.java:34)
I checked the logs, but there is no more information than what is also printed to the console (see error above). I'm not sure what is happening, the class exists and trying the API with a non-existent class gives me the expected "is not found by the enhancer" error instead of this NullPointerException.
It seems to be similar to this issue: http://www.objectdb.com/database/issue/82