Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [0.9.1a RC8] Route handling CTD with hyperspace market  (Read 561 times)

Histidine

  • Admiral
  • *****
  • Posts: 2873
    • View Profile
    • Bitbucket profile
    • Email
[0.9.1a RC8] Route handling CTD with hyperspace market
« on: May 26, 2019, 07:28:02 AM »

Seen with Hegemony inspection event targeting a hyperspace market (Prism Freeport in Nexerelin):


2926473 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.ClassCastException: com.fs.starfarer.campaign.Hyperspace cannot be cast to com.fs.starfarer.api.campaign.StarSystemAPI
java.lang.ClassCastException: com.fs.starfarer.campaign.Hyperspace cannot be cast to com.fs.starfarer.api.campaign.StarSystemAPI
at com.fs.starfarer.api.impl.campaign.fleets.RouteLocationCalculator.findJumpPoint ToUse(RouteLocationCalculator.java:425)
at com.fs.starfarer.api.impl.campaign.intel.inspection.HegemonyInspectionIntel.<init>(HegemonyInspectionIntel.java:113)
at com.fs.starfarer.api.impl.campaign.intel.inspection.HegemonyInspectionManager.c reateInspection(HegemonyInspectionManager.java:126)
at com.fs.starfarer.api.impl.campaign.intel.inspection.HegemonyInspectionManager.c reateInspection(HegemonyInspectionManager.java:93)
at com.fs.starfarer.api.impl.campaign.intel.inspection.HegemonyInspectionManager.c heckInspection(HegemonyInspectionManager.java:86)
at exerelin.campaign.intel.Nex_HegemonyInspectionManager.checkInspection(Nex_HegemonyInspectionManager.java:22)
at com.fs.starfarer.api.impl.campaign.intel.inspection.HegemonyInspectionManager.a dvance(HegemonyInspectionManager.java:68)
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)
« Last Edit: May 26, 2019, 07:30:13 AM by Histidine »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 17494
    • View Profile
Re: [0.9.1a RC8] Route handling CTD with hyperspace market
« Reply #1 on: May 26, 2019, 11:28:44 AM »

Fixed in that it should no longer crash there. Also, on second thought, made inspections and expeditions not target colonies in hyperspace.

Colonies in hyper are just always going to be trouble... I mean, I've got a test station in hyper for dev build testing but that's just baseline "nothing crashes immediately". Since there's no real use case in vanilla, something crashing somewhere because of them is almost guaranteed.
Logged