找回密码
 初始化身份识别芯片
查看: 596|回复: 5

不知道什么bug,触发时游戏会卡顿一会

[复制链接]

巡洋大副

发表于 2024-2-5 09:36:10 | 显示全部楼层 |阅读模式
Mod Bug汇报
待解决
游戏版本: 0.95.1
Mod中文名:
Mod版本:
游戏日志:
va.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.fs.starfarer.loading.scripts.B.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.fs.starfarer.loading.scripts.ScriptStore.Object(Unknown Source)
at com.fs.starfarer.settings.StarfarerSettings$1.getInstanceOfScript(Unknown Source)
at com.fs.starfarer.api.loading.BarEventSpec.isMission(BarEventSpec.java:62)
at com.fs.starfarer.api.impl.campaign.intel.bar.events.SpecBarEventCreator.createBarEvent(SpecBarEventCreator.java:43)
at com.fs.starfarer.api.impl.campaign.intel.bar.events.BarEventManager.advance(BarEventManager.java:257)
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)
    复现步骤:
    玩一会就会出现几次卡顿然后游戏就爆了

    势力巨擘

    发表于 2024-2-5 09:39:47 | 显示全部楼层
    permgen错误请更换至JRE8或使用shenandoah,资源应该论坛上都能找到

    点评

    java.lang.NullPointerException at data.scripts.industry.MsResearch.createCargoResult(MsResearch.java:68) at data.scripts.industry.MsResearch.generateCargoForGatheringPoint(MsResearch.java:127) at c  详情 回复 发表于 2024-2-11 11:04

    巡洋大副

     楼主| 发表于 2024-2-11 11:04:53 | 显示全部楼层
    Octavus 发表于 2024-2-5 09:39
    permgen错误请更换至JRE8或使用shenandoah,资源应该论坛上都能找到

    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)
    又爆了,而且是马上爆,这咋解决大佬

    点评

    不小心点到踩了。。你这个问题是MSresearch,就是那个高达mod的研究部分,好多人用它都出问题,暂时别用了吧。还有就是反馈bug可以去看一下https://www.fossic.org/thread-2751-1-1.html 看如何提供全信息。  详情 回复 发表于 2024-2-19 09:09
    换了java运行挺稳定的 只是这次又爆了  详情 回复 发表于 2024-2-11 11:05

    巡洋大副

     楼主| 发表于 2024-2-11 11:05:24 | 显示全部楼层
    Bananaonl 发表于 2024-2-11 11:04
    java.lang.NullPointerException
            at data.scripts.industry.MsResearch.createCargoResult(MsResearch.j ...

    换了java运行挺稳定的
    只是这次又爆了

    战列舰长

    发表于 2024-2-16 08:04:55 | 显示全部楼层
    图片.png

    势力巨擘

    发表于 2024-2-19 09:09:18 | 显示全部楼层
    Bananaonl 发表于 2024-2-11 11:04
    java.lang.NullPointerException
            at data.scripts.industry.MsResearch.createCargoResult(MsResearch.j ...

    不小心点到踩了。。你这个问题是MSresearch,就是那个高达mod的研究部分,好多人用它都出问题,暂时别用了吧。还有就是反馈bug可以去看一下https://www.fossic.org/thread-2751-1-1.html 看如何提供全信息。

    本版积分规则

    Archiver|手机版|小黑屋|远行星号中文论坛

    GMT+8, 2024-11-22 03:25

    Powered by Discuz! X3.5

    © 2001-2077 Tencent Cloud | Durian Software Studio

    快速回复 返回顶部 返回列表