LAOWANG21 发表于 2024-9-15 11:01:36

bug汇报,退出后重新读档就坏了

本帖最后由 LAOWANG21 于 2024-9-15 12:01 编辑

[游戏日志]

109636 INFOcom.fs.starfarer.loading.LoadingUtils- Loading JSON from
109637 INFOcom.fs.starfarer.loading.LoadingUtils- Loading JSON from
109646 INFOcom.fs.starfarer.campaign.save.CampaignGameManager- Error loading
109646 ERROR com.fs.starfarer.campaign.save.CampaignGameManager- Failed calling method
---- Debugging information ----
message             : Failed calling method
cause-exception   : java.lang.NullPointerException
cause-message       : null
method            : com.fs.starfarer.campaign.fleet.FleetMember.readResolve()
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 1259295
class            : java.util.HashSet
converter-type   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class            : java.util.HashMap
converter-type   : com.thoughtworks.xstream.converters.collections.MapConverter
class            : com.fs.starfarer.campaign.ModAndPluginData
class            : com.fs.starfarer.campaign.CampaignEngine
converter-type   : com.fs.starfarer.campaign.save.I
version             : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Failed calling method
---- Debugging information ----
message             : Failed calling method
cause-exception   : java.lang.NullPointerException
cause-message       : null
method            : com.fs.starfarer.campaign.fleet.FleetMember.readResolve()
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 1259295
class            : java.util.HashSet
converter-type   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class            : java.util.HashMap
converter-type   : com.thoughtworks.xstream.converters.collections.MapConverter
class            : com.fs.starfarer.campaign.ModAndPluginData
class            : com.fs.starfarer.campaign.CampaignEngine
converter-type   : com.fs.starfarer.campaign.save.I
version             : not available
-------------------------------
      at com.thoughtworks.xstream.core.util.SerializationMembers.callReadResolve(SerializationMembers.java:82)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:282)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:73)
      at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
      at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:73)
      at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:110)
      at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
      at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
      at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1346)
      at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
      at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
      at com.fs.starfarer.title.TitleScreenState.menuItemSelected(Unknown Source)
      at com.fs.starfarer.title.C.actionPerformed(Unknown Source)
      at com.fs.starfarer.ui.n.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.W.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(Thread.java:748)
Caused by: java.lang.NullPointerException
      at com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.getSupply(BaseIndustry.java:740)
      at com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.supply(BaseIndustry.java:322)
      at com.fs.starfarer.api.impl.campaign.econ.ResourceDepositsCondition.apply(ResourceDepositsCondition.java:193)
      at com.fs.starfarer.campaign.econ.Market.reapplyConditions(Unknown Source)
      at com.fs.starfarer.campaign.CharacterStats.refreshAllOutpostsEffectsForPlayerOutposts(Unknown Source)
      at com.fs.starfarer.campaign.CharacterStats.refreshCharacterStatsEffects(Unknown Source)
      at com.fs.starfarer.campaign.CharacterStats.refreshCharacterStatsEffects(Unknown Source)
      at com.fs.starfarer.campaign.CharacterStats.setSkillLevel(Unknown Source)
      at data.scripts.skill.Mimikko_nonona_2$Level4.apply(Mimikko_nonona_2.java:173)
      at com.fs.starfarer.campaign.CharacterStats.applyPersonalToStats(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetMember.updateStats(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetData.syncIfNeeded(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetData.getMembers(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetData.getMembersListCopy(Unknown Source)
      at com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription.getAutomatedPoints(BaseSkillEffectDescription.java:789)
      at com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription.computeAndCacheThresholdBonus(BaseSkillEffectDescription.java:336)
      at com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription.computeAndCacheThresholdBonus(BaseSkillEffectDescription.java:298)
      at dal.impl.campaign.skills.CaptainsAutomatedShips$Level1.apply(CaptainsAutomatedShips.java:113)
      at com.fs.starfarer.campaign.CharacterStats.applyFleetwideToStats(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetMember.updateStats(Unknown Source)
      at com.fs.starfarer.campaign.fleet.FleetMember.readResolve(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.thoughtworks.xstream.core.util.SerializationMembers.callReadResolve(SerializationMembers.java:78)
      ... 54 more
109648 INFOcom.fs.starfarer.campaign.save.CampaignGameManager- Loading stage 11
109648 INFOcom.fs.starfarer.campaign.save.CampaignGameManager- Loading stage 12
128342 INFOsound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO- Cleaning up music with id
128367 INFOsound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO- Creating streaming player for music with id


LAOWANG21 发表于 2024-9-15 11:06:40

这是报错图片

LAOWANG21 发表于 2024-9-15 11:16:19

log文件

cjy4312 发表于 2024-9-15 11:59:29

看起来是兽耳助手的角色技能导致的问题

LAOWANG21 发表于 2024-9-15 12:00:48

cjy4312 发表于 2024-9-15 11:59
看起来是兽耳助手的角色技能导致的问题

果然,刚才翻帖子也看到类似问题了,但是我的报错跟他的不一样,所以发个帖问问,还真是这个mod

SAVEmedley 发表于 2024-9-19 12:27:49

这段代码其实就是简单的,在skilleffect里面把玩家的某个技能设定为0级,我实在是不知道为什么会坏档,并且报出此类坏档的例子我只看到这一个。不过后续更新的版本已经移除了这个技能,请等待后续更新。
页: [1]
查看完整版本: bug汇报,退出后重新读档就坏了