Bug 796 : "Target VM failed to initialize: VM initialization failed" when trying to run
Last modified: 2008-07-27 20:42




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
diordna
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-06-02 09:15
I've been running 136 for a couple of months with no problems. I downloaded
138 yesterday and used it for a while without problems as well. However, I
rebooted during the night, and now the PDE won't run any of my sketches.
I'm on 10.5.2. I did not install any new libraries. Exporting to
application and applet result in working sketches.

Error message:
Exception in thread "Thread-20" java.lang.Error: Target VM failed to
initialize: VM initialization failed for:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
-Djava.library.path=:/Users/stephen/Applications/Processing
0138/libraries/pdf/library:/Users/stephen/Applications/Processing
0138/Processing
0138.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
-cp /tmp/build50642.tmp:/Users/stephen/Applications/Processing
0138/libraries/pdf/library/itext.jar:/Users/stephen/Applications/Processing
0138/libraries/pdf/library/pdf.jar:/Users/stephen/Applications/Processing
0138/Processing
0138.app/Contents/Resources/Java/pde.jar:lib/core.jar:/Users/stephen/Applications/Processing
0138/Processing
0138.app/Contents/Resources/Java/antlr.jar:/Users/stephen/Applications/Processing
0138/Processing
0138.app/Contents/Resources/Java/registry.jar:/Users/stephen/Applications/Processing
0138/Processing
0138.app/Contents/Resources/Java/quaqua.jar:/System/Library/Java -Xdebug
-Xrunjdwp:transport=dt_socket,address=cincinnati118.ipcorporate.com:55422,suspend=y
processing.core.PApplet --editor-location=425,122 --external --display=1
--sketch-path=/Users/stephen/Development/Processing/Art_Project_1
Temporary_5123_2724
at processing.app.debug.Runner.launch(Runner.java:317)
at processing.app.debug.Runner.launch(Runner.java:122)
at processing.app.Editor$40.run(Editor.java:1150)
at java.lang.Thread.run(Thread.java:613)
Additional Comment #1 From fry 2008-06-02 09:43
i think this is related to bug #775, where things just poop out on the mac
sometimes... have you tried another restart?
Additional Comment #2 From fry 2008-06-02 09:46
another thing to try is to disable networking.. shut off airport if you're
using that, or unplug from the network otherwise. then see what happens.

this is sometimes a problem when the jvm is getting your ip address:
address=cincinnati118.ipcorporate.com:55422
and that ip is not in fact your machine, but some outside gateway machine.
Additional Comment #3 From diordna 2008-06-02 10:18
Turning off networking did the trick. I just realized that the last time I
tried to run a Processing sketch, I was at home. I am now at work.

I hope you can find a way to work around this. Sometimes (e.g. right now) I
like to work on sketches over lunch, and I would hate to have to kill my
internet during that time.
Additional Comment #4 From fry 2008-06-02 10:21
yes of course, it's unacceptable to have to shut off networking... just a
workaround for now.
Additional Comment #5 From fry 2008-06-02 14:16
*** Bug 797 has been marked as a duplicate of this bug. ***
Additional Comment #6 From fry 2008-07-14 05:27
*** Bug 849 has been marked as a duplicate of this bug. ***
Additional Comment #7 From mazn 2008-07-14 05:48
I am running 10.5.4 and 0142 and get the problem as well. But
unfortunately restarting and computer multiple times and unplugging the
network does not work. Any recommendations to get a work around so I can
at least start to actually learn the language. Thanks.
Additional Comment #8 From mazn 2008-07-14 05:56
UPDATE: It currently works now. I unchecked max available memory.
Additional Comment #9 From fry 2008-07-16 18:12
ok, comment #7 and comment #8 refer to a different bug, which i'll need to
account for as well.

in the meantime, here are prerelease versions of 0143 that might fix the
problem:
http://processing.org/download/processing-0143p1.zip
http://processing.org/download/processing-0143p1.dmg
http://processing.org/download/processing-0143p1.tgz

please give one of these a try and see if it fixes the problem.
Additional Comment #10 From fry 2008-07-27 20:42
fixed for release 0143.