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: CTD, Doctrine/Development - Unstable Injector  (Read 348 times)

Xerdies

  • Ensign
  • *
  • Posts: 5
    • View Profile
CTD, Doctrine/Development - Unstable Injector
« on: October 17, 2021, 04:55:14 AM »

Hello Everyone,


I currently have a nasty gamecrash that occurs whenever I open teh doctrine or development Page. As in - change what kind of ships my faction uses or wanting to build ships with my heavy industry. The issue is that the error message I am getting is unfortunately very "non saying" - It doesn't show me which mod caused the unstable injector to create a nullpointerexception.

I cannot fully upload my Log, because its too big (I am using lots of mods and pastebin now has a 512kb limit)

I tried to find out whats causing it, but I am currently not 100% sure how I would be able to set a breakpoint to debug the game with an IDE.

Spoiler
292657 [Thread-3] INFO  data.scripts.campaign.bases.VayraRaiderBaseManager  - loading JSON for rb
292660 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\prv Starworks (data/config/vayraRaiders/rb.json)]
292661 [Thread-3] INFO  data.scripts.campaign.bases.VayraRaiderBaseManager  - raiderBaseConditionsAndIndustries for rb: [heavybatteries, no_atmosphere, population, spaceport, militarybase, prv_rb_pirate_2, orbitalworks]
292665 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292666 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292667 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292668 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292668 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292673 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292674 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292675 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292675 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292676 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292681 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292682 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292682 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292683 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292684 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292688 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292689 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292690 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292690 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292691 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292696 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292696 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292697 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292698 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292698 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292703 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292703 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292704 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292705 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292706 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292710 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292711 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292712 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292712 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292713 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292717 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI_brighton (data/config/vayraBounties/bounty_strings.json)]
292718 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\fluffShipPack (data/config/vayraBounties/bounty_strings.json)]
292719 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\HMI (data/config/vayraBounties/bounty_strings.json)]
292719 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Exalted (data/config/vayraBounties/bounty_strings.json)]
292720 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Vayra's Sector (data/config/vayraBounties/bounty_strings.json)]
292723 [Thread-3] INFO  data.scripts.campaign.intel.VayraPersonBountyManager  - Killing the vanilla bounty manager, RIP losers
292729 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 36
292729 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 37
292730 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 38
292730 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 39 - last
294452 [Thread-3] INFO  data.scripts.plugins.loa_awacsordermanager  - loa_awacs_order_manager:105: advance called with null engine
294454 [Thread-3] INFO  data.scripts.plugins.loa_awacsordermanager  - loa_awacs_order_manager:105: advance called with null engine
294470 [Thread-3] INFO  data.scripts.plugins.loa_awacsordermanager  - loa_awacs_order_manager:105: advance called with null engine
299633 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [miscallenous_main_menu.ogg]
300132 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [miscallenous_corvus_campaign_music.ogg]
300132 [Thread-10] INFO  sound.OooO  - Playing music with id [miscallenous_corvus_campaign_music.ogg]
303544 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [miscallenous_corvus_campaign_music.ogg]
303637 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [miscallenous_corvus_campaign_music.ogg]
303638 [Thread-10] INFO  sound.OooO  - Playing music with id [miscallenous_corvus_campaign_music.ogg]
303914 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.hullmods.UnstableInjector.applyEffectsBeforeShipCreation(UnstableInjector.java:32)
   at com.fs.starfarer.campaign.fleet.FleetMember.updateStats(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.init(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
   at com.fs.starfarer.campaign.command.Oo0O.<init>(Unknown Source)
   at com.fs.starfarer.campaign.command.ShipBlueprintBrowser.updateTable(Unknown Source)
   at com.fs.starfarer.campaign.command.O0oO.restoreTableUIState(Unknown Source)
   at com.fs.starfarer.campaign.command.OOoO.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.newnew.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.I.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.Stringsuper.super(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)
[close]
Logged

Amazigh

  • Captain
  • ****
  • Posts: 284
    • View Profile
Re: CTD, Doctrine/Development - Unstable Injector
« Reply #1 on: October 17, 2021, 04:18:49 PM »

This sounds like it might be a case of a mod mounting unstable injector on a fighter, which doesn't work and causes a crash.

Possible solution by Histidine from another thread:

Some mod is putting an Unstable Injector on a fighter wing, which doesn't work.
Try updating your mods first. If the issue persists, you'd have to search for unstable_injector in the mod files (use something like Notepad++'s find in files) to see which mod has the issue.

Search in Starsector/mods
for unstable_injector
with file type filter *.ship

then check if any of the results are fighters.

If nothing shows up, you may have to repeat the search with file types *.variant, it's possible the fighter in question has the hullmod specified as part of the variant rather than the ship. This will add a lot of normal ships to the results, so it'll take a bit more time to sort through them.
Logged

Xerdies

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: CTD, Doctrine/Development - Unstable Injector
« Reply #2 on: October 17, 2021, 11:57:07 PM »

That did the trick, thank you very much. The mod that caused this was Hyperion Systems - I will try to make a PR if its open source and fix this.

Whoever has the issue - it was an unstable injector and later a phasefield on another frigate of this mod.

Thank you :)

Edit: PR is made
« Last Edit: October 18, 2021, 12:22:20 AM by Xerdies »
Logged