MountainClimb / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

null pointer exception #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
java.lang.NullPointerException
    at 
com.google.gdt.eclipse.core.ProcessUtilities.cleanupProcess(ProcessUtilitie
s.java:367)
    at 
com.google.gdt.eclipse.core.ProcessUtilities.launchProcessAndActivateOnErro
r(ProcessUtilities.java:271)
    at 
com.google.appengine.eclipse.core.orm.enhancement.EnhancerJob.runInWorkspac
e(EnhancerJob.java:82)
    at 
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp
aceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

i have not been able to figure out what is causing this.

eclipse.buildId=M20100211-1343
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Original issue reported on code.google.com by mejoe...@gmail.com on 10 Mar 2010 at 2:38

GoogleCodeExporter commented 8 years ago
This stacktrace doesn't seem to have anything to do with JDO or JPA.  What 
leads you to 
believe it's related?

Max

Original comment by max.r...@gmail.com on 10 Mar 2010 at 4:05

GoogleCodeExporter commented 8 years ago
happens when datanucleus runs and fails. i remember reading something about 
this 
happening after installing JRE6.18 on top of a JDK6.18 installation. uninstaled 
JRE and 
reinstalling JDK...

Original comment by mejoe...@gmail.com on 10 Mar 2010 at 4:10

GoogleCodeExporter commented 8 years ago
the entry in my eclipse log says: an internal error occurred during: 
"DataNucleus 
Enhancer".

when i click on this, i get the stack trace above.

Original comment by mejoe...@gmail.com on 10 Mar 2010 at 4:13

GoogleCodeExporter commented 8 years ago
Looks like the eclipse plugin is encountering something unexpected.  Sorry to 
bounce 
you around but you should really file this as a plugin issue.  I believe this 
issues live in 
the gwt project:
http://code.google.com/p/google-web-toolkit/issues/list

Thanks,
Max

Original comment by max.r...@gmail.com on 10 Mar 2010 at 5:48

GoogleCodeExporter commented 8 years ago
it doesn't have to do with DataNucleus even though the error logs shows "an 
internal 
error occurred during: "DataNucleus Enhancer?""

Original comment by mejoe...@gmail.com on 10 Mar 2010 at 9:37

GoogleCodeExporter commented 8 years ago
My guess is that the eclipse plugin is reporting an enhancement failure because 
of 
the NPE.  App Engine runs the DataNucleus enhancer without any modifications, 
so if 
it is a problem with the enhancer you'll need to work with DataNucleus to get 
it 
sorted out.  I'll tell you now though that without more information about what 
is 
actually failing (like a stacktrace from the enhancer), I don't think they'll 
be able to 
help you.  Since that stacktrace from the plugin is the only visible sign of an 
exception your best bet really is to post it to the list I mentioned above.

Sorry,
Max

Original comment by max.r...@gmail.com on 12 Mar 2010 at 6:54

GoogleCodeExporter commented 8 years ago
seems very long classpaths cause datanucleus enhancer to crash and re-run 
itself 
repeatedly.

Original comment by mejoe...@gmail.com on 16 Mar 2010 at 10:29