Closed SneakyDevil closed 3 years ago
That's strange, nothing chmaged between 1.2 and 1.2.1 in regards to that. This looks more like disabled mod or incorrectly installed update to me. Can you verify that:
Yeah, mod_json is there showing 1.2.1 and the mod is checked in the launcher, I even unchecked the mod to try and load the save without the mod, save the game, then load the save with the mod but even with the mod disabled is slaps me with that error.
At this stage I can't trace it back to anything that has changed in 1.2.1. It seems that you perhaps are upgrading from 1.1.x version instead. Or perhaps more info is needed, could you copy what's lower in the log file, e.g. after line:
com.thoughtworks.xstream.converters.ConversionException:
What you can do to fix your save is to go back to the version you used (when you hover over save in load game it should show you versions you used), uninstall mod (there's a stelnet.json setting for that) - save when uninstalled, and then upgrade. Still, would like to trace this back if there's an issue with the code.
Thanks,
Yeah, I uh already tried to go back to previous versions and it gives the same error. Is it possible that this is because another mod was updated?
113772 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error loading
113772 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager -
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : stelnet.market.IntelQuery
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
line number : 507898
class[1] : stelnet.market.MarketQueryBoard
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : com.fs.util.container.repo.ObjectRepository
class[3] : com.fs.starfarer.campaign.comms.v2.IntelManager
class[4] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : stelnet.market.IntelQuery
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
line number : 507898
class[1] : stelnet.market.MarketQueryBoard
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : com.fs.util.container.repo.ObjectRepository
class[3] : com.fs.starfarer.campaign.comms.v2.IntelManager
class[4] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
It should not be the case. Could you please upload your save somewhere?
save_ChadMcThunder_5789684685987630311.zip Sure here is the save
Your save uses 1.1.3. You can open descriptor.xml
, ctrl+f stelnet and see:
<spec z="238">
<id>stelnet</id>
<desc>Stellar Networks - a collection of intel boards</desc>
<name>Stellar Networks</name>
<gameVersion z="239">
<major>0.95</major>
<minor>15</minor>
<patch></patch>
<string>0.95a-RC15</string>
</gameVersion>
<versionInfo z="240">
<major>1</major>
<minor>1</minor>
<patch>3</patch>
<string>1.1.3</string>
</versionInfo>
<author>Jaghaimo</author>
<path>F:\Games\Starsector .95\starsector-core\..\mods\stelnet</path>
<dirName>stelnet</dirName>
<totalConversion>false</totalConversion>
<utility>true</utility>
<modPluginClassName>stelnet.StelnetMod</modPluginClassName>
<fullOverrides z="241"></fullOverrides>
<jars z="242">
<st>stelnet.jar</st>
</jars>
<requiredMemoryMB>0</requiredMemoryMB>
<dependencies z="243"></dependencies>
</spec>
Install 1.1.3 again, enable uninstallMod
flag in stelnet.json
, load game and save (stelnet will be removed) and then upgrade to 1.2.1.
Uh, that didn't work. I redownloaded 1.1.3, deleted the stelnet folder in mods, and placed the one from the zip in there. Then I did as you said and changed the uninstall param in the .json file to true. The error I get from loading the save is as follows.
113772 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error loading
113772 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager -
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : stelnet.market.IntelQuery
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
line number : 507898
class[1] : stelnet.market.MarketQueryBoard
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : com.fs.util.container.repo.ObjectRepository
class[3] : com.fs.starfarer.campaign.comms.v2.IntelManager
class[4] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : stelnet.market.IntelQuery
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
line number : 507898
class[1] : stelnet.market.MarketQueryBoard
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : com.fs.util.container.repo.ObjectRepository
class[3] : com.fs.starfarer.campaign.comms.v2.IntelManager
class[4] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
Right, let's try to fix your save if possible. Try installing 1.1.4 which is a bugfix for 1.1.3. Just delete old and extract new. No changes in settings, make sure mod is visible and load up.
https://github.com/jaghaimo/stelnet/releases/download/1.1.4/stelnet-1.1.4.zip
Well I appreciate the effort but it looks like the save might just be fubared.
128973 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager - Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : java.lang.RuntimeException
cause-message : Commodity with id vic_genetech not found
method : com.fs.starfarer.campaign.econ.MarketDemand.readResolve()
class : com.fs.starfarer.campaign.econ.MarketDemand
required-type : com.fs.starfarer.campaign.econ.MarketDemand
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 2173
class[1] : com.fs.starfarer.campaign.econ.MarketDemandData
class[2] : com.fs.starfarer.campaign.econ.Market
class[3] : com.fs.starfarer.campaign.CustomCampaignEntity
class[4] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[5] : com.fs.util.container.repo.ObjectRepository
class[6] : com.fs.starfarer.campaign.StarSystem
class[7] : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[8] : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[9] : com.fs.starfarer.campaign.Hyperspace
class[10] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : java.lang.RuntimeException
cause-message : Commodity with id vic_genetech not found
method : com.fs.starfarer.campaign.econ.MarketDemand.readResolve()
class : com.fs.starfarer.campaign.econ.MarketDemand
required-type : com.fs.starfarer.campaign.econ.MarketDemand
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 2173
class[1] : com.fs.starfarer.campaign.econ.MarketDemandData
class[2] : com.fs.starfarer.campaign.econ.Market
class[3] : com.fs.starfarer.campaign.CustomCampaignEntity
class[4] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[5] : com.fs.util.container.repo.ObjectRepository
class[6] : com.fs.starfarer.campaign.StarSystem
class[7] : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[8] : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[9] : com.fs.starfarer.campaign.Hyperspace
class[10] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
Yeah, I see. It's VIC now (either missing or incompatible update).
Yeaaaaa, I tried to roll back that update and got this
83813 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error loading
83814 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager -
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : NexOpnMkt
class : com.fs.starfarer.campaign.econ.Submarket
required-type : com.fs.starfarer.campaign.econ.Submarket
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 3949
class[1] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2] : com.fs.starfarer.campaign.econ.Market
class[3] : com.fs.starfarer.campaign.CampaignPlanet
class[4] : com.fs.util.container.repo.ObjectRepository
class[5] : com.fs.starfarer.campaign.StarSystem
class[6] : com.fs.starfarer.campaign.CircularOrbit
class[7] : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class[8] : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class[9] : com.fs.starfarer.campaign.econ.Economy
class[10] : com.fs.starfarer.campaign.CustomCampaignEntity
class[11] : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[12] : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[13] : com.fs.starfarer.campaign.Hyperspace
class[14] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : NexOpnMkt
class : com.fs.starfarer.campaign.econ.Submarket
required-type : com.fs.starfarer.campaign.econ.Submarket
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 3949
class[1] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2] : com.fs.starfarer.campaign.econ.Market
class[3] : com.fs.starfarer.campaign.CampaignPlanet
class[4] : com.fs.util.container.repo.ObjectRepository
class[5] : com.fs.starfarer.campaign.StarSystem
class[6] : com.fs.starfarer.campaign.CircularOrbit
class[7] : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class[8] : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class[9] : com.fs.starfarer.campaign.econ.Economy
class[10] : com.fs.starfarer.campaign.CustomCampaignEntity
class[11] : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[12] : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[13] : com.fs.starfarer.campaign.Hyperspace
class[14] : com.fs.starfarer.campaign.CampaignEngine
converter-type[2] : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
It looks like the save is just fubar, I'll keep in mind to uninstall stelnet before updating mods in the future.
That's unfortunate. Stelnet only needs uninstall if you do minor release upgrade, e.g. 1.x.y
to 1.w.z
where w
> x
. If it's a bugfix, e.g. 1.x.y
to 1.x.z
you can safely replace it over.
This pops up when I try to load a save with the new version of stelnet. The previous version was 1.2