Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: Starsector crashing during gameplay at random with fatal error null  (Read 824 times)

SpaceMan101

  • Ensign
  • *
  • Posts: 2
    • View Profile

So I have done SOME research into the null error but none of the posts I could find specifically had my issues, so I figured making a post could help.

This game runs with 4 mods as follows
1. Higher level cap lvl25 version by Panteradactyl
2. Console commands by LazyWizard
3. Lazylibs also by ^
4. Hyperdrive by Sundog

My system is 64bit Windows 10 with 32gigs of ram. 6 of which go to starsector. (RAM propbably isn't the issue causing this but some of the posts about the null error people brought up operating systems)

The game will run for a random set of time, sometimes five minutes, sometimes five hours. No real correlation to when it happens, I've crashed before a fight, in deep space, and while trading. This is what my log says.

6873512 [Thread-7] INFO  sound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOO  - Cleaning up music with id [campaign_noncore_part1.ogg]
6873650 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.impl.campaign.intel.bases.PirateBaseIntel.updateStationIfN eeded(PirateBaseIntel.java:486)
   at com.fs.starfarer.api.impl.campaign.intel.bases.PirateBaseIntel.checkForTierChan ge(PirateBaseIntel.java:610)
   at com.fs.starfarer.api.impl.campaign.intel.bases.PirateBaseIntel.advanceImpl(PirateBaseIntel.java:573)
   at com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin.advance(BaseIntelPlugin.java:78)
   at com.fs.starfarer.api.impl.campaign.intel.BaseEventManager.advance(BaseEventManager.java:114)
   at com.fs.starfarer.api.impl.campaign.intel.bases.PirateBaseManager.advance(PirateBaseManager.java:59)
   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)
6873943 [Thread-9] INFO  sound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOO  - Creating streaming player for music with id [campaign_noncore_part1.ogg]
6873943 [Thread-9] INFO  sound.H  - Playing music with id [campaign_noncore_part1.ogg]

I'll be attempting a few things myself to see if it makes a difference, but as I said before sometimes the game can go on for hours before a crash. So sometimes I don't even play long enough to see if it does anything.
« Last Edit: August 13, 2023, 08:55:27 PM by SpaceMan101 »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 5166
    • View Profile
    • GitHub profile
Re: Starsector crashing during gameplay at random with fatal error null
« Reply #1 on: August 15, 2023, 07:24:31 AM »

Is this a save from Starsector 0.95.1? Those aren't compatible with Starsector 0.96.
Logged

SpaceMan101

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Starsector crashing during gameplay at random with fatal error null
« Reply #2 on: August 16, 2023, 10:08:12 AM »

Is this a save from Starsector 0.95.1? Those aren't compatible with Starsector 0.96.

Yes it is, and I had no idea they weren't compatible. I just loaded it up after the new release dropped and kept playing where I left off in my save.

But I figured out what was causing the crash to null, something to do with the music, so I turned music to 0% in the settings. It's been about 4 days now and not a single crash from the null error.
Logged