Vassal 3.2.2 on Mac OSX won't start

I played Vassal online last night with no problem and have been using it without problem for awhile. This morning I go to open Vassal and the icon simply “bounces” but Vassal does not open. I reinstalled from my saved DMG and still the same behavior (after being warned that this is an application downloaded from the internet). I downloaded Vassal again, just in case, but I still get the same behavior.

What can I look at to see what is causing the issue. The Mac Vassal seems to be a self-contained package and I am not quite sure where to look. I looked through the user guide for “error” and “troubleshooting”, trying to find where the error logs are located, but no luck.

We need the following information:

  • Model: iMac
  • Operating System: 10.8.2
  • CPU: 3.4 GHz Intel Core i7
  • Memory: 32 GB
  • Video Card: integrated
  • Vassal version: 3.2.2
  • Java version. Get it here
  • Vassal module name and version: I don’t get that far
  • I click on the package/app included in the DMG. It bounces up one time and the application does not start.

Thanks in advance,

Dale Hurtt

vassalengine.org/wiki/Error_Logs

Thanks for that. Okay, so the fact that in “~/Library/Application Support/” there is no “VASSAL” sub-directory, where should I look next?

Thanks in advance,

Dale Hurtt

Thus spake dhurtt:

Thanks for that. Okay, so the fact that in “~/Library/Application
Support/” there is no “VASSAL” sub-directory, where should I look next?

This might mean that VASSAL is never getting to the poing of creating
that directory.

Try the “generic” package instead of the Mac one. Run VASSAL.sh from
that. Does VASSAL start then?


J.

No. It only gets worse. I anticipated that you would ask this so I tested, and received the error that it could not find java. Typing in the terminal “java -version” shows “-bash: java: command not found”. Oddly “javac -version” works.

So I go to Oracle and download Java 7. Install goes fine, but terminal still gives the same “not found” error. So, I am searching the web trying to find out what is going on.

The strange thing is, I was gaming just last night, put the Mac into Sleep mode, and this morning nothing worked. Somehow some update must have downloaded, but I would not have thought that Sleep mode would cause anything to be reloaded. Nonetheless, I have rebooted several times since.

Definitely not getting to the point where it creates the sub-directory, however. Will keep researching. Any ideas you have would be greatly appreciated as at this point, uninstalling and reinstalling is not an option; nothing works anymore.

Thanks in advance,

Dale Hurtt

Thus spake dhurtt:

No. It only gets worse. I anticipated that you would ask this so I
tested, and received the error that it could not find java. Typing in
the terminal “java -version” shows “-bash: java: command not found”.
Oddly “javac -version” works.

This is what I suspected was the problem.

I think this is an issue not with VASSAL, but with the way you have
Java installed. It seems similar to the problem which starts here

https://forum.vassalengine.org/t/missing-card-and-counter-text/5692/19

in the middle of trying to troubleshoot something else.

The immediate problem is that java isn’t on your PATH.

We’re going to need someone who is more familiar with Macs than I am to
help troubleshoot this, as I’m not sure what the canonical solution to
this problem is on a Mac.


J.

So, following that thread and some of the commands there:

$ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version dyld: Library not loaded: @rpath/libjli.jnilib Referenced from: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java Reason: image not found Trace/BPT trap: 5

$ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version java version "1.7.0_15" Java(TM) SE Runtime Environment (build 1.7.0_15-b03) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

So that command found my newly installed Oracle Java 7 JRE

$ which java

Returned nothing.

$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions total 128 lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.4 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.4.2 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.5 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.5.0 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.6 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 Feb 22 09:10 1.6.0 -> CurrentJDK drwxr-xr-x 7 root wheel 238 Feb 22 09:10 A lrwxr-xr-x 1 root wheel 1 Feb 22 09:10 Current -> A lrwxr-xr-x 1 root wheel 59 Feb 22 09:10 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

$ ls -l /usr/bin/java lrwxr-xr-x 1 root wheel 74 Feb 22 09:10 /usr/bin/java -> ?Y?y??l?F??????c?a??

$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A total 80 drwxr-xr-x 44 root wheel 1496 Feb 22 09:10 Commands drwxr-xr-x 4 root wheel 136 Oct 2 23:23 Frameworks -rwxr-xr-x 1 root wheel 103472 Feb 22 09:10 JavaVM drwxr-xr-x 42 root wheel 1428 Feb 22 09:10 Resources drwxr-xr-x 3 root wheel 102 Feb 22 09:10 _CodeSignature

