Error loading SFE module (port out of range)

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 “&#1” 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)

Is there any help available ?

best Regards
Chris

Hi Chris,

First up, could you try and reproduce the problem on the latest version, 3.1.0-beta2.

Regards,
Brent.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

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)

Sorry for the wrong ErrorLog.

Best regards and Th@nx for your support
Chris

Thus spake “Biswut”:

This is most likely due to a bug we fixed after 3.1.0-beta1. Please
try 3.1.0-beta2 and let us know if the problem persists.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Biswut”:

I think I know what the problem is. I’ll have a look at this later this
week.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Hi Joel,
any news on theis one ?
Best Regards
Chris

Thus spake “Biswut”:

Try the latest buld here:

nomic.net/~uckelman/tmp/vassal/


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Hi Joel,

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)

What should I do ?

Best regards
Chris

Thus spake “Biswut”:

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.

Try the svn3929 build.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

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)

best regards and Th@nx for your support
Chris

On Jul 29, 2008, at 10:35 AM, Biswut wrote:

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?


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Biswut”:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Umm Vista perhaps? (sorry couldn’t resist, despite being a win user, but that OS really is a piece of **** :slight_smile: )

Otherwise no real suggestion here actually

Joel Uckelman uckelman@nomic.net wrote:

Post generated using Mail2Forum (mail2forum.com)

Thus spake Timothy Mccarron:

Maybe java isn’t in the path. Try opening a terminal (Start > Run: type ‘cmd’)
type ‘java’ at the prompt and tell us what happens.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Well I use Vista.
Should I try in XP under VM-Ware ?
best Regards
Chris

Thus spake “Biswut”:

Try that and report back on whether it works. (It should.)

Also try running java directly in Vista, like I suggested.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

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.

rk

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Rodney Kinney”:

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.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

HiHo,

I tried both.
XP under VM-Ware, it works like it shoudl.

Start VASSAL from CMD-Linecommand:
I get the same error message.

Best Regards and Th@nx for your support
Chris

Thus spake “Biswut”:

That’s what I was expecting. Thanks for confirming it.

I wonder how the executable built by Launch4j finds java? We haven’t
found a situation where that fails, yet.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)