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: Planet Search Overhaul (07/13/24)

Author Topic: Repeating crash in ongoing heavily modded campaign (getTravelDays)  (Read 1280 times)

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile

I'm having a weird issue where the game will crash every time it tries to set up a route for a fleet, if I'm reading things right. This happens every single time, and all that's needed to cause it is for me to load my save and wait for a little while. The campaign's got about 10-15 hours into it already, if I had to guess, with no prior issues -- this came seemingly out of nowhere.

The crashes (and lines just before) always look something like this:
Spoiler
113794 [Thread-3] INFO  com.fs.starfarer.api.impl.campaign.intel.SurveyPlanetMissionIntel  - Created SurveyPlanetMissionIntel: Hispaniola, faction: independent
114354 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games and apps\Fractal Softworks\current\Starsector 0.95a RC15\starsector-core\..\mods\Nexerelin (data/config/exerelin/factionTraits.json)]
114357 [Thread-3] INFO  exerelin.campaign.diplomacy.DiplomacyBrain  - Diplomacy brain for keruvim considering options
115299 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.impl.campaign.fleets.RouteLocationCalculator.getTravelDays(RouteLocationCalculator.java:54)
   at com.fs.starfarer.api.impl.campaign.intel.raid.TravelStage.updateRoutes(TravelStage.java:43)
   at com.fs.starfarer.api.impl.campaign.intel.raid.TravelStage.notifyStarted(TravelStage.java:34)
   at com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel.advanceImpl(RaidIntel.java:221)
   at exerelin.campaign.intel.fleets.OffensiveFleetIntel.advanceImpl(OffensiveFleetIntel.java:504)
   at com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin.advance(BaseIntelPlugin.java:78)
   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)
[close]

Or this: (after giving all Keruvim markets to Tri-tach to see if that'd do anything)
Spoiler
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  - Updating rebellion on Balrog Backwater: day 71
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Stability: 0.0
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Initial force strengths: 102.89145, 42.644096
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Government engagement strength: 11.031347
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Rebel engagement strength: 7.0636096
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Updated force strengths: 102.73666, 41.894142
419632 [Thread-3] INFO  exerelin.campaign.intel.rebellion.RebellionIntel  -   Conflict intensity: 15.269367
420119 [Thread-3] INFO  com.fs.starfarer.api.impl.campaign.fleets.EconomyFleetRouteManager  - Added trade fleet route from Indrani Sachi to Beszel
422178 [Thread-3] INFO  data.scripts.campaign.intel.VayraPlayerBountyIntel  - updating player-targeted bounties
423734 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.impl.campaign.fleets.RouteLocationCalculator.getTravelDays(RouteLocationCalculator.java:54)
   at com.fs.starfarer.api.impl.campaign.intel.raid.TravelStage.updateRoutes(TravelStage.java:43)
   at com.fs.starfarer.api.impl.campaign.intel.raid.TravelStage.notifyStarted(TravelStage.java:34)
   at com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel.advanceImpl(RaidIntel.java:221)
   at exerelin.campaign.intel.fleets.OffensiveFleetIntel.advanceImpl(OffensiveFleetIntel.java:504)
   at com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin.advance(BaseIntelPlugin.java:78)
   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)
[close]

There's a few variations on the theme, but they all end the same way. Tried 6 loads and got crashes all 6 times, so I'm guessing my run is gone?

Console mod list and specs/setup output: (all forum releases fully up to date)
Spoiler
System info:
---------------
Game version: Starsector 0.95a-RC15
Game resolution: 3840x2160 (60hz, 32bpp, windowed)
Java version: Java(TM) SE Runtime Environment 1.7.0_79-b15 (Java HotSpot(TM) 64-Bit Server VM)
Platform: Windows (64-bit)
JVM RAM: 416.37 MB / 8,006.00 (7,589.63 MB free, 8,006.00 MB allocatable)
System RAM: 9,045.54 MB remaining, 32,699.12 MB total
Launch args: -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms8G -Xmx8G -Xss2048k -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=.

 Graphics card info:
