HiHo,
I try to load Bens new Struggle for Europe module.
I get the error message “port out of range: 1165128303”.
Here is the Error-Log:
– OS Windows Vista
– Java version 1.6.0_05
– VASSAL version 3.1.0-beta1
– VASSAL instance 513102124
[513102124]
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:141)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:125)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[513102124]
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:154)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:125)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
– OS Windows Vista
– Java version 1.6.0_05
– VASSAL version 3.1.0-beta1
– VASSAL instance 1023998434
[Fatal Error] :6415:105: Character reference “” is an invalid XML character.
[1023998434]
java.lang.IllegalArgumentException
at VASSAL.launch.BasicModule.build(BasicModule.java:110)
at VASSAL.build.GameModule.init(GameModule.java:756)
at VASSAL.launch.Player.launch(Player.java:96)
at VASSAL.launch.Launcher.extractResourcesAndLaunch(Launcher.java:114)
at VASSAL.launch.Launcher$1.run(Launcher.java:102)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
[513102124]
java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at VASSAL.launch.CommandClient.request(CommandClient.java:39)
at VASSAL.launch.AbstractLaunchAction.shutDown(AbstractLaunchAction.java:95)
at VASSAL.launch.ModuleManagerWindow$1.actionPerformed(ModuleManagerWindow.java:160)
at VASSAL.launch.ModuleManagerWindow$2.windowClosing(ModuleManagerWindow.java:177)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
[1023998434]
java.lang.NullPointerException
at VASSAL.build.GameModule.shutDown(GameModule.java:650)
at VASSAL.launch.Player$PlayerCommandServer.reply(Player.java:70)
at VASSAL.launch.CommandServer.run(CommandServer.java:51)
at java.lang.Thread.run(Unknown Source)
First up, could you try and reproduce the problem on the latest version, 3.1.0-beta2.
Dear Brent,
strange I use beta 2.
It seems to be old error log.
I deleted it and tested it again.
This is the actual ErrorLog.
[874408521]
– OS Windows Vista
– Java version 1.6.0_05
– VASSAL version 3.1.0-beta2
– Manager
Could not create the Java virtual machine.
[874408521]
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: port out of range:1165128303
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.get(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.done(AbstractLaunchAction.java:267)
at VASSAL.launch.Player$LaunchAction$1.done(Player.java:177)
at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: port out of range:1165128303
at java.net.InetSocketAddress.(Unknown Source)
at java.net.Socket.(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:253)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:157)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I tried svn 3928 and got an Error message which I tried to submit.
Then I got the following message:
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at VASSAL.launch.CommandServer.run(CommandServer.java:57)
at java.lang.Thread.run(Unknown Source)
Thanks for submitting the bug report. I fixed the bug which was preventing
you from loading SFE. There’s at least one other bug I found which isn’t
fixed, but it won’t prevent you from using the module.
Hi Joel,
I tried svn3929, still an error:
[1448723209]
– OS Windows Vista
– Java version 1.6.0_07
– VASSAL version 3.1.0-svn3929
– Manager
Could not create the Java virtual machine.
[1448723209]
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: port out of range:1165128303
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.get(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.done(AbstractLaunchAction.java:296)
at VASSAL.launch.Player$LaunchAction$1.done(Player.java:185)
at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: port out of range:1165128303
at java.net.InetSocketAddress.(Unknown Source)
at java.net.Socket.(Unknown Source)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:284)
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:164)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I submitted with the following communictaion Error:
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at VASSAL.launch.CommandServer.run(CommandServer.java:57)
at java.lang.Thread.run(Unknown Source)
Well, that would be a problem, since TCP ports are constrained to be
16-bit unsigned numbers and thus have a maximum value of 65535. I
wonder where the port number is coming from?
This is the problem. The unusual port number reported in the log is
due to reading from a bad DataInputStream, and is just a symptom of
the child process failing to start.
I have no idea why this would happen, since you’re able to start the
module manager. This works on the Windows XP box I’ve tested it on.
Can anyone who uses Vista suggest what might be wrong?
Or else ‘java’ is pointing to some other version of Java, like MS’s ancient broken implementation.
I assume that the ModuleManager uses an absolute path to point to the java executable, set by the installer. We should use the same path instead of relying on the user’s path setting. If we can’t get it from the Runtime, maybe we can have the installer store it some place so that we can use it when the ModuleManager launches the Player.
No, it isn’t. Nothing in the install process sets a path. The installer
tests whether a JRE is installed, and if one isn’t, then it will install
one for you, but no path is ever set—the assumption being that the JRE
should be installed correctly. I guess this isn’t a valid assumption.
What I don’t get is how the Launch4j executable for the ModuleManager can
find it, but not the ProcessBuilder when the Player is launched. I’d think
they’d both be relying on the path to be correct.