$ ls -l /System/Library/Java/JavaVirtualMachines total 0 drwxr-xr-x 3 root wheel 102 Oct 4 17:51 1.6.0.jdk

Basically, I have no idea where Oracle installed the JRE. Certainly not in /System/Library/Java/JavaVirtualMachines!

$ ls -l /System/Library/Java/JavaVirtualMachines total 0 drwxr-xr-x 3 root wheel 102 Oct 4 17:51 1.6.0.jdk SPEC-IT-LLC-01:VASSAL-3.2.2 newuser$ ls -l /System/Library/Java/JavaVirtualMachines total 0 drwxr-xr-x 3 root wheel 102 Oct 4 17:51 1.6.0.jdk

$ ls -l /Library/Java/JavaVirtualMachines

Returned nothing.

I am downloading the Java 7 JDK, as that seems to be where the thread was heading.

Dale Hurtt

Okay, I downloaded the JDK 7 from Oracle, used the command below to see the newly installed JDK:

ls -l /Library/Java/JavaVirtualMachines total 0 drwxr-xr-x 3 root wheel 102 Feb 25 16:00 jdk1.7.0_15.jdk

I switched to the directory /Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home/bin/ and verified that I had a working java. I manually added that path to the $PATH in Terminal and was able to run VASSAL.sh, but I still cannot run the “normal” Mac version. So I need to figure out how to add to my path so GUI apps can see it.

So, with the information from the other thread, I am on my way.

Thanks for all the help,

Dale Hurtt

Thus spake dhurtt:

I switched to the directory
/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home/bin/ and
verified that I had a working java. I manually added that path to the
$PATH in Terminal and was able to run VASSAL.sh, but I still cannot run
the “normal” Mac version. So I need to figure out how to add to my path
so GUI apps can see it.

Please let us know what you discover so we can help other Mac users.


J.

Is there something other than PATH that the Mac version needs? I can go into Terminal and launch VASSAL.sh without a problem now, but the Mac version continues to fail to launch.

Also, you indicated that a Vassal directory would be created under /Library/Application Support/ but it does not when launching the ZIP version. Is that an indication of a problem, or is that something done by the Mac version?

Still struggling to get the favored version working (don’t like running Terminal), but at least I am working with something.

Thanks in advance,

Dale Hurtt

Thus spake dhurtt:

Is there something other than PATH that the Mac version needs? I can go
into Terminal and launch VASSAL.sh without a problem now, but the Mac
version continues to fail to launch.

I don’t know. JavaApplicationStub inside the Mac bundle is what starts
java. If you can’t start VASSAL from the Mac bundle, then my best guess
is that JavaApplicationStub is not finding java. JavaApplicationStub is
something provided by Apple—it’s not ours. So I don’t know where it
looks for java.

Ah, just found this:

lists.apple.com/archives/java-de … 00114.html

Bugger. It looks like JavaApplicationStub doesn’t work with Java 7,
and the solution is… to bundle a JRE with your app. Gah! The
situation with Java gets worse by the day.

I’m not sure what to do about this.

Also, you indicated that a Vassal directory would be created under
/Library/Application Support/ but it does not when launching the ZIP
version. Is that an indication of a problem, or is that something done
by the Mac version?

That’s ~/Library/Application Support, not /Library/Application Support.


J.

Thus spake Joel Uckelman:

Thus spake dhurtt:

Is there something other than PATH that the Mac version needs? I can go
into Terminal and launch VASSAL.sh without a problem now, but the Mac
version continues to fail to launch.

I don’t know. JavaApplicationStub inside the Mac bundle is what starts
java. If you can’t start VASSAL from the Mac bundle, then my best guess
is that JavaApplicationStub is not finding java. JavaApplicationStub is
something provided by Apple—it’s not ours. So I don’t know where it
looks for java.

Ah, just found this:

lists.apple.com/archives/java-de … 00114.html

Bugger. It looks like JavaApplicationStub doesn’t work with Java 7,
and the solution is… to bundle a JRE with your app. Gah! The
situation with Java gets worse by the day.

I’m not sure what to do about this.

I’m going to try doing a build with AppBundler:

java.net/projects/appbundler/downloads

I’ll get back to you this evening with a new build of VASSAL to test.


J.

Thus spake Joel Uckelman:

Thus spake Joel Uckelman:

Thus spake dhurtt:

Is there something other than PATH that the Mac version needs? I can go
into Terminal and launch VASSAL.sh without a problem now, but the Mac
version continues to fail to launch.