---------------------
GPU Model: NVIDIA GeForce GTX 1070
Vendor: NVIDIA Corporation
Driver version: 4.6.0 NVIDIA 472.12
Free VRAM: 466.61 MB
Dedicated VRAM: 8,192.00 MB
Maximum VRAM:   8,192.00 MB

 Active mod list:
------------------
Regular mods (63):
 - 7s Integration 0.1.4 by xSevenG7x
 - Arma Armatura 1.5.2e by shoi
 - Automated Commands 1.1a by borgrel
 - Better Colonies 1.63 by Techpriest
 - Better Deserving Smods! 1.2 by Jackie!
 - BigBeans Ship Compilation 0.1.7a by BigBeans
 - BigBeans Ship Compilation - IP ship Submod 0.1b by BigBeans
 - CWSP 1.2 by Coherent Watermelon
 - Captain's Log 0.1.4 by stormbringer951
 - Caymon's Ship pack 1.1.3 by Caymon
 - Cebby Ship Pack 1.1.1 by Cebby
 - Commissioned Crews 1.999999gg by Techpriest
 - DIY Planets 1.0.14 by Kentington
 - Detailed Combat Results 5.1.2 by Nick XR
 - Diktat Enhancement 1.0.3 by JAL28
 - Experimental Ship Pack (EXPSP) 0.47 by Unit9461
 - Extratential Lanestate Union 0.7.5b by Protonus
 - Fighter Expansion Rebalanced 1.1.1 by Adapted for 0.95 by Retry, Original author MrHoon
 - Fleet Size By DP 1.0.0 by Chozo
 - Fluff Ship Pack 0.2.3-1 by MrFluff
 - Forge Production 1.0.3 by Ontheheavens
 - Gladiator Society 1.3(beta) by Snrasha
 - Grand.Colonies 1.0.b by SirHartley
 - Grytpype and Moriarty's Defense Authority 0.9.7c by King Alfonzo
 - HMI Supervillains 0.0.2c by King Alfonzo
 - Hazard Mining Incorporated 0.3.4f by King Alfonzo
 - High Tech Expansion 1.4.7 by theDragn
 - Hyperdrive 2.1.1 by Sundog
 - Industrial.Evolution 2.2.g by SirHartley
 - Internal Affairs 1.1 by Inventor Raccoon
 - Iron Shell 1.06 by Techpriest & Selkie
 - Kazeron Navarchy 1.2 by PeachPatrol
 - Keruvim Shipyards 0.4 by Connortron7
 - LTA 0.6.0b (Pre-Tournament Release 3) by Yui
 - Luddic Enhancement 1.2.5i by King Alfonzo
 - Magellan Protectorate 1.25a by Harmful Mechanic
 - Missile and Sundry 0.95a RC12 0.13 by DatonKallandor
 - Missing Ships 0.4.1 by Scarface,Nautilus81,Archaeon
 - Nes's ship and weapon 1.4 by Nes
 - Nexerelin 0.10.3g by Histidine (original by Zaphide)
 - No Such Organization - Phase ships 0.3.2 by Kayse
 - Objects Analysis 002 by Harpuea
 - Osiris Alliance 2.6 by null
 - Persean Chronicles 2.0.3 by Wisp
 - Planetary Shield: Access Control 1.4 by Wyvern
 - Remnant Command Transfer 1.0.2 by theDragn
 - Roider Union 1.3.6 by SafariJohn
 - Seafood Shipworks 0.0.7b by LILI&ZeroXenon
 - Ship/Weapon Pack 1.12.999 by DarkRevenant
 - Starship Legends 1.5.5 by Sundog
 - Superweapons Arsenal 2.1a by Mira
 - Survey Corps SP 1.2 by Elseud
 - The Exalted 1.3.2 by Connortron7
 - Unknown Skies 0.43 by Tartiflette
 - Unusually Gullible Hullmods 0.4.0b by Protonus and special credits to whoever discovered that armor-cell script
 - Vayra's Sector 3.2.1 by Vayra; unofficial update by theDragn
 - Weftin's Ship Pack V0.9.3 Public Beta by Weftin (pixel art from keptin)
 - WhichMod 1.1.0 by theDragn
 - Yunru's Midline Expansion A.1.0 by Yunru
 - Yunru's Pirates and Pathers A.1.0 by Yunru
 - YunruCore A.1.0 by Yunru
 - asteroid ship pack 1.3d by Liam556
 - prv Starworks v21 by Prav
