Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)

Author Topic: Failed Calling Method - getSector().playerFleet must not be null  (Read 399 times)

Flare

  • Admiral
  • *****
  • Posts: 906
    • View Profile

Similar to the strange failed calling methods of the past, but with a different cause-message as far as I can find. This is using 0.96a-RC10.

The error states that the play fleet is null.

Code snippets below + save files + mods.

Code
---- Debugging information ----
message             : Failed calling method
cause-exception     : java.lang.NullPointerException
cause-message       : getSector().playerFleet must not be null
method              : com.fs.starfarer.campaign.CharacterStats.readResolve()
class               : com.fs.starfarer.campaign.CharacterStats
required-type       : com.fs.starfarer.campaign.CharacterStats
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 308922
class[1]            : com.fs.starfarer.rpg.Person
class[2]            : com.fs.starfarer.campaign.econ.Market
class[3]            : com.fs.starfarer.api.impl.campaign.fleets.RouteManager$RouteData
class[4]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[5]            : com.fs.starfarer.api.impl.campaign.fleets.RouteManager
class[6]            : com.fs.starfarer.campaign.fleet.CampaignFleet
class[7]            : com.fs.starfarer.campaign.ai.TacticalModule
class[8]            : com.fs.starfarer.campaign.ai.ModularFleetAI
class[9]            : com.fs.starfarer.campaign.ai.NavigationModule$AvoidData
class[10]           : com.fs.starfarer.api.util.TimeoutTracker$ItemData
class[11]           : com.fs.starfarer.api.util.TimeoutTracker
class[12]           : com.fs.starfarer.campaign.ai.NavigationModule
class[13]           : com.fs.util.container.repo.ObjectRepository
class[14]           : com.fs.starfarer.campaign.StarSystem
class[15]           : com.fs.starfarer.api.impl.campaign.fleets.DisposablePirateFleetManager
class[16]           : com.fs.starfarer.api.impl.campaign.fleets.DisposableAggroAssignmentAI
class[17]           : indevo.industries.artillery.projectiles.RailgunShotEntity
class[18]           : com.fs.starfarer.campaign.CustomCampaignEntity
class[19]           : com.fs.starfarer.campaign.CampaignPlanet
class[20]           : com.fs.starfarer.campaign.CircularOrbit
class[21]           : indevo.industries.salvageyards.industry.SalvageYards
class[22]           : com.fs.starfarer.campaign.CircularOrbitPointDown
class[23]           : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[24]           : exerelin.campaign.ColonyManager
class[25]           : java.util.LinkedHashSet
class[26]           : com.fs.starfarer.loading.specs.FactionProduction
class[27]           : com.fs.starfarer.campaign.Faction
class[28]           : com.fs.starfarer.campaign.econ.Submarket
class[29]           : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class[30]           : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class[31]           : com.fs.starfarer.campaign.econ.Economy
class[32]           : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[33]           : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[34]           : com.fs.starfarer.campaign.Hyperspace
class[35]           : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : 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.NullPointerException
cause-message       : getSector().playerFleet must not be null
method              : com.fs.starfarer.campaign.CharacterStats.readResolve()
class               : com.fs.starfarer.campaign.CharacterStats
required-type       : com.fs.starfarer.campaign.CharacterStats
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 308922
class[1]            : com.fs.starfarer.rpg.Person
class[2]            : com.fs.starfarer.campaign.econ.Market
class[3]            : com.fs.starfarer.api.impl.campaign.fleets.RouteManager$RouteData
class[4]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[5]            : com.fs.starfarer.api.impl.campaign.fleets.RouteManager
class[6]            : com.fs.starfarer.campaign.fleet.CampaignFleet
class[7]            : com.fs.starfarer.campaign.ai.TacticalModule
class[8]            : com.fs.starfarer.campaign.ai.ModularFleetAI
class[9]            : com.fs.starfarer.campaign.ai.NavigationModule$AvoidData
class[10]           : com.fs.starfarer.api.util.TimeoutTracker$ItemData
class[11]           : com.fs.starfarer.api.util.TimeoutTracker
class[12]           : com.fs.starfarer.campaign.ai.NavigationModule
class[13]           : com.fs.util.container.repo.ObjectRepository
class[14]           : com.fs.starfarer.campaign.StarSystem
class[15]           : com.fs.starfarer.api.impl.campaign.fleets.DisposablePirateFleetManager
class[16]           : com.fs.starfarer.api.impl.campaign.fleets.DisposableAggroAssignmentAI
class[17]           : indevo.industries.artillery.projectiles.RailgunShotEntity
class[18]           : com.fs.starfarer.campaign.CustomCampaignEntity
class[19]           : com.fs.starfarer.campaign.CampaignPlanet
class[20]           : com.fs.starfarer.campaign.CircularOrbit
class[21]           : indevo.industries.salvageyards.industry.SalvageYards
class[22]           : com.fs.starfarer.campaign.CircularOrbitPointDown
class[23]           : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[24]           : exerelin.campaign.ColonyManager
class[25]           : java.util.LinkedHashSet
class[26]           : com.fs.starfarer.loading.specs.FactionProduction
class[27]           : com.fs.starfarer.campaign.Faction
class[28]           : com.fs.starfarer.campaign.econ.Submarket
class[29]           : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class[30]           : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class[31]           : com.fs.starfarer.campaign.econ.Economy
class[32]           : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[33]           : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[34]           : com.fs.starfarer.campaign.Hyperspace
class[35]           : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.I
version             : not available
-------------------------------

