Jump to content

Recommended Posts

Posted (edited)

My "Pony Boy" P-51B campaign is missing in the generator.

Pony Boy.zip

Edited by Spidey002
Posted

It may be some other issue but look in the PWCGErrorLog.txt file in the PWCGBos folder. Likely there will be an issue with something like a squadron json file missing that the campaign references or something similar that PWCG feels is required to be able to administer the campaign and generate missions, so PWCG reacts to this type of error but not presenting the campaign as a selection.

Posted
On 2/25/2023 at 8:16 PM, Stonehouse said:

It may be some other issue but look in the PWCGErrorLog.txt file in the PWCGBos folder. Likely there will be an issue with something like a squadron json file missing that the campaign references or something similar that PWCG feels is required to be able to administer the campaign and generate missions, so PWCG reacts to this type of error but not presenting the campaign as a selection.

 

Here's the error log. Not quite sure where to go from here.

PWCGErrorLog.txt

Posted

Ok. I think I figured it out. There was an equipment file that cut off randomly at a certain line. 

I copied and pasted info to finish out the plane, and now the file works. 

 

I feel like the file should be much longer (I compared it to a file from a campaign in a similar time period.) There are much fewer Typhoons in our equipment now.

 

But as I'm flying the Mustang B, I'm hoping this won't affect me much.

 

The campaign is showing up again!

  • Spidey002 changed the title to Solved: Campaign Missing
Posted (edited)
2 hours ago, Spidey002 said:

Ok. I think I figured it out. There was an equipment file that cut off randomly at a certain line. 

I copied and pasted info to finish out the plane, and now the file works. 

 

I feel like the file should be much longer (I compared it to a file from a campaign in a similar time period.) There are much fewer Typhoons in our equipment now.

 

But as I'm flying the Mustang B, I'm hoping this won't affect me much.

 

The campaign is showing up again!

 

Looks like that file is getting corrupted somehow. Not a java person but believe the below indicates an unexpected end of file at the given line.

 

@PatrickAWlson is it possible that something in the update of equipment info post mission is going haywire under certain circumstances? I/O error writing out a record to the file that is not trapped so you end up with an unlogged incomplete update maybe?  If the I/O error didn't crash the program then it would look like the post mission updates worked ok when in fact it left the campaign with a broken equipment file. Particularly possible if the error occurred in a called sub program/module and the calling program didn't monitor for the called one ending in error.

 

I think I remember someone else getting a problem with a corrupt equipment file recently and you ended up creating a dummy/mocked up file for them so they could continue their campaign?

 

java.io.EOFException: End of input at line 144 column 11590 path $.equippedPlanes..climbOutRate

 

Edited by Stonehouse

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...