Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [solved] CTD at end of month  (Read 647 times)

boywithumbrella

  • Ensign
  • *
  • Posts: 5
    • View Profile
[solved] CTD at end of month
« on: July 13, 2022, 09:23:51 AM »

Hi all,

[SOLUTION] TLDR: 'Gundam UC' mod was the culprit, specifically building a Mobile Suit Factory. Cancelling the building prevented the CTD.


I'm experiencing a consistent CTD at start of new month in my current modded save. This save is a couple game-years in, I have not installed any new mods recently, I don't know what exactly changed from the previous month (which rolled over fine) to this one that makes it crash.
I would really appreciate a pointer to what exactly is failing, and hopefully a way to resolve or work around the issue.

Here's the starsector.log snippet with the null exception:
Spoiler
Code
428447 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at data.scripts.industry.MsResearch.createCargoResult(MsResearch.java:68)
at data.scripts.industry.MsResearch.generateCargoForGatheringPoint(MsResearch.java:127)
at com.fs.starfarer.api.impl.campaign.CoreScript.doCustomProduction(CoreScript.java:998)
at com.fs.starfarer.api.impl.campaign.CoreScript.reportEconomyMonthEnd(CoreScript.java:1100)
at com.fs.starfarer.campaign.CampaignEngine.reportEconomyMonthEnd(Unknown Source)
at com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper.doEndOfMonthStuff(Unknown Source)
at com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper.nextFrame(Unknown Source)
at com.fs.starfarer.campaign.econ.Economy.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.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
[close]

And here's the mod list:
Spoiler
Code
{
  "enabledMods": [
    "US",
    "DetailedCombatResults",
    "nexerelin",
    "speedUp",
    "timid_commissioned_hull_mods",
    "Tesseract_prototype",
    "shaderLib",
    "fast_engine_rendering",
    "fleetsizebydp",
    "lw_autosave",
    "HHE",
    "LTA",
    "armaa",
    "su_FairSMod",
    "gundam_uc",
    "su_CarrierHullmod",
    "MagicLib",
    "lw_version_checker",
    "XhanEmpire",
    "HMI",
    "battletechportraitpack",
    "stelnet",
    "pantera_ANewLevel40R",
    "$$$_lightshow",
    "anotherportraitpack",
    "vic",
    "progressiveSMods",
    "diableavionics",
    "Guardian_prototype",
    "hte",
    "timid_supply_forging",
    "make_paragon_great_again",
    "luddenhance",
    "roider",
    "CaptainsLog",
    "immersionFriendlyPortraitPack",
    "shadow_ships",
    "ArkLeg",
    "transpoffder",
    "maintenence_rebalancers",
    "pt_qolpack",
    "SEEKER",
    "exshippack",
    "fleethistory",
    "WEAPONARCS",
    "tahlan_scalartech",
    "hm_flagpack",
    "yunrutechmining",
    "sun_starship_legends",
    "lw_lazylib",
    "istl_dassaultmikoyan",
    "su_Concord",
    "kingdomofterra",
    "A_S-F",
    "exoticatechnologies",
    "GrandColonies",
    "IndEvo",
    "QualityCaptains",
    "SCY",
    "lw_console",
    "chatter",
    "forge_production",
    "logisticsNotifications",
    "Terraforming & Station Construction",
    "tahlan"
  ]
}
[close]

I'm attaching the full starsector.log, as well as the current state of the save-file, here:
https://drive.google.com/drive/folders/1iSc78x3mHZPwd6TEcPmyLXiqWP7YOQ2q?usp=sharing

 
Pls halp
« Last Edit: July 15, 2022, 09:51:50 AM by boywithumbrella »
Logged

boywithumbrella

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: CTD at end of month
« Reply #1 on: July 15, 2022, 09:50:17 AM »

Wisp on the unofficial discord has found the issue, sharing it for any DenverCoder9 situations.

The issue was caused by the Gundam UC mod (the "Ms" in 'MsResearch' probably stands for 'Mobile Suit' , though it's a stretch to actually recognize the mod from the name...). What changed from the previous month was that I started building a Mobile Suit Factory (an Industry added by the Gundam mod). After I cancelled the building, the month rolled over without issue.
Guess I'll have to avoid building any mobile suit factories for now...
Logged