Vassal-3.2.10 wont start

J.

yeah a little confusing I agree. :slight_smile:

Below however is the error report from when I last tried to run Vassal 3.2.11-svn9002:

2014-02-11 17:58:03,949 [0-main] INFO VASSAL.launch.StartUp - Starting
2014-02-11 17:58:03,953 [0-main] INFO VASSAL.launch.StartUp - OS Windows 7 6.1
2014-02-11 17:58:03,953 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_51
2014-02-11 17:58:03,953 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.11-svn9002
2014-02-11 17:58:03,997 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2014-02-11 17:58:04,218 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - VASSAL: Problem with socket on port 49222
2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - java.net.SocketException: Invalid argument: connect
2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.DualStackPlainSocketImpl.connect0(Native Method)
2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
2014-02-11 17:58:04,219 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.PlainSocketImpl.connect(Unknown Source)
2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.SocksSocketImpl.connect(Unknown Source)
2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,221 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.Socket.connect(Unknown Source)
2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.Socket.connect(Unknown Source)
2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.Socket.(Unknown Source)
2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at java.net.Socket.(Unknown Source)
2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - 2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream - at VASSAL.launch.ModuleManager.main(ModuleManager.java:216)
2014-02-11 17:58:04,222 [0-main] WARN VASSAL.tools.logging.LoggedOutputStream -

Let me know if you need anything else, system specs etc

Thanks for your help so far though.

Matt

Thus spake vorman87:

J.

yeah a little confusing I agree. :slight_smile:

Below however is the error report from when I last tried to run Vassal
3.2.11-svn9002:

2014-02-11 17:58:04,218 [0-main] WARN
VASSAL.tools.logging.LoggedOutputStream - VASSAL: Problem with socket on
port 49222

Something is still preventing VASSAL from connecting to a socket on
your loopback interface (127.0.0.1). This isn’t a bug in VASSAL—it’s
a problem with your particular machine.

Try running VASSAL as admin. Does that make any difference?


J.

This started when I opened 3.2.9 for the first time in Windows 8.1. It seemed to open fine, but prompted me to download 3.2.10, which was the beginning of my problems.

The last couple of days, 3.2.11 would run once per day after start-up. When it was closed after that, it would not open again.

Following your advice I installed 3.2.9 and then 3.2.8, then 3.2.7. None of them worked.

Thus spake sithstalker:

Yes, the program only starts the first time it is launched, whether after installation, or after a restart of the PC. Running as admin does not resolve this situation.

The Vassal folder, which is in “Program Files” for 3.2.10 and later, or in “Programs File (x86)” for 3.2.0 and earlier, contained the following files plus lib and doc folders:
License, Readme and Changes txt files plus Vassal and Uninst exe files.

The lib folder has many files, but those that remained after uninstall were " swing-worker-1.2.jar", “smack.jar”, “sf4j-api-1.7.6.jar”, “miglayout-core-4.2.jar”, “logback-core-1.1.1.jar”, “logback-classic-1.1.1.jar”, “java-getopt-1.0.13.jar”, “janino.jar”, “commons-lang-2.5.jar”, “commons-io-1.4.jar”, “commons-compiler.jar”.

I know that I was running Version 3.2.0, as I have played many games with it. However, it appears that once V 3.2.10 was installed, something is not being removed that is causing the “one start only” situation. I loaded 3.1.19 to test this as well, and it also had the same problem.

Please post the contents of the errorLog (vassalengine.org/wiki/Error_Logs) following a failed attempt to launch.

The likely problem is that another process is holding open a file that VASSAL needs to write (or possibly read) on launch.

This is just what you’d expect to see if these files were being held open when the uninstaller was running. Windows won’t permit open files to be deleted. Did you have any version of VASSAL running when you launched the uninstaller?

Please post the contents of the errorLog from immediately after a failed launch attempt. Also, check the task manager to see if java.exe or anything similar is already running before a failed launch attempt.

Here is my error log:

