Slay the Spire

Slay the Spire

The Potionbrewer
pgames-food 20 Nov, 2022 @ 6:56pm
relic crash after 3-potions per 25 cards
hi i got this error below:
Last edited by pgames-food; 20 Nov, 2022 @ 6:57pm
< >
Showing 1-4 of 4 comments
pgames-food 20 Nov, 2022 @ 6:57pm 
java.lang.NullPointerException: null
at potionbrewer.optioncards.ChoosePotion.fixColors(ChoosePotion.java:152) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.potionDescription(ChoosePotion.java:169) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.<init>(ChoosePotion.java:43) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.<init>(ChoosePotion.java:63) ~[Potionbrewer.jar:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_144]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_144]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_144]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_144]
at potionbrewer.relics.AlchemistFlask.onUseCard(AlchemistFlask.java:44) ~[Potionbrewer.jar:?]
at com.megacrit.cardcrawl.actions.utility.UseCardAction.<init>(UseCardAction.java:41) ~[?:?]
at com.megacrit.cardcrawl.characters.AbstractPlayer.useCard(AbstractPlayer.java:1700) ~[?:?]
at com.megacrit.cardcrawl.actions.GameActionManager.getNextAction(GameActionManager.java:359) ~[?:?]
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:183) ~[?:?]
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325) ~[?:?]
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) [?:?]
pgames-food 20 Nov, 2022 @ 7:00pm 
(it was from the relic that pops up a window with a choice of 3 potions, that you can instantly play during a battle, i think every 25 cards played)

i had that relic for a few combats and it seemed to work fine, but then it started crashing with the same error when it would trigger, and i had to use the console to remove the relic before the 25th card, and was able to complete a battle, and then i added the relic back again, but now it seems to keep crashing so i had to remove it but am not sure what causes it)

maybe it uses the map seed to queue up a list of potions, and 1 of them that it wants to keep trying to make as the next potion in the list is conflicting or something but am not sure).
NotInTheFace  [developer] 26 Nov, 2022 @ 1:05pm 
Thanks for the report. I've pushed out a fix that should prevent the crash.
pgames-food 26 Nov, 2022 @ 3:02pm 
cool thanks :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50