Hi,
I’m making a new module and all was working until now. I have an error when I start a new game. I hope there is a little hack to resolve the problem from my module because I spent some times to make it .
Here is the log:
21 May 2009 11:25:20.647 0 -- Starting
21 May 2009 11:25:20.647 0 -- OS Windows XP
21 May 2009 11:25:20.647 0 -- Java version 1.6.0_11
21 May 2009 11:25:20.647 0 -- VASSAL version 3.1.5
21 May 2009 11:25:20.678 0 -- Manager
21 May 2009 11:25:21.662 0 -- Loading module file C:\cygwin\home\dbretin\documents\wargames\vae_victis\pour_dieu_et_pour_le_roy\pour_dieu_et_pour_le_roy-0.2.vmod
21 May 2009 11:25:21.725 0 -- Loading module Pour Dieu et Pour le Roy
21 May 2009 11:25:21.725 0 C:\Program Files\Java\jre6\bin\java -Xms256M -Xmx512M -DVASSAL.id=1 -cp lib\Vengine.jar;Vengine.jar VASSAL.launch.Player
21 May 2009 11:25:23.131 1 -- Pour Dieu et Pour le Roy version 0.2
21 May 2009 11:25:23.131 1
21 May 2009 11:25:25.319 1 java.lang.NullPointerException
at VASSAL.build.module.Map.setup(Map.java:1835)
at VASSAL.build.module.GameState.setup(GameState.java:269)
at VASSAL.build.module.GameState$3.actionPerformed(GameState.java:126)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)
The module can be found here: bretin.net/vassal/pour_dieu_et_p … y-0.2.vmod
Thanks for your help.