I don’t know. JavaApplicationStub inside the Mac bundle is what starts
java. If you can’t start VASSAL from the Mac bundle, then my best guess
is that JavaApplicationStub is not finding java. JavaApplicationStub is
something provided by Apple—it’s not ours. So I don’t know where it
looks for java.

Ah, just found this:

lists.apple.com/archives/java-de … 00114.html

Bugger. It looks like JavaApplicationStub doesn’t work with Java 7,
and the solution is… to bundle a JRE with your app. Gah! The
situation with Java gets worse by the day.

I’m not sure what to do about this.

I’m going to try doing a build with AppBundler:

java.net/projects/appbundler/downloads

I’ll get back to you this evening with a new build of VASSAL to test.

Does this app bundle run for you?

vassalengine.org/~uckelman/b … macosx.dmg

(BTW, I’d appreciate having reports about this particular bundle from
people running Java 5, Java 6, and Java 7 on MacOS X. It’s intended to
work on all three, and I’d like to get confirmation that it does.)


J.

Yes, it runs. But when I double-clicked on the module I was testing (successfully) with VASSAL.sh, I received an error. I filled out Bug Tracker, but here is the message:

2013-02-26 17:35:54,729 [0-main] INFO VASSAL.launch.StartUp - Starting 2013-02-26 17:35:54,733 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X 2013-02-26 17:35:54,733 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_15 2013-02-26 17:35:54,733 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8561 2013-02-26 17:35:54,875 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager 2013-02-26 17:36:16,091 [0-SwingWorker-pool-844346352-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file /Users/newuser/Vassal/Modules/BattleLore/Battlelore-3.0.vmod 2013-02-26 17:36:16,270 [0-SwingWorker-pool-844346352-thread-1] INFO VASSAL.launch.TilingHandler - No images to tile. 2013-02-26 17:36:16,270 [0-SwingWorker-pool-844346352-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module BattleLore 2013-02-26 17:36:16,277 [0-SwingWorker-pool-844346352-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -Xms256M -Xmx512M -DVASSAL.id=1 -DVASSAL.port=52248 -Duser.home=/Users/newuser -cp /Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/Classes:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-anim.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-awt-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-bridge.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-codec.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-css.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-dom.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-ext.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-extension.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-gui-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-gvt.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-parser.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-script.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-svg-dom.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-svggen.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-swing.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-transcoder.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/batik-xml.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/BrowserLauncher2-1_3.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/bsh-2.0b4-vassal.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/commons-codec-1.6.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/commons-compiler.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/commons-io-1.4.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/commons-lang-2.5.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/guava-r06.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/janino.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/java-getopt-1.0.13.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/jl1.0.1.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/jna.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/logback-classic-1.0.7.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/logback-core-1.0.7.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/miglayout-core-4.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/miglayout-swing-4.2ju.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/slf4j-api-1.7.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/smack.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/smackx-debug.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/smackx.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/swing-layout-1.0.3.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/swing-worker-1.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/swingx-0.9.4.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/TimingFramework-1.0.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/Vengine.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/wizard.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/xalan-2.6.0.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/xercesImpl.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/xml-apis-ext.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8561.app/Contents/Java/xml-apis.jar -Xdock:name=BattleLore -Xdock:icon=/Users/newuser/Contents/Resources/VASSAL.icns -Dapple.awt.graphics.UseQuartz=false VASSAL.launch.Player --load -- /Users/newuser/Vassal/Modules/BattleLore/Battlelore-3.0.vmod 2013-02-26 17:36:16,933 [1-main] INFO VASSAL.launch.StartUp - Starting 2013-02-26 17:36:16,938 [1-main] INFO VASSAL.launch.StartUp - OS Mac OS X 2013-02-26 17:36:16,938 [1-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_15 2013-02-26 17:36:16,938 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8561 2013-02-26 17:36:16,938 [1-main] INFO VASSAL.launch.Launcher - Player 2013-02-26 17:36:18,624 [1-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog - java.lang.IllegalStateException: Icon Family VASSAL not found at VASSAL.tools.icon.IconFactory.getIcon(IconFactory.java:116) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook$AddressBookEntry.getIcon(ServerAddressBook.java:581) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook.getCurrentIcon(ServerAddressBook.java:356) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.setValue(AddressBookServerConfigurer.java:99) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer$2.propertyChange(AddressBookServerConfigurer.java:77) ~[Vengine.jar:na] at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) ~[na:1.7.0_15] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) ~[na:1.7.0_15] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) ~[na:1.7.0_15] at VASSAL.chat.ServerAddressBook.setCurrentServer(ServerAddressBook.java:312) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook.setCurrentServer(ServerAddressBook.java:272) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.setValue(AddressBookServerConfigurer.java:95) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.<init>(AddressBookServerConfigurer.java:62) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.initServer(BasicModule.java:192) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.build(BasicModule.java:145) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.build(BasicModule.java:111) ~[Vengine.jar:na] at VASSAL.build.GameModule.init(GameModule.java:853) ~[Vengine.jar:na] at VASSAL.launch.Player.launch(Player.java:85) ~[Vengine.jar:na] at VASSAL.launch.Launcher$1.run(Launcher.java:149) ~[Vengine.jar:na] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) ~[na:1.7.0_15] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) ~[na:1.7.0_15] at java.awt.EventQueue.access$200(EventQueue.java:103) ~[na:1.7.0_15] at java.awt.EventQueue$3.run(EventQueue.java:688) ~[na:1.7.0_15] at java.awt.EventQueue$3.run(EventQueue.java:686) ~[na:1.7.0_15] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_15] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) ~[na:1.7.0_15] at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) ~[na:1.7.0_15] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [na:1.7.0_15] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [na:1.7.0_15]