2014-02-14 21:07:39,966 [1-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_45
2014-02-14 21:07:39,966 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.11
2014-02-14 21:07:39,966 [1-main] INFO VASSAL.launch.Launcher - Player
2014-02-14 21:07:41,098 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - VASSAL images folder found at jar:file:/C:/Program%20Files/VASSAL-3.2.11/lib/Vengine.jar!/images/
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family go-up created for go-up.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family go-down created for go-down.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family calculator created for calculator.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family network-server created for network-server.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family yes created for yes.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family no created for no.png
2014-02-14 21:07:41,103 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family VASSAL-jabber created for VASSAL-jabber.png
2014-02-14 21:07:41,104 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family VASSAL created for VASSAL.png
2014-02-14 21:07:41,104 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family network-idle created for network-idle.png
2014-02-14 21:07:41,104 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family jabber created for jabber.png
2014-02-14 21:07:41,104 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family bug created for bug.svg
2014-02-14 21:07:42,983 [1-AWT-EventQueue-0] WARN VASSAL.launch.BasicModule - War and Peace - Edition 4.0.1 version 4.0.1
2014-02-14 21:08:17,182 [1-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2014-02-14 21:08:17,651 [0-IPC receiver for 1922722747] ERROR VASSAL.tools.ipc.IPCMessageReceiver -
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_45]
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_45]
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) ~[na:1.6.0_45]
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) ~[na:1.6.0_45]
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) ~[na:1.6.0_45]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[na:1.6.0_45]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[na:1.6.0_45]
at VASSAL.tools.ipc.IPCMessageReceiver.run(IPCMessageReceiver.java:34) ~[Vengine.jar:na]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_45]
2014-02-14 21:08:19,212 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManagerWindow - Exiting

Thus spake BSkene:

Here is my error log:

Is this the complete contents of the errorLog? The first five lines
should be output from the Module Manager, not the player. How did you
launch VASSAL to produce this?


J.

Yes that is the complete contents. Vassal will open and function normally once per computer restart. If it is closed, it will not open again until another restart, as others have noted in this thread.

Thus spake BSkene:

“uckelman” wrote:

Thus spake BSkene:

Here is my error log:

Is this the complete contents of the errorLog? The first five lines
should be output from the Module Manager, not the player. How did you
launch VASSAL to produce this?


J.

Yes that is the complete contents. Vassal will open and function
normally once per computer restart. If it is closed, it will not open
again until another restart, as others have noted in this thread.

When you have this problem, is java.exe already running before you start
VASSAL? Check in the task manager.


J.

Thus spake BSkene:

“uckelman” wrote:

Thus spake BSkene:

Here is my error log:

Is this the complete contents of the errorLog? The first five lines
should be output from the Module Manager, not the player. How did you
launch VASSAL to produce this?


J.

Yes that is the complete contents. Vassal will open and function
normally once per computer restart. If it is closed, it will not open
again until another restart, as others have noted in this thread.

Also, please answer my other question: How did you launch VASSAL when
this errorLog was produced?


J.

I have the same situation that others have described. Once the program is installed, it starts once. After that, it will only start again if one restarts the PC. Also, when I use the uninstall program, it leaves the Vassal folder containing the “lib” folder, so the PC has to be restarted again to remove those. I do not get any error messages; the program just doesn’t start. So, when I brought up the error logs, there was no record. I tried again with the newly posted Version 3.2.11 and still have the same problems.

Thus spake sithstalker:

I have the same situation that others have described. Once the program
is installed, it starts once. After that, it will only start again if
one restarts the PC. Also, when I use the uninstall program, it leaves
the Vassal folder containing the “lib” folder, so the PC has to be
restarted again to remove those.

As I’ve said, all of this is consistent with some process holding open
VASSAL’s files.

I do not get any error messages; the
program just doesn’t start. So, when I brought up the error logs, there
was no record.

How did you “bring up the error logs”? Did you do this by looking at the
errorLog file, or through the Module Manager after the first run
attempt?

I tried again with the newly posted Version 3.2.11 and
still have the same problems.

That’s unsurprising, because there’s nothing in 3.2.11 which would
address the problem you’re having.

Before attempting to launch VASSAL, check in the Windows task manger
whether java.exe is already running. My suspicion is that it will not be
on your first (successful) attempt and will be on subsequent (failed)
attempts. Please let us know whether this is the case.