Enabled Mods:

  "pantera_ANewLevel40",
  "A_S-F",
  "aotd_lost_glory",
  "Cryo_but_better",
  "aod_core",
  "apex_design",
  "apocrita_association",
  "armaa",
  "combatactivators",
  "ElvenSector",
  "seven_nexus",
  "exoticatechnologies",
  "lyr_ehm",
  "FSF_MilitaryCorporation",
  "GrandColonies",
  "HMI",
  "hyperdiving",
  "IndEvo",
  "JYD",
  "lost_sector",
  "lw_lazylib",
  "ArkLeg",
  "leg",
  "lunalib",
  "exshippack",
  "MagicLib",
  "Mayasuran Navy",
  "nexerelin",
  "OcuA",
  "wyv_planetaryShieldAccessControl",
  "pt_qolpack",
  "salshiexp",
  "secretsofthefrontier",
  "swp",
  "speedUp",
  "sun_starship_legends",
  "alcoholism",
  "symbiotic_void_creatures",
  "Terraforming & Station Construction",
  "TBJ",
  "TouchOfVanilla_vri",
  "XhanEmpire",
  "ywy_ships",
  "shaderLib"


Some information about what happened in game:

I was commissioned by the Arkgneisis faction. I had created a space station colony in Tia where they also had a station. At some point. The faction was destroyed, and my commission ended. Arkgneisis eventually came back, with a station in the same Tia system. I had added pets to two of the fleet ships at some point.

Link to full log and save files here. Mods omitted because I'm not sure if I can share them.

https://drive.google.com/drive/folders/1kEsMYZa0Vlud5rGJuuvBWQuzYGxkC7eJ?usp=sharing

Logged
Quote from: Thana
Quote from: Alex

The battle station is not completely operational, shall we say.

"Now witness the firepower of this thoroughly buggy and unoperational batt... Oh, hell, you know what? Just ignore the battle station, okay?"

Wispborne

  • Captain
  • ****
  • Posts: 486
  • Discord: wispborne
    • View Profile
Re: Failed Calling Method - getSector().playerFleet must not be null
« Reply #1 on: October 02, 2023, 04:11:35 PM »

That's from Symbiotic Void Creatures and should be fixed in the latest update (0.3.0-alpha, currently), but it says it's not save-compatible.
Logged
Mod Managers: TriOS & SMOL | Mod: Persean Chronicles | Tool: VRAM Estimator | Tool: Forum+Discord Mod Database | If I'm inactive for 3 months, anyone can use any of my work for anything (except selling it or its derivatives).

Flare

  • Admiral
  • *****
  • Posts: 906
    • View Profile
Re: Failed Calling Method - getSector().playerFleet must not be null
« Reply #2 on: October 02, 2023, 04:17:00 PM »

Oh nice, thanks.

Logged
Quote from: Thana
Quote from: Alex

The battle station is not completely operational, shall we say.

"Now witness the firepower of this thoroughly buggy and unoperational batt... Oh, hell, you know what? Just ignore the battle station, okay?"