[messages] [Developers] Test builds for 3.3.0

Malnorma malnormacxio at gmail.com
Wed Oct 23 09:07:13 CEST 2019


9284 on macOS seems to have a problem with the embedded JRE and
launching the Player from the module manager.  Instead I tested by
running the command line from the log (adding --standalone), and then by
updating the shell script to run with the system JRE instead.  Both
methods showed no null reference failure for my Crash module, so that's
good news.

When launching the module from the manager, it reports a socket error
with this trace:

Code:

java.util.concurrent.ExecutionException: java.io.IOException: Cannot run
program "/Applications/VASSAL.app/Contents/MacOS/jre/bin/java": error=2,
No such file or directory
	at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
	at java.desktop/javax.swing.SwingWorker.get(Unknown Source)
	at
VASSAL.launch.AbstractLaunchAction$LaunchTask.done(AbstractLaunchAction.java:604)
	at VASSAL.launch.Player$LaunchAction$1.done(Player.java:188)
	at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)
	at
java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown
Source)
	at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)
	at
java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown
Source)
	at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown
Source)
	at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
	at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
	at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: Cannot run program
"/Applications/VASSAL.app/Contents/MacOS/jre/bin/java": error=2, No such
file or directory
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at VASSAL.tools.io.ProcessLauncher.launch(ProcessLauncher.java:111)
	at VASSAL.tools.io.ProcessLauncher.launch(ProcessLauncher.java:87)
	at VASSAL.tools.io.ProcessLauncher.launch(ProcessLauncher.java:65)
	at
VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:489)
	at
VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:244)
	at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
	at java.base/java.lang.ProcessImpl.start(Unknown Source)




The path to bin/java (as logged) does exist and is executable (after
all, it runs the manager).  I'm not entirely sure what this is about.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=57837#p57837


More information about the messages mailing list