J.

Before initially opening Vassal, the task manager reported only Chrome as running. I opened Vassal as usual with no problem. Then I closed it. The task manager again reported only Chrome running. Vassal, as usual, failed to open a second time.

In answer to this:

"Also, please answer my other question: How did you launch VASSAL when
this errorLog was produced? "

I don’t know what else to say except what I have repeatedly, that Vassal opens once per computer restart. But isn’t the error log produced when Vassal fails to open?

Thus spake BSkene:

Before initially opening Vassal, the task manager reported only Chrome
as running. I opened Vassal as usual with no problem. Then I closed
it. The task manager again reported only Chrome running. Vassal, as
usual, failed to open a second time.

Would you show me a screenshot of the Task Manager from between the
first and second runs of VASSAL, and then again after the second run?

In answer to this:

"Also, please answer my other question: How did you launch VASSAL when
this errorLog was produced? "

I don’t know what else to say except what I have repeatedly, that Vassal
opens once per computer restart.

What I want to know is what did you did to launch VASSAL. There’s more
than one way you could be launching it, and I want to establish which
way you did it.

But isn’t the error log produced when Vassal fails to open?

An errorLog is produced by every run which gets far enough into the
launch process.


J.

Thus spake Joel Uckelman:

Thus spake BSkene:

Before initially opening Vassal, the task manager reported only Chrome
as running. I opened Vassal as usual with no problem. Then I closed
it. The task manager again reported only Chrome running. Vassal, as
usual, failed to open a second time.

Would you show me a screenshot of the Task Manager from between the
first and second runs of VASSAL, and then again after the second run?

What I want to see in particular is the Processes tab. On Windows 8,
you need to go to “More details” to get there. There’s likely to be
a longish list—take enough screenshots so that all of the rows are
visible.

On second thought, don’t bother with doing this after the second run—
what I actually need is the contents of that process list from between a
successful run and a failed run.


J.

Ok, I usually start it from the desktop icon–IIRC whenever I tried to start it form the apps page (or whatever microsoft calls it) it wouldn’t start at all.

Here is a screenshot of the processes tab relevant to Java (the whole thing is much larger than a single screen I looked over the whole list and I did did not see a line for java.exe):

I haven’t done that image embed thing for so long I donlt know if I did it right, so here is the URL where you can view it:

flickr.com/photos/malkhos/12616969764/

Thus spake BSkene:

Ok, I usually start it from the desktop icon–IIRC whenever I tried to
start it form the apps page (or whatever microsoft calls it) it wouldn’t
start at all.

Hold on to that second problem. I’d like to investigate that once we
solve the present one.

Here is a screenshot of the processes tab relevant to Java (the whole
thing is much larger than a single screen I looked over the whole list
and I did did not see a line for java.exe):

There appears to be a context menu available from the column headers in
the Processes tab which lets you determine which columns are displayed.
Please turn on “PID”, “Command line”, and “Process name” and tell me what
those columns say for the “Java™ Platform SE binary” entry between
a successful and a failed run of VASSAL.


J.

Ok. but I was only to figure out what you meant by “context menu” through blind luck.
PID: 1480
Process name" javaw.exe
“Command line:C:\Program Files \java\jre6\bin\javaw.exe”-…

I bet what you want to know is hidden by that ellipsis but I could not figure out how to expand it But I did manage to go to the details tab which confirms that java.exe is running

Thus spake BSkene:

Ok. but I was only to figure out what you meant by “context menu”
through blind luck.

“Context menu” is the standard name for menus you can bring up by
right-clicking on GUI elements.

PID: 1480
Process name" javaw.exe
“Command line:C:\Program Files \java\jre6\bin\javaw.exe”-…

I bet what you want to know is hidden by that ellipsis but I could not
figure out how to expand it

In fact, that’s precisely the thing I need. If this table is like others
typically found in Windows, then you can widen the Command line column by
dragging the boundaries between the column names. You might need to get
more space in the table by making the task manager dialog larger. It’s
also possible that you can see the complete value of that cell in a
tooltip if you hover over it.


J.