Create account / Log in

ERROR Message help

Discussion area for the development team.

Moderators: Tim M, uckelman

ERROR Message help

Postby drimmer » November 7th, 2019, 3:32 pm

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]
Doug
drimmer
 
Posts: 21
Joined: May 21st, 2014, 4:48 pm

Re: ERROR Message help

Postby uckelman » November 7th, 2019, 10:23 pm

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.
User avatar
uckelman
Site Admin
 
Posts: 8119
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: ERROR Message help

Postby drimmer » November 10th, 2019, 7:40 pm

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.
Doug
drimmer
 
Posts: 21
Joined: May 21st, 2014, 4:48 pm

Re: ERROR Message help

Postby uckelman » November 10th, 2019, 7:47 pm

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.
User avatar
uckelman
Site Admin
 
Posts: 8119
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: ERROR Message help

Postby drimmer » November 11th, 2019, 2:05 pm

That worked! Many thanks.
Doug
drimmer
 
Posts: 21
Joined: May 21st, 2014, 4:48 pm


Return to Developers

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest

cron