Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: CTD - ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException  (Read 8383 times)

Fungee

  • Ensign
  • *
  • Posts: 1
    • View Profile

Hey I'm getting this crash to desktop all the time when I'm just doing my business inside my colony systems. Pretty much late game. New install of starsector 0.9.1a-RC8 on win10.

The modlist I use (newly installed about a week ago):
https://gyazo.com/857c0ed88187e81a3911cc523ac27ef2

And the relevant part of starsector.log:
Code
760834 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at com.fs.starfarer.ui.A.new.super(Unknown Source)
at com.fs.starfarer.ui.A.new.<init>(Unknown Source)
at com.fs.starfarer.campaign.ui.String.<init>(Unknown Source)
at com.fs.starfarer.ui.P.super(Unknown Source)
at com.fs.starfarer.campaign.ui.oOOo.addIconFor(Unknown Source)
at com.fs.starfarer.campaign.ui.oOOo.<init>(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2$9.public.float(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2$9.beforeShown(Unknown Source)
at com.fs.starfarer.campaign.C.o00000(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$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Logged

Ballah Ballah

  • Ensign
  • *
  • Posts: 4
    • View Profile
Same problem
« Reply #1 on: March 07, 2021, 04:27:45 AM »

Think I have the exact same problem as you, searching around on google lead me to this exact thread and there are still no answers.

1459937 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.ui.A.new.super(Unknown Source)
   at com.fs.starfarer.ui.A.new.<init>(Unknown Source)
   at com.fs.starfarer.campaign.ui.String.<init>(Unknown Source)
   at com.fs.starfarer.ui.P.super(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.addIconFor(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.<init>(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.public.float(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.beforeShown(Unknown Source)
   at com.fs.starfarer.campaign.C.o00000(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$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4688
    • View Profile
    • GitHub profile

Why'd you bump the thread if you already know it's the autofit variants issue? Remove those variants.
Logged

Ballah Ballah

  • Ensign
  • *
  • Posts: 4
    • View Profile

I have tracked down the problematic mod myself and it's definitely not the autofit variants being saved, it's something to do with the terraforming system in DIY planets. Particularly the cometary capture system and either/or something with the planet condition icons.

So far I've deleted all the mods that contain multi-sectional ships and DIY and it seems to be working fine so far.
« Last Edit: March 08, 2021, 02:14:28 AM by bigbenzx9000 »
Logged

Fairingszix

  • Ensign
  • *
  • Posts: 3
    • View Profile

yep, same issue here
ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.String.L.super(Unknown Source)
   at com.fs.starfarer.combat.CombatMain$3.playSound(Unknown Source)
   at data.scripts.plugins.SWVoiceLines.advance(SWVoiceLines.java:96)
   at com.fs.starfarer.title.Object.for$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.super.new.super(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.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

Kranius

  • Ensign
  • *
  • Posts: 4
  • PC made in a cave
    • View Profile

Same issue... But I have a theory (and just that because I'm a neanderthal with a rock PC trying to bang code together to make fire).

I think that is something to do with either the gate/fringe jump point...
I tried making a star system earlier today and worked fine (fine as in the planets were all too big and their orbits too close)... Then I proceeded to fiddle with things like the stable locations and entities like the cryosleeper and it all went to hell. Now crashes every time I finnish creating a new game.

I'm using the Calvera B Version Custom System Mod as skeleton for mine and worked really well until I tried changing the focus of some of the entities in the system...

I will keep bashing my head against the code and see if God gives me a slap of insight about what the devils I'm getting wrong... :P
Logged
Throwing really big and hard rocks at really big speeds to explode things.