We are getting closer. I tried another module and received the same error. This is a module that I was in the process of building before all of these issues started.

By the way, I figured out why I could not see the VASSAL directory in ~/Library/Application Support: it is normally hidden from view in the Finder. When I went to terminal it was there. EDIT: I tried restarting the Mac OS X 3.2.2 version and looked at the errorLog and I can see that it is not even getting to the point where it is writing something to the logs before it quits. That is probably an indicator that it cannot find Java in order to start the log writing code, correct?

Thanks for all your hard work. Please find a $50 donation to your organization. It has been long overdue, to be honest.

Regards,

Dale Hurtt

Thus spake dhurtt:

Yes, it runs. But when I double-clicked on the module I was testing
(successfully) with VASSAL.sh, I received an error. I filled out Bug
Tracker, but here is the message:

java.lang.IllegalStateException: Icon Family VASSAL not found

I think the app launcher is not setting the correct working directory.
I’ll adjust that and post another build for you to try.

By the way, I figured out why I could not see the VASSAL directory in
~/Library/Application Support: it is normally hidden from view in the
Finder.

I was not aware of that. This explains why some other Mac users have
said it’s not there. I’ve added a note about that to the wiki.

When I went to terminal it was there. Should I zero out the
errorLog and try restarting the Mac OS X 3.2.2 version and send you the
logs (or paste them here)?

Yes, please.

Thanks for all your hard work. Please find a $50 donation to your
organization. It has been long overdue, to be honest.

Got it. Thanks! Donations pay our hosting bills.


J.

Thus spake dhurtt:

I tried restarting
the Mac OS X 3.2.2 version and looked at the errorLog and I can see that
it is not even getting to the point where it is writing something to the
logs before it quits. That is probably an indicator that it cannot find
Java in order to start the log writing code, correct?

Yes, This is what I suspected was happening. Thanks for confirming.


J.

Thus spake dhurtt:

Yes, it runs. But when I double-clicked on the module I was testing
(successfully) with VASSAL.sh, I received an error. I filled out Bug
Tracker, but here is the message:

Try this build:

vassalengine.org/~uckelman/b … macosx.dmg

It contains a change which should help get the working directory right.


J.

I was able to launch, as with the last one, but when I double-clicked a known working module (with VASSAL.sh), I received the following error:

