Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  


Starsector 0.95.1a is out! (12/10/21); Blog post: Hostile Activity (09/01/22)

Author Topic: CTD with Nexerelin - java.lang.NullPointerException  (Read 378 times)


  • Lieutenant
  • **
  • Posts: 78
    • View Profile
    • Email
CTD with Nexerelin - java.lang.NullPointerException
« on: November 16, 2020, 11:59:38 AM »

I am getting a repeatable NullPointerException CTD in Nexerelin while flying around on the campaign map.

Mod list:
  "istl_dam", (Dassault Mikoyan)
  "diableavionics_royalblue", (Skin pack for Diable)
  "foundation", (Foundation of Borken)
  "Outcast_Weapons", (Self-created split from old Sylphon mod, only contains weapons, no ships)
  "swp", (Ship & Weapons Pack)
  "ungp", (Unofficial New Game Plus)

All mods were updated to their latest versions immediately prior to starting the save on 11/10/2020.

The crash occurs within about 30 seconds of loading the save (I am happy to attach it but it says max file size is 192KB which is far too small for a starsector save). I've had this crash previously in teh campaign but was able to get around it by going a different direction, since it seemed to trigger when I got into view of a certain area. This time it happens no matter what I do, even going into a different system before the crash hits.

No new mods were added during the campaign, the last mod to be added was Nexerelin, and I started a new game with it.

Error text from starsector.log:
315668 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
   at com.fs.starfarer.loading.specs.HullVariantSpec.getSizeWithModules(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleetMemberView.<init>(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleetView.createItemView(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleetView.createItemView(Unknown Source)
   at com.fs.starfarer.campaign.util.CollectionView.sync(Unknown Source)
   at com.fs.starfarer.campaign.fleet.CampaignFleetView.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$ Source)
   at Source)

The crash text appears to point to a mod, but does not specify which one, and might be crashing as a result of an autoresolve battle between NPC's.

In the save, I am in hyperspace but even if I go into a system it still occurs.

Save file download link: