AppEngine DataNucleus is not getting enhancing

1 view
Skip to first unread message

Bharath via StackOverflow

unread,
Aug 23, 2016, 11:56:18 AM8/23/16
to google-appengin...@googlegroups.com
 java.lang.RuntimeException: Unexpected exception
     at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:76)
     at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:71)
     at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:51)
 Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:74)
... 2 more
 Caused by: java.lang.NoSuchMethodError: org.datanucleus.plugin.PluginManager.<init>(Lorg/datanucleus/PersistenceConfiguration;Lorg/datanucleus/ClassLoaderResolver;)V
     at org.datanucleus.OMFContext.<init>(OMFContext.java:159)
     at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java:172)
     at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java:150)
     at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1157)
... 7 more

This is the log I am getting after upgrading my appengine sdk from 1.9.25 to 1.9.42.

I have tried all possible things to make it run. But still no class is getting enhanced.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/39105778/appengine-datanucleus-is-not-getting-enhancing

Jorge Merino Llamera via StackOverflow

unread,
Aug 24, 2016, 4:12:07 AM8/24/16
to google-appengin...@googlegroups.com

I am in the same position. In eclipse it is imposible to enhance entity clases. I think it is a problem of the pluging with the new SDK library but no update is found when I try to update it.

We must to wait for an expert with an intellijent response or comment to our question.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/39105778/appengine-datanucleus-is-not-getting-enhancing/39117782#39117782
Reply all
Reply to author
Forward
0 new messages