2013-02-28 20:17:23,485 [0-main] INFO VASSAL.launch.StartUp - Starting 2013-02-28 20:17:23,488 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X 2013-02-28 20:17:23,488 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_15 2013-02-28 20:17:23,488 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8566 2013-02-28 20:17:23,688 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager 2013-02-28 20:17:28,420 [0-SwingWorker-pool-926814604-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file /Users/newuser/Vassal/Modules/BattleLore/Battlelore-3.0.vmod 2013-02-28 20:17:28,549 [0-SwingWorker-pool-926814604-thread-1] INFO VASSAL.launch.TilingHandler - No images to tile. 2013-02-28 20:17:28,550 [0-SwingWorker-pool-926814604-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module BattleLore 2013-02-28 20:17:28,604 [0-SwingWorker-pool-926814604-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -Xms256M -Xmx512M -DVASSAL.id=1 -DVASSAL.port=61549 -Duser.home=/Users/newuser -cp /Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/Classes:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-anim.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-awt-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-bridge.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-codec.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-css.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-dom.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-ext.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-extension.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-gui-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-gvt.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-parser.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-script.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-svg-dom.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-svggen.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-swing.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-transcoder.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-util.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/batik-xml.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/BrowserLauncher2-1_3.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/bsh-2.0b4-vassal.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/commons-codec-1.6.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/commons-compiler.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/commons-io-1.4.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/commons-lang-2.5.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/guava-r06.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/janino.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/java-getopt-1.0.13.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/jl1.0.1.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/jna.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/logback-classic-1.0.7.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/logback-core-1.0.7.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/miglayout-core-4.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/miglayout-swing-4.2ju.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/slf4j-api-1.7.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/smack.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/smackx-debug.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/smackx.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/swing-layout-1.0.3.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/swing-worker-1.2.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/swingx-0.9.4.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/TimingFramework-1.0.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/Vengine.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/wizard.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/xalan-2.6.0.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/xercesImpl.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/xml-apis-ext.jar:/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Java/xml-apis.jar -Xdock:name=BattleLore -Xdock:icon=/Users/newuser/Vassal/VASSAL-3.2.3-svn8566.app/Contents/Resources/VASSAL.icns -Dapple.awt.graphics.UseQuartz=false VASSAL.launch.Player --load -- /Users/newuser/Vassal/Modules/BattleLore/Battlelore-3.0.vmod 2013-02-28 20:17:29,271 [1-main] INFO VASSAL.launch.StartUp - Starting 2013-02-28 20:17:29,277 [1-main] INFO VASSAL.launch.StartUp - OS Mac OS X 2013-02-28 20:17:29,277 [1-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_15 2013-02-28 20:17:29,277 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8566 2013-02-28 20:17:29,277 [1-main] INFO VASSAL.launch.Launcher - Player 2013-02-28 20:17:30,912 [1-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog - java.lang.IllegalStateException: Icon Family VASSAL not found at VASSAL.tools.icon.IconFactory.getIcon(IconFactory.java:116) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook$AddressBookEntry.getIcon(ServerAddressBook.java:581) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook.getCurrentIcon(ServerAddressBook.java:356) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.setValue(AddressBookServerConfigurer.java:99) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer$2.propertyChange(AddressBookServerConfigurer.java:77) ~[Vengine.jar:na] at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) ~[na:1.7.0_15] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) ~[na:1.7.0_15] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) ~[na:1.7.0_15] at VASSAL.chat.ServerAddressBook.setCurrentServer(ServerAddressBook.java:312) ~[Vengine.jar:na] at VASSAL.chat.ServerAddressBook.setCurrentServer(ServerAddressBook.java:272) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.setValue(AddressBookServerConfigurer.java:95) ~[Vengine.jar:na] at VASSAL.chat.AddressBookServerConfigurer.<init>(AddressBookServerConfigurer.java:62) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.initServer(BasicModule.java:192) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.build(BasicModule.java:145) ~[Vengine.jar:na] at VASSAL.launch.BasicModule.build(BasicModule.java:111) ~[Vengine.jar:na] at VASSAL.build.GameModule.init(GameModule.java:854) ~[Vengine.jar:na] at VASSAL.launch.Player.launch(Player.java:85) ~[Vengine.jar:na] at VASSAL.launch.Launcher$1.run(Launcher.java:149) ~[Vengine.jar:na] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) ~[na:1.7.0_15] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) ~[na:1.7.0_15] at java.awt.EventQueue.access$200(EventQueue.java:103) ~[na:1.7.0_15] at java.awt.EventQueue$3.run(EventQueue.java:688) ~[na:1.7.0_15] at java.awt.EventQueue$3.run(EventQueue.java:686) ~[na:1.7.0_15] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_15] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) ~[na:1.7.0_15] at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) ~[na:1.7.0_15] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [na:1.7.0_15] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [na:1.7.0_15] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [na:1.7.0_15]

So it looks like the Vassal Icon Family is still not found. Could that be because my PATH is messed up for GUI applications, somehow?

Thanks in advance,

Dale

Thus spake dhurtt:

I was able to launch, as with the last one, but when I double-clicked a
known working module (with VASSAL.sh), I received the following error:

I see that -Duser.dir isn’t being passed to the children of the Module
Manager. I’ve fixed that. Try this build:

vassalengine.org/~uckelman/b … macosx.dmg


J.

Still received the same error: java.lang.IllegalStateException: Icon Family VASSAL not found

Was this version supposed to be the same as the last version? The DMG file version was different, but the Vassal version was the same.

Dale