Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: fatal: null check starsector.log for more info  (Read 1234 times)

Johnny2692

  • Ensign
  • *
  • Posts: 4
    • View Profile
fatal: null check starsector.log for more info
« on: July 21, 2021, 07:28:46 AM »

Not sure where to look to see why my game crashed, Recently bought it and was trying out mods. where in the log do i see why it crashed?
Logged

Johnny2692

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: fatal: null check starsector.log for more info
« Reply #1 on: July 21, 2021, 07:30:10 AM »

Is it this??


144185 [Thread-3] INFO  sound.oo0O  - Cleaning up music with id [miscallenous_corvus_campaign_music.ogg]
144199 [Thread-7] INFO  sound.oo0O  - Cleaning up music with id [LastStand.ogg]
144245 [Thread-9] INFO  sound.oo0O  - Creating streaming player for music with id [faction_hegemony_market_01_neutral_var01.ogg]
144245 [Thread-9] INFO  sound.OooO  - Playing music with id [faction_hegemony_market_01_neutral_var01.ogg]
144329 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.campaign.fleet.FleetData.isInInvalidStateDueToGameLoadOrder(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetData.syncIfNeeded(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetData.getMembers(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleet.getMembers(Unknown Source)
   at com.fs.starfarer.coreui.g$3.Ò00000(Unknown Source)
   at com.fs.starfarer.coreui.g$Oo.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.advance(Unknown Source)
   at com.fs.starfarer.ui.v.advanceImpl(Unknown Source)
   at com.fs.starfarer.coreui.g.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.advance(Unknown Source)
   at com.fs.starfarer.ui.v.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.K.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.advance(Unknown Source)
   at com.fs.starfarer.ui.v.advanceImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.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)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24125
    • View Profile
Re: fatal: null check starsector.log for more info
« Reply #2 on: July 21, 2021, 08:25:39 AM »

Hi - hmm. Yeah, you found the right spot in the log - well, assuming this is the last stack trace there.

Did the game crash when you were trying to load it, or just flying around/doing something else? What was actually going on at the time of the crash could be helpful to know, especially in this case.

Also, does the crash keep happening, or was it a one-off?
Logged

Johnny2692

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: fatal: null check starsector.log for more info
« Reply #3 on: July 21, 2021, 08:32:40 AM »

Start of a new game, was flying to a planet, it happend a few times after that
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24125
    • View Profile
Re: fatal: null check starsector.log for more info
« Reply #4 on: July 21, 2021, 08:41:51 AM »

Thank you! Could you post your mod-list? I don't think I'd be able to tell, but maybe someone else will be able to pick out the culprit. (There's also a possibility that it's a vanilla issue, but if it were, I'd expect it have come up by now, probably?)

The only way this crash looks to be possible is if somewhere a "null" fleet member was added to a fleet. (E.G. something like fleet.getFleetData().addFleetMember(null); ) But unfortunately how that happened is difficult to tell - though I suppose it'd be possible to run some custom code in the console to find out which fleet(s) have a null member...

While I'm looking at the code, let me add a failsafe to make the game crash with an informative message when a fleet like this is created, rather than at some point in the future.
Logged

Johnny2692

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: fatal: null check starsector.log for more info
« Reply #5 on: July 21, 2021, 08:51:59 AM »

Here are the active mods i have on

[attachment deleted by admin]
Logged