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: Simulator Enhancements (03/13/24)

Author Topic: Error: Null. Is there anyway I can save this save?  (Read 533 times)

Banzaiburger

  • Ensign
  • *
  • Posts: 2
    • View Profile
Error: Null. Is there anyway I can save this save?
« on: April 28, 2022, 08:26:57 PM »

Hello! I am having a CTD labled Error:Null that happens at the same time each time I load up the save. It happens no matter what I do.

I'm wondering if there's some way I can continue playing this save or if I have to go back a few hours to an older save.

Taking a look at the logfile, I found the crash listed here:

"39546 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.splinterFleet.plugins.fleetAssignmentAIs.TransportAssignme ntAI.advance(TransportAssignmentAI.java:66)
   at com.fs.starfarer.campaign.BaseCampaignEntity.runScripts(Unknown Source)
   at com.fs.starfarer.campaign.BaseCampaignEntity.advance(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleet.advance(Unknown Source)
   at com.fs.starfarer.campaign.BaseLocation.advance(Unknown Source)
   at com.fs.starfarer.campaign.StarSystem.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(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.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)"

One thing that's notible is that the majority of the thousand or so events before the crash was a repeating:
33634 [Thread-3] INFO  com.fs.starfarer.api.splinterFleet.plugins.fleetManagement.Behaviour  - Setting detachment behaviour override DORMANT
33634 [Thread-3] INFO  com.fs.starfarer.api.splinterFleet.plugins.fleetManagement.Behaviour  - clearing detachment behaviour override



The mods I have enabled are:
A new level of confidence
Adjusted Sector
Autosave
Sassault-Mikoyan
Grand Colonies
High Tech expansion
Industrial evolution
Interstellar federation
Kadur Remnant
Lazy Lib
Logistics Notification
Magic Lib
Mayasuran Navy
Nexerlin
Scalartech Solutions
Ship direction marker
Starship Legends
Stellar Network
Star Federation
Unknown Skies
VIC
Varya's Ship Pack
Weapon Arcs
Xhan Empire
ZZ Graphics Lib.


Let me know if there's any more information I can provide. Thanks so much!
Logged

Sundog

  • Admiral
  • *****
  • Posts: 1723
    • View Profile
Re: Error: Null. Is there anyway I can save this save?
« Reply #1 on: April 29, 2022, 04:59:29 AM »

Looks like the issue is caused by a fleet having problematic modded AI (com.fs.starfarer.api.splinterFleet.plugins.fleetAssignmentAIs.TransportAssignme ntAI). Unfortunately, the name of the AI class doesn't include the name of the mod or its author, but it does include "splinterFleet." Do you know if any of your mods add anything called Splinter Fleets, or a way for fleets to split?

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Error: Null. Is there anyway I can save this save?
« Reply #2 on: April 29, 2022, 06:35:34 AM »

It might be the Industrial.Evolution fleet detachment mechanic, not sure about the package name though.
Logged

Banzaiburger

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Error: Null. Is there anyway I can save this save?
« Reply #3 on: April 29, 2022, 01:07:15 PM »

Thanks for the replies all! It was the Industrial Evolution Fleet Mechanic causing the game to crash when the splinter fleet tried jumping into a new system. Putting the fleet on pause stopped the crash from happening.
Logged

SirHartley

  • Global Moderator
  • Admiral
  • *****
  • Posts: 839
    • View Profile
Logged