本帖最后由 附窗子 于 2023-5-3 08:59 编辑
新增的工业设施**MS开发机构**是不是有些问题?
建设**阿纳海姆公司**的进度过程中过月时游戏CTD,log信息为:
```
379238 [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)
```
读档后停止工业设施建设,成功过月。
我用的java8的原因吗?
|