Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: A Tale of Two Tech Levels (05/28/21)

Author Topic: Broken Save Game  (Read 2985 times)

SierraTangoDelta

  • Commander
  • ***
  • Posts: 149
  • Who could it be?
    • View Profile
Broken Save Game
« on: February 28, 2016, 04:54:49 PM »

So my game froze while attempting to save, then crashed, and now the save is broken. I didn't have a whole lot of progress, so it's not a serious issue, but I am wondering if anyone knows why the crash may have occurred?
Here's the log from the first mention of the crash to the end:

143170 [Thread-5] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [data/config/exerelin/allianceNames.json]
143172 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.971838
143188 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9735044
143205 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9765039
143222 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.97917014
143238 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9816697
143255 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9841693
143272 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9866689
143288 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9890018
143305 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.99200135
143322 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.9953341
143339 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error loading
143339 [Thread-5] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  -  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity. :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
---- Debugging information ----
message             :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
class               : com.fs.starfarer.api.impl.campaign.events.SystemBountyEvent
required-type       : com.fs.starfarer.api.impl.campaign.events.SystemBountyEvent
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 1398979
class[1]            : com.fs.starfarer.campaign.events.EventProbability
class[2]            : java.util.HashMap
converter-type[1]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[3]            : com.fs.starfarer.campaign.events.CampaignEventManager
class[4]            : data.scripts.campaign.events.SSP_EventProbabilityManager
class[5]            : com.fs.starfarer.campaign.ModAndPluginData
class[6]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[2]   : com.fs.starfarer.campaign.save.oooO
version             : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity. :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
---- Debugging information ----
message             :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
class               : com.fs.starfarer.api.impl.campaign.events.SystemBountyEvent
required-type       : com.fs.starfarer.api.impl.campaign.events.SystemBountyEvent
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 1398979
class[1]            : com.fs.starfarer.campaign.events.EventProbability
class[2]            : java.util.HashMap
converter-type[1]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[3]            : com.fs.starfarer.campaign.events.CampaignEventManager
class[4]            : data.scripts.campaign.events.SSP_EventProbabilityManager
class[5]            : com.fs.starfarer.campaign.ModAndPluginData
class[6]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[2]   : com.fs.starfarer.campaign.save.oooO
version             : not available
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:480)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:412)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:110)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:480)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:412)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:480)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:412)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:110)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:480)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:412)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:480)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:412)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1070)
   at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.M.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.int.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.LoadGameDialog.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.interfacesuper.o00000(Unknown Source)
   at com.fs.starfarer.ui.null.processInput(Unknown Source)
   at com.fs.starfarer.ui.interfacesuper.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.c$Oo.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.c.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.O0OO.int.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.M.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O00O.processInput(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.processInput(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.io.StreamException:  : ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
   at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:73)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:315)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:263)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 92 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1398979,10]
Message: XML document structures must start and end within the same entity.
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)
   at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:58)
   ... 98 more
143342 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 11
143342 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 12
143342 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 13
143343 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 14
143339 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.99883354
143343 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
143343 [Thread-12] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
143343 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 15
143343 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 16
143343 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 17
143344 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 18
143344 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 19
143344 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 20
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2784
  • Your Friendly Forum Friend
    • View Profile
Re: Broken Save Game
« Reply #1 on: February 28, 2016, 05:34:43 PM »

You SHOULD be able to restore the last save that you did. Look for 2 files marked with a .bak file extension. delete the other files then remove the .bak extension and you should be good to go
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

SierraTangoDelta

  • Commander
  • ***
  • Posts: 149
  • Who could it be?
    • View Profile
Re: Broken Save Game
« Reply #2 on: February 29, 2016, 12:20:26 PM »

Thanks man, any idea what caused it to break?
It looks like it had something to do with alliance names, but I am not fluent enough in this code to know.
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2784
  • Your Friendly Forum Friend
    • View Profile
Re: Broken Save Game
« Reply #3 on: February 29, 2016, 02:34:19 PM »

Thanks man, any idea what caused it to break?
It looks like it had something to do with alliance names, but I am not fluent enough in this code to know.
You might want to list your mods and their versions and your SS version
as for the error, it might be either SS+ or Nexe but I don't know as this stuff is mostly gibberish to me
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too