Utility mods (15):
 - A New Level of Confidence 40 1.2 Fast by Panteradactyl
 - ClearCommands 1.0.d by SirHartley
 - Combat Chatter 1.11.4 by Histidine
 - Console Commands 2021.4.10 by LazyWizard
 - Dynamic Tariffs 1.3.1 by Tuv0x
 - Fuel Siphoning 1.2.0 by Sundog
 - Hostile Intercept (and Autopause!) 1.3.2 by SafariJohn
 - LazyLib 2.7 by LazyWizard
 - Logistics Notifications 1.3.3 by SafariJohn
 - MagicLib 0.34 by Modding Community
 - Practice Targets 1.41rc2 by Created by Tartiflette. Based on an idea from Foxer360.
 - SpeedUp 0.7.1 by DarkRevenant
 - Starsector Apocalypse 1.4.0 by Jaghaimo
 - ZZ Audio Plus 1.1.3 by DarkRevenant
 - zz GraphicsLib 1.5.1 by DarkRevenant
[close]

Full most recent log: https://gist.githubusercontent.com/xPXpanD/c8cff1a0441ed972d9c9a00cc132dbe9/raw/6bb767fc980ddd0c8c300fa662fde40e2894faeb/gistfile1.txt (couldn't include more than one session due to the sheer size)

One thing to note: I raised "minimumPlanets" to 10 in Nexerelin's config while testing some stuff and accidentally created this whole sector with that active, which I read was problematic in past versions. In-game sliders were set to maximum, random sector. Not sure if this could affect anything here (especially as it was all running fine until now), but figured that might be worth mentioning.

I know that this is the risk in running mods, especially with some of the more bleeding edge stuff like unofficial Vayra's. Still hoping that someone will happen to know more here, though! Thanks for reading.
« Last Edit: November 29, 2021, 04:44:14 PM by XpanD »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4889
    • View Profile
    • GitHub profile
Re: Repeating crash in ongoing heavily modded campaign (getTravelDays)
« Reply #1 on: November 30, 2021, 04:33:03 PM »

Code: java
	public static float getTravelDays(SectorEntityToken from, SectorEntityToken to) {
float dist = 0f;
if (from.getContainingLocation() != to.getContainingLocation()) {    // line 54
Does some mod add a non-hidden market to the economy without attaching it to a sector entity?
Logged

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile
Re: Repeating crash in ongoing heavily modded campaign (getTravelDays)
« Reply #2 on: December 01, 2021, 01:13:10 AM »

I'm not sure, I read the most recent pages for all the mods I grabbed but don't think I came across any specific mentions of that being an issue there.

If it helps any: I previously ran a non-random campaign with most of the same mods which worked great, only Keruvim/Extratential Lanestate Union/Vayra's Sector are new in this run. Vayra's is probably the mod with the deepest changes here, though in simulating some new campaigns with it (same exact settings, 100x speedup multiplier) I saw no issues. The game always dies when November 29th, 207 comes around on my main game, but these test campaigns went past just fine.

No luck changing the dates for stuff to start happening in the Nexerelin configs either, sadly.
Logged

noname_z

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Repeating crash in ongoing heavily modded campaign (getTravelDays)
« Reply #3 on: December 20, 2021, 06:17:30 AM »

I've found the same error both before and after adding Extratential Lanestate Union (but I've never add Vayra's sector yet), so Keruvim is suspicious. Another possible reason is that you've colonized the "Lost Hope" added in VIC, which is a planet in a blackhole system without a jump point (that means you can only enter there like enter the Alpha Site, through a traverse jump).
Logged

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile
Re: Repeating crash in ongoing heavily modded campaign (getTravelDays)
« Reply #4 on: December 21, 2021, 01:33:06 AM »

That's good to know, thanks for the info. I'm not running Volkov, so no luck there. :(

(also did not come across any similar planets or the like)
Logged