Jump to content

[Solved] NullPointerException when generating mission for custom squadron


Recommended Posts

Posted (edited)

I created a custom squadron JSON file for the RCAF 412 Squadron, the Falcons.  The file is mostly a copy of RAF Squadron 193.   I can assign a pilot to the squadron but I get a NullPointerException when I try and generate a mission.

 

I changed the JSON file's airfield locations and dates to reflect the historic record.   I also changed the squadronId, name, and callsign.  Perhaps one of those fields is generating the error?

 

The squadron JSON is attached. Here is the error report.

 

Any help would be appreciated.

412 Squadron.zip

Edited by Garafrax
Posted

I solved the problem.  I had to use one of the predefined squadron callsigns.  The campaign is working now.

Posted
1 hour ago, Garafrax said:

I solved the problem.  I had to use one of the predefined squadron callsigns.  The campaign is working now.

 

The problem won't be solved until the exception is caught and handled, or better yet - prevented.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...