Slay the Spire

Slay the Spire

TestMod
 This topic has been pinned, so it's probably important
彼君不触  [developer] 25 Jul, 2020 @ 7:38pm
Bug Report (English)
post logs here, or on discord at 彼君不触#2742
< >
Showing 1-13 of 13 comments
AvangionQ 24 May, 2022 @ 12:21am 
Mods in stacktrace:
- testmod (5.8.35)
Cause:
java.lang.NullPointerException
at com.megacrit.cardcrawl.actions.common.DamageAllEnemiesAction.update(DamageAllEnemiesAction.java:88)
at testmod.relics.TwinklingStar$TwinklingStarDamageAction.update(TwinklingStar.java:58)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:463)
at com.megacrit.cardcrawl.rooms.ShopRoom.update(ShopRoom.java:55)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
彼君不触  [developer] 24 May, 2022 @ 2:41am 
Originally posted by AvangionQ:
Mods in stacktrace:
- testmod (5.8.35)
Cause:
java.lang.NullPointerException
at com.megacrit.cardcrawl.actions.common.DamageAllEnemiesAction.update(DamageAllEnemiesAction.java:88)
at testmod.relics.TwinklingStar$TwinklingStarDamageAction.update(TwinklingStar.java:58)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:463)
at com.megacrit.cardcrawl.rooms.ShopRoom.update(ShopRoom.java:55)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
huh, this looks weird, were you in combat before game crash?
AvangionQ 24 May, 2022 @ 10:31am 
Yes, crash at start of combat
彼君不触  [developer] 24 May, 2022 @ 11:20am 
Originally posted by AvangionQ:
Yes, crash at start of combat
ok I updated once trying to fix it, I mean I can see it was a combat in shop room, which is not usual, but I don't see why it would cause the crash, do you still get the crash or is it fixed now
Last edited by 彼君不触; 24 May, 2022 @ 11:21am
Comrade Guin 27 Jun, 2022 @ 3:22am 
CTD on game startup
10:20:41.828 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.megacrit.cardcrawl.relics.AbstractRelic.<init>(AbstractRelic.java:126) ~[?:?]
at basemod.abstracts.CustomRelic.<init>(CustomRelic.java:10) ~[BaseMod.jar:?]
at testmod.relics.AbstractTestRelic.<init>(AbstractTestRelic.java:150) ~[testmod.jar:?]
at testmod.relicsup.AbstractUpgradedRelic.<init>(AbstractUpgradedRelic.java:21) ~[testmod.jar:?]
at testmod.relicsup.AbstractUpgradedRelic.<init>(AbstractUpgradedRelic.java:25) ~[testmod.jar:?]
at testmod.relicsup.HopeUp.<init>(HopeUp.java:22) ~[testmod.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_144]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_144]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_144]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_144]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_144]
at testmod.relicsup.AllUpgradeRelic.upgrade(AllUpgradeRelic.java:103) ~[testmod.jar:?]
at testmod.relicsup.AllUpgradeRelic.add(AllUpgradeRelic.java:64) ~[testmod.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_144]
at testmod.mymod.TestMod.receiveEditRelics(TestMod.java:322) ~[testmod.jar:?]
at basemod.BaseMod.publishEditRelics(BaseMod.java:2493) ~[?:?]
at basemod.patches.com.megacrit.cardcrawl.helpers.RelicLibrary.EditRelicsPatch.Prefix(EditRelicsPatch.java:11) ~[BaseMod.jar:?]
at com.megacrit.cardcrawl.helpers.RelicLibrary.initialize(RelicLibrary.java) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:283) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?]
Changing accessibility of AbstractRoom fields start
Changing accessibility of AbstractRoom fields end
Reflection to get ColoredRooms start
Reflection to get ColoredRooms End
Powertips are now colored, have fun :DException in thread "LWJGL Application" java.lang.NullPointerException
at eventfilter.EventInfo.<init>(EventInfo.java:32)
at eventfilter.EventFilter.registerEvent(EventFilter.java:145)
at eventfilter.patches.AddEventPatch.Postfix(AddEventPatch.java:16)
at basemod.BaseMod.addEvent(BaseMod.java:1317)
at sneckomod.SneckoMod.receivePostInitialize(SneckoMod.java:425)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2259)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:307)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
彼君不触  [developer] 27 Jun, 2022 @ 5:46am 
Originally posted by dEVoRaTriX_LuX:
CTD on game startup
10:20:41.828 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.megacrit.cardcrawl.relics.AbstractRelic.<init>(AbstractRelic.java:126) ~[?:?]
at basemod.abstracts.CustomRelic.<init>(CustomRelic.java:10) ~[BaseMod.jar:?]
at testmod.relics.AbstractTestRelic.<init>(AbstractTestRelic.java:150) ~[testmod.jar:?]
at testmod.relicsup.AbstractUpgradedRelic.<init>(AbstractUpgradedRelic.java:21) ~[testmod.jar:?]
at testmod.relicsup.AbstractUpgradedRelic.<init>(AbstractUpgradedRelic.java:25) ~[testmod.jar:?]
at testmod.relicsup.HopeUp.<init>(HopeUp.java:22) ~[testmod.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_144]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_144]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_144]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_144]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_144]
at testmod.relicsup.AllUpgradeRelic.upgrade(AllUpgradeRelic.java:103) ~[testmod.jar:?]
at testmod.relicsup.AllUpgradeRelic.add(AllUpgradeRelic.java:64) ~[testmod.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_144]
at testmod.mymod.TestMod.receiveEditRelics(TestMod.java:322) ~[testmod.jar:?]
at basemod.BaseMod.publishEditRelics(BaseMod.java:2493) ~[?:?]
at basemod.patches.com.megacrit.cardcrawl.helpers.RelicLibrary.EditRelicsPatch.Prefix(EditRelicsPatch.java:11) ~[BaseMod.jar:?]
at com.megacrit.cardcrawl.helpers.RelicLibrary.initialize(RelicLibrary.java) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:283) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?]
Changing accessibility of AbstractRoom fields start
Changing accessibility of AbstractRoom fields end
Reflection to get ColoredRooms start
Reflection to get ColoredRooms End
Powertips are now colored, have fun :DException in thread "LWJGL Application" java.lang.NullPointerException
at eventfilter.EventInfo.<init>(EventInfo.java:32)
at eventfilter.EventFilter.registerEvent(EventFilter.java:145)
at eventfilter.patches.AddEventPatch.Postfix(AddEventPatch.java:16)
at basemod.BaseMod.addEvent(BaseMod.java:1317)
at sneckomod.SneckoMod.receivePostInitialize(SneckoMod.java:425)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2259)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:307)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
I'll update soon, fixed.
pIxzzu 11 Nov, 2022 @ 12:30pm 
Starting game...
20:26:36.808 INFO gremlin.GremlinMod> Loading GremlinMod Strings.
20:26:37.015 ERROR core.CardCrawlGame> Exception caught
testmod.mymod.TestMod$1FileInconsistentException: testmodResources/strings/relicStat.json is corrupted, please resubscribe.
at testmod.mymod.TestMod.loadStats(TestMod.java:375) ~[testmod.jar:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) ~[?:1.8.0_144]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_144]
at testmod.mymod.TestMod.receiveEditStrings(TestMod.java:383) ~[testmod.jar:?]
at basemod.BaseMod.publishEditStrings(BaseMod.java:2552) ~[?:?]
at basemod.patches.com.megacrit.cardcrawl.localization.LocalizedStrings.EditStrings.Postfix(EditStrings.java:9) ~[?:?]
at com.megacrit.cardcrawl.localization.LocalizedStrings.<init>(LocalizedStrings.java:228) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:260) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?]

