Page 1 of 1

ERROR Message help

PostPosted: November 7th, 2019, 3:32 pm
by drimmer
I am getting the following error message when I try to run a module I have developed. Any thoughts on what might be causing this?

2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Starting
2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Java version 1.8.0_152
2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.17
2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.Launcher - Player
2019-11-07 10:30:14,520 [0-main] ERROR VASSAL.tools.ErrorDialog -
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542) ~[na:1.8.0_152]
at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_152]
at VASSAL.launch.Launcher.<init>(Launcher.java:120) ~[Vengine.jar:na]
at VASSAL.launch.Player.<init>(Player.java:60) ~[Vengine.jar:na]
at VASSAL.launch.Player.main(Player.java:55) ~[Vengine.jar:na]

Re: ERROR Message help

PostPosted: November 7th, 2019, 10:23 pm
by uckelman
Thus spake drimmer:
> I am getting the following error message when I try to run a module I
> have developed. Any thoughts on what might be causing this?
>
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Starting
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - OS
> Windows 10 10.0
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Java
> version 1.8.0_152
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - VASSAL
> version 3.2.17
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.Launcher - Player
> 2019-11-07 10:30:14,520 [0-main] ERROR VASSAL.tools.ErrorDialog -
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:542) ~[na:1.8.0_152]
> at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_152]
> at VASSAL.launch.Launcher.(Launcher.java:120) ~[Vengine.jar:na]
> at VASSAL.launch.Player.(Player.java:60) ~[Vengine.jar:na]
> at VASSAL.launch.Player.main(Player.java:55) ~[Vengine.jar:na]

Is this the full errorLog? How exactly did you launch VASSAL?

--
J.

Re: ERROR Message help

PostPosted: November 10th, 2019, 7:40 pm
by drimmer
uckelman wrote:Thus spake drimmer:
> I am getting the following error message when I try to run a module I
> have developed. Any thoughts on what might be causing this?
>
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Starting
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - OS
> Windows 10 10.0
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Java
> version 1.8.0_152
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - VASSAL
> version 3.2.17
> 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.Launcher - Player
> 2019-11-07 10:30:14,520 [0-main] ERROR VASSAL.tools.ErrorDialog -
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:542) ~[na:1.8.0_152]
> at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_152]
> at VASSAL.launch.Launcher.(Launcher.java:120) ~[Vengine.jar:na]
> at VASSAL.launch.Player.(Player.java:60) ~[Vengine.jar:na]
> at VASSAL.launch.Player.main(Player.java:55) ~[Vengine.jar:na]

Is this the full errorLog? How exactly did you launch VASSAL?

--
J.


Yes, this is the full log. I am running this from within my IDE (IntelliJ) with VASSAL.Launch.Player set as the main class. This is normal for modules that I work on. Thanks for your help.

Re: ERROR Message help

PostPosted: November 10th, 2019, 7:47 pm
by uckelman
Thus spake drimmer:
> "uckelman" wrote:
> > Thus spake drimmer:
> > > I am getting the following error message when I try to run a module
> > I
> > > have developed. Any thoughts on what might be causing this?
> > >
> > > 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp -
> > Starting
> > > 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - OS
> > > Windows 10 10.0
> > > 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp - Java
> > > version 1.8.0_152
> > > 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.StartUp -
> > VASSAL
> > > version 3.2.17
> > > 2019-11-07 10:30:14,366 [0-main] INFO VASSAL.launch.Launcher -
> > Player
> > > 2019-11-07 10:30:14,520 [0-main] ERROR VASSAL.tools.ErrorDialog -
> > > java.lang.NumberFormatException: null
> > > at java.lang.Integer.parseInt(Integer.java:542) ~[na:1.8.0_152]
> > > at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_152]
> > > at VASSAL.launch.Launcher.(Launcher.java:120) ~[Vengine.jar:na]
> > > at VASSAL.launch.Player.(Player.java:60) ~[Vengine.jar:na]
> > > at VASSAL.launch.Player.main(Player.java:55) ~[Vengine.jar:na]
> >
> > Is this the full errorLog? How exactly did you launch VASSAL?
> >
> > --
> > J.
>
>
> Yes, this is the full log. I am running this from within my IDE
> (IntelliJ) with VASSAL.Launch.Player set as the main class. This is
> normal for modules that I work on. Thanks for your help.

I suspect you're not running with the --standalone flag, which is required
when you run the Player directly.

--
J.

Re: ERROR Message help

PostPosted: November 11th, 2019, 2:05 pm
by drimmer
That worked! Many thanks.