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: Crash  (Read 411 times)

SilvaSupreme

  • Ensign
  • *
  • Posts: 3
    • View Profile
Crash
« on: November 02, 2022, 02:35:45 PM »

Hey,

I keep getting this same crash now and I'm not sure why.

Heres my log

5056159 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at exerelin.campaign.intel.groundbattle.GroundBattleIntel.disbandPlayerUnits(GroundBattleIntel.java:976)
   at exerelin.campaign.intel.groundbattle.GroundBattleIntel.endBattle(GroundBattleIntel.java:1061)
   at exerelin.campaign.intel.groundbattle.GroundBattleIntel.advanceImpl(GroundBattleIntel.java:1412)
   at com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin.advance(BaseIntelPlugin.java:78)
   at exerelin.campaign.intel.groundbattle.GroundBattleIntel.advance(GroundBattleIntel.java:1393)
   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)

Any idea what it could be?










Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Crash
« Reply #1 on: November 02, 2022, 06:17:36 PM »

IIRC this is the crash from player invading a location without a storage (in Nexerelin mod).
Quick workaround is to add it with console: addsubmarket storage while docked; use openmarket <name> if you need to do it remotely
Logged

SilvaSupreme

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Crash
« Reply #2 on: November 04, 2022, 01:35:29 PM »

IIRC this is the crash from player invading a location without a storage (in Nexerelin mod).
Quick workaround is to add it with console: addsubmarket storage while docked; use openmarket <name> if you need to do it remotely
[/quote

Seemed to have not worked. It said in the console that i've already got one.

Any other ideas?
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Crash
« Reply #3 on: November 05, 2022, 07:07:31 PM »

Hotfix .jar I made for someone on Discord a couple of days ago (was it you?); place in Nexerelin/jars

(I was wondering why adding the submarket with console didn't work; turns out it was market being decivilized mid-battle)
Logged

SilvaSupreme

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Crash
« Reply #4 on: November 06, 2022, 03:55:39 AM »

Thanks for the fix. Seems to have worked (kinda). I now get straight to desktop crashes randomly instead of the error prompt. That wasn't me on discord. Maybe I should join?
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Crash
« Reply #5 on: November 07, 2022, 05:28:43 PM »

Discord makes it easier to walk someone through a fix, yeah.

Going straight to desktop with no error message sounds like a Java Virtual Machine crash. Look for a file named hs_err_pid<number>.log in the same folder as the main log (in Starsector/starsector-core on Windows) and post the contents on Pastebin or such.
Logged