On Jan 30, 2008, at 12:06 PM, Joel Uckelman wrote:
Ah. OK. But it’s not terribly informative.
BTW, I like the new, tiled map loading. Trés Chic!
– OS Mac OS X
– Java version 1.5.0_13
– VASSAL version 3.1.0-svn2917
java.io.IOException: ‘Afrika Korps’ not found in /Users/tar/VASSAL/
Preferences
at VASSAL.tools.DataArchive.getFileStream(DataArchive.java:383)
at
VASSAL.tools.ArchiveWriter.getFileStream(ArchiveWriter.java:181)
at VASSAL.preferences.Prefs.init(Prefs.java:125)
at VASSAL.preferences.Prefs.(Prefs.java:54)
at VASSAL.build.GameModule.getPrefs(GameModule.java:367)
at
VASSAL.launch.BasicModule.initIdentityPreferences(BasicModule.java:140)
at VASSAL.launch.BasicModule.build(BasicModule.java:114)
at VASSAL.launch.BasicModule.build(BasicModule.java:77)
at VASSAL.build.GameModule.init(GameModule.java:697)
at
VASSAL.launch.LoadModuleAction.loadModule(LoadModuleAction.java:53)
at
VASSAL.launch.LoadModuleAction.performAction(LoadModuleAction.java:46)
at
VASSAL.launch.GameModuleAction.actionPerformed(GameModuleAction.java:57)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2202)
at
javax
.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax
.swing
.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
236)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:
3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java
.awt
.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
269)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
110)
– Afrika Korps version 1.1
java.io.FileNotFoundException: Info.plist (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileReader.(FileReader.java:55)
at VASSAL.build.module.GlobalOptions
$2.propertyChange(GlobalOptions.java:206)
at
java
.beans
.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:
333)
at
java
.beans
.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:
270)
at VASSAL.configure.Configurer.fireUpdate(Configurer.java:122)
at VASSAL.preferences.PrefsEditor.save(PrefsEditor.java:201)
at VASSAL.preferences.PrefsEditor
$2.actionPerformed(PrefsEditor.java:88)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2202)
at
javax
.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax
.swing
.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
236)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:
3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java
.awt
.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
269)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at VASSAL.preferences.PrefsEditor
$6.actionPerformed(PrefsEditor.java:223)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2202)
at
javax
.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:
1051)
at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI
$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:
3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java
.awt
.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
269)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
110)
java.io.FileNotFoundException: Info.plist (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileReader.(FileReader.java:55)
at VASSAL.build.module.GlobalOptions
$2.propertyChange(GlobalOptions.java:206)
at
java
.beans
.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:
333)
at
java
.beans
.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:
270)
at VASSAL.configure.Configurer.fireUpdate(Configurer.java:122)
at VASSAL.preferences.PrefsEditor.save(PrefsEditor.java:201)
at VASSAL.preferences.PrefsEditor
$2.actionPerformed(PrefsEditor.java:88)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2202)
at
javax
.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax
.swing
.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
236)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:
3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java
.awt
.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
269)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at VASSAL.preferences.PrefsEditor
$6.actionPerformed(PrefsEditor.java:223)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2202)
at
javax
.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:
1051)
at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI
$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:
3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java
.awt
.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
269)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
110)
It’s only 672K, when the corresponding zip is ~12M, which looks odd to
start with.
Trying to mount it reports the image is corrupt, but it does mount and
contains a file-system.
Trying to run the app fails - Info.plist contains nothing but ‘^@’, and
JavaStubApplication is not recognised as an executable. (Oddly enough,
the latter seems to contain a lot of my browser history, but I suspect
that’s a case of the OS padding out ‘missing’ file contents with
recently-freed memory.)
2917 zip seems fine, apart from the MainClass fix in Info.plist Thomas
already noted. Updating the JVM memory allocation is sticky in the
Preferences window across re-starts, but never makes it into the Info.plist.
When VASSAL is running, Info.getHomeDir() returns a ‘Home Directory’. This is where the ext and plugins folders should be created. This is also where the preferences file is saved and the errorLog file is created.
Regards,
Brent.
*********** REPLY SEPARATOR ***********
On 30/01/2008 at 8:44 PM Tim Franklin wrote:
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton@uws.edu.au
Cool, that at least removes any problems of trying to install them
inside the application bundle if they were to go in the application
directory (i.e. alongside the ‘lib’ directory) for other platforms.
Hi All,
I’m not sure but I downloaded the last file from the link above, which opened Vassel but nothing else happened. Have I jumped the gun (no pun intended)?
Thanks again for all your efforts!
Anthony
ps If I haven’t said it already I am on an Intel Mac.
Sorry, I think that was me and Joel hijacking the thread
I have some tweaks to the script that make things work more Mac-like - I just need to convert the icon to Mac format and add to the script. Should be able to sort it tonight, then I’ll either post it somewhere or see how Tim M wants to handle adding it in.
Sorry, we were sidetracked into building Mac bundles in general, which
doesn’t solve your particular problem. We’re relocating the discussion
of that to another thread, so Tim et al. can get back to fixing the
CC module problem here.
Unzip the file, and place the two files it contains inside the ‘Combat Commander 1-80’ folder you get from unzipping the main module. (If you get a ‘CombatCommanderMacExtra’ folder, take the files out of that folder and put them in the regular Combat Commander 1-80 folder - don’t move the whole folder or it won’t work!)
Then double-click on ‘CombatCommanderMac.command’ to run the module.
There may be a Terminal window left behind after you quit Combat Commander - once this window shows ‘[Process completed]’, it’s safe to just close it.