Spidey002 Posted October 24, 2021 Posted October 24, 2021 I just finished flying a mission for my USAF Mustang Pilot in "Spidey's Campaign." But when I returned to PWCG to do the combat report, my campaign was missing! It didn't show on the opening screen! The folder "Spideys Campaign" was still in the "Campaigns" folder in "User." I was also able to create a new campaign, but still can't access my old campaign (and I'd hate to have to start over!) I checked the PWCGErrorLog and saw this entry: Quote PWCG Error Sat Oct 23 22:07:45 CDT 2021 pwcg.core.exception.PWCGException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 581 column 7113 path $.squadronMemberCollection..country at pwcg.campaign.io.json.JsonObjectReader.readJsonFile(JsonObjectReader.java:50) at pwcg.campaign.io.json.CampaignPersonnelIOJson.readSquadron(CampaignPersonnelIOJson.java:81) at pwcg.campaign.io.json.CampaignPersonnelIOJson.readSquadrons(CampaignPersonnelIOJson.java:74) at pwcg.campaign.io.json.CampaignPersonnelIOJson.readJson(CampaignPersonnelIOJson.java:64) at pwcg.campaign.io.json.CampaignIOJson.readJson(CampaignIOJson.java:49) at pwcg.campaign.Campaign.readValidCampaign(Campaign.java:109) at pwcg.campaign.Campaign.open(Campaign.java:61) at pwcg.gui.maingui.PwcgMainScreen.makeCampaignPanel(PwcgMainScreen.java:325) at pwcg.gui.maingui.PwcgMainScreen.refresh(PwcgMainScreen.java:122) at pwcg.gui.maingui.PwcgMainScreen.makePanels(PwcgMainScreen.java:82) at pwcg.gui.maingui.PwcgMain.startPWCG(PwcgMain.java:44) at pwcg.gui.maingui.PwcgMain.main(PwcgMain.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61) Any ideas what I should do?
PatrickAWlson Posted October 24, 2021 Posted October 24, 2021 11 hours ago, Spidey002 said: I just finished flying a mission for my USAF Mustang Pilot in "Spidey's Campaign." But when I returned to PWCG to do the combat report, my campaign was missing! It didn't show on the opening screen! The folder "Spideys Campaign" was still in the "Campaigns" folder in "User." I was also able to create a new campaign, but still can't access my old campaign (and I'd hate to have to start over!) I checked the PWCGErrorLog and saw this entry: Any ideas what I should do? zip up the PWCG campaign directory (PWCGBoS\User\<Campaign>) and post it. The error is stating that one of the personnel files contains invalid JSON. Did you try to hand edit a file? if not it's kind of odd since the file is written and read via GSON. It would be pretty odd for GSON to create a file that it is unable to read back in.
Spidey002 Posted October 24, 2021 Author Posted October 24, 2021 (edited) Thanks for taking a look, Patrick! I haven't edited any files. The first time I even dug into the folders was when my campaign stopped showing up. Attaching my "Campaigns" directory. Has "Spideys Campaign" (the missing one), and "Beau RAF" (the new one I created to see if it would work). ~ Spidey Campaigns.zip Edited October 24, 2021 by Spidey002
PatrickAWlson Posted October 24, 2021 Posted October 24, 2021 I cannot even begin to tell you what happened. 66th squadron file was mangled. Fortunately, not the squadron that you are flying with. I repaired it an can get into your campaign again. Data was lost so it is possible that some 66 Squadron pilots are gone. Repaired campaign attached. Spideys Campaign.zip 1
Spidey002 Posted October 24, 2021 Author Posted October 24, 2021 Weird! Able to access campaign again, but it won't let me report my most recent combat mission. Maybe because of the missing squadron? Error log tells me to post this file to the forum. Spideys Campaign202110241610373.zip If that mission is a loss, I'm ok with that, as long as I can keep playing.
PatrickAWlson Posted October 24, 2021 Posted October 24, 2021 Given what happened to that file, I would not be shocked that there are issues with anything that happened in the past. I would take a day's leave and continue on. The leave process will hopefully reset things. 1
Spidey002 Posted October 25, 2021 Author Posted October 25, 2021 I took leave, started a new mission, flew the mission, and got the part where I submit my report of victories claimed, and get the same error. I checked the error log, and got this: Quote PWCG Error Sun Oct 24 21:38:01 CDT 2021 java.lang.NullPointerException at pwcg.campaign.squadron.SquadronViability.isSquadronActive(SquadronViability.java:24) at pwcg.campaign.squadron.SquadronViability.isSquadronViable(SquadronViability.java:60) at pwcg.aar.outofmission.phase1.elapsedtime.OutOfMissionPilotSelector.isSquadronViable(OutOfMissionPilotSelector.java:43) at pwcg.aar.outofmission.phase1.elapsedtime.OutOfMissionPilotSelector.shouldPilotBeEvaluated(OutOfMissionPilotSelector.java:32) at pwcg.aar.outofmission.phase1.elapsedtime.OutOfMissionVictoryEventHandler.generateOutOfMissionVictories(OutOfMissionVictoryEventHandler.java:35) at pwcg.aar.outofmission.phase1.elapsedtime.AARSimulatedMission.outOfMissionVictoriesAndLosses(AARSimulatedMission.java:32) at pwcg.aar.outofmission.phase1.elapsedtime.AARSimulatedMission.simulateMissionEvents(AARSimulatedMission.java:26) at pwcg.aar.outofmission.AARCoordinatorOutOfMission.simulateMission(AARCoordinatorOutOfMission.java:75) at pwcg.aar.outofmission.AARCoordinatorOutOfMission.eventsForNextCampaignDate(AARCoordinatorOutOfMission.java:63) at pwcg.aar.outofmission.AARCoordinatorOutOfMission.reconcileOutOfMission(AARCoordinatorOutOfMission.java:51) at pwcg.aar.outofmission.AARCoordinatorOutOfMission.coordinateOutOfMissionAAR(AARCoordinatorOutOfMission.java:38) at pwcg.aar.AARCoordinatorMissionHandler.determineOutOfMissionResults(AARCoordinatorMissionHandler.java:65) at pwcg.aar.AARCoordinatorMissionHandler.outOfMission(AARCoordinatorMissionHandler.java:45) at pwcg.aar.AARCoordinatorMissionHandler.tabulateMissionAAR(AARCoordinatorMissionHandler.java:30) at pwcg.aar.AARCoordinator.performMissionAAR(AARCoordinator.java:128) at pwcg.aar.AARCoordinator.submitAAR(AARCoordinator.java:51) at pwcg.gui.rofmap.debrief.AARSubmitter.submitAAR(AARSubmitter.java:14) at pwcg.gui.rofmap.debrief.AARInitiationScreen.submitReport(AARInitiationScreen.java:151) at pwcg.gui.rofmap.debrief.AARInitiationScreen.actionPerformed(AARInitiationScreen.java:125) 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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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) Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\ Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\Missions\PWCG\ Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\Multiplayer\Cooperative\ Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\Multiplayer\Cooperative\\Examples_coop Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Coop\ Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\CombatReports Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\CombatReports\1000001 Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\config Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\Equipment Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\Equipment\Replacements Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\MissionData Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\Personnel Directory being copied is D:\Program Files\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\PWCGBoS\User\Campaigns\Spideys Campaign\Personnel\Replacements The alert also told me to submit the attached zip. Am I totally screwed? Spideys Campaign202110242110179.zip
Spidey002 Posted October 25, 2021 Author Posted October 25, 2021 Worst case scenario, I’ll begin a new campaign on the most recent date with a different squadron. For RP purposes, I’ll say that I was transferred out and given a promotion to 2nd Lieutenant (it was about due, I think). I’ll lose my medals, but there are plenty more to be earned over the course of the war.
PatrickAWlson Posted October 25, 2021 Posted October 25, 2021 Let me take a look. I think I can do something to fix it. 1
PatrickAWlson Posted October 27, 2021 Posted October 27, 2021 The latest error was also due to issues with 66 squadron corruption. The last time I tried to repair 66 squadron. This time I just grabbed the personnelfilefrom another campaign and dropped it into yours. I took a days leave without a problem. Spideys Campaign.zip 1
Spidey002 Posted October 28, 2021 Author Posted October 28, 2021 It worked! Able to fly mission and claim my kills. Thanks again! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now