Exception in thread "LWJGL Application" java.lang.NullPointerException
at basemod.ModToggleButton.<init>(ModToggleButton.java:39)
at basemod.ModLabeledToggleButton.<init>(ModLabeledToggleButton.java:29)
at basemod.ModLabeledToggleButton.<init>(ModLabeledToggleButton.java:23)
at basemod.BaseModInit.receivePostInitialize(BaseModInit.java:73)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2287)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:307)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

The game can't even start with this mod enabled right now. I also have tried resubscribing like it says to, without any changes.
Last edited by pIxzzu; 11 Nov, 2022 @ 12:31pm
彼君不触  [developer] 11 Nov, 2022 @ 5:19pm 
Originally posted by pIxzzu:
Starting game...
20:26:36.808 INFO gremlin.GremlinMod> Loading GremlinMod Strings.
20:26:37.015 ERROR core.CardCrawlGame> Exception caught
testmod.mymod.TestMod$1FileInconsistentException: testmodResources/strings/relicStat.json is corrupted, please resubscribe.
at testmod.mymod.TestMod.loadStats(TestMod.java:375) ~[testmod.jar:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) ~[?:1.8.0_144]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_144]
at testmod.mymod.TestMod.receiveEditStrings(TestMod.java:383) ~[testmod.jar:?]
at basemod.BaseMod.publishEditStrings(BaseMod.java:2552) ~[?:?]
at basemod.patches.com.megacrit.cardcrawl.localization.LocalizedStrings.EditStrings.Postfix(EditStrings.java:9) ~[?:?]
at com.megacrit.cardcrawl.localization.LocalizedStrings.<init>(LocalizedStrings.java:228) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:260) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?]

Exception in thread "LWJGL Application" java.lang.NullPointerException
at basemod.ModToggleButton.<init>(ModToggleButton.java:39)
at basemod.ModLabeledToggleButton.<init>(ModLabeledToggleButton.java:29)
at basemod.ModLabeledToggleButton.<init>(ModLabeledToggleButton.java:23)
at basemod.BaseModInit.receivePostInitialize(BaseModInit.java:73)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2287)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:307)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

The game can't even start with this mod enabled right now. I also have tried resubscribing like it says to, without any changes.

Your mod file is corrupted, please unsubscribe and resubscribe.
pIxzzu 11 Nov, 2022 @ 9:20pm 
I have already tried unsubscribing and resubscribing, to no avail. Going into my files and deleting the mod file didn't help either
彼君不触  [developer] 11 Nov, 2022 @ 10:34pm 
Originally posted by pIxzzu:
I have already tried unsubscribing and resubscribing, to no avail. Going into my files and deleting the mod file didn't help either
Someone reported this problem before, I told him the solution and he tried a few times before it works. I'm not sure, but this seems like internet problem.
pIxzzu 12 Nov, 2022 @ 10:44am 
Alright, well thank you for helping anyways :steamthumbsup:
彼君不触  [developer] 15 Nov, 2022 @ 7:42am 
Originally posted by pIxzzu:
Alright, well thank you for helping anyways :steamthumbsup:
I made an update, this problem should be fixed
pIxzzu 21 Nov, 2022 @ 3:17pm 
Originally posted by 彼君不触:
Originally posted by pIxzzu:
Alright, well thank you for helping anyways :steamthumbsup:
I made an update, this problem should be fixed
tysm
< >
Showing 1-13 of 13 comments
Per page: 1530 50