Slay the Spire

Slay the Spire

The Elementalist (WIP)
Stukov 2019 年 1 月 28 日 上午 6:39
Game crashing on playing the Card Widdershins with Aircast effect.
Error log:

14:32:38.326 ERROR core.CardCrawlGame> Exception caught java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:418) ~[?:1.8.0_144] at java.util.ArrayList.get(ArrayList.java:431) ~[?:1.8.0_144] at elementalist_mod.orbs.ElementOrb.render(ElementOrb.java:230) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.characters.AbstractPlayer.render(AbstractPlayer.java:1977) ~[?:?] at elementalist_mod.characters.TheElementalist.render(TheElementalist.java:203) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.rooms.AbstractRoom.render(AbstractRoom.java:552) ~[?:?] at com.megacrit.cardcrawl.rooms.MonsterRoom.render(MonsterRoom.java:103) ~[?:?] at com.megacrit.cardcrawl.dungeons.AbstractDungeon.render(AbstractDungeon.java:2703) ~[?:?] at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:448) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]

I only had 2 Air when playing the card. It looks like the Transmute effect went through, as I had 2 Fire in the fire slot, but then the game crashed.

EDIT: I was now able to play the card without a crash when I had water transmuted into Air.
Maybe the bug correlates to there being no Air after transmuting and the gaming trying to use air for the Aircast effect?
最后由 Stukov 编辑于; 2019 年 1 月 28 日 上午 6:45
< >
正在显示第 1 - 5 条,共 5 条留言
HULK BROGAN 2019 年 1 月 28 日 上午 6:58 
java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:418) ~[?:1.8.0_144] at java.util.ArrayList.get(ArrayList.java:431) ~[?:1.8.0_144] at elementalist_mod.orbs.ElementOrb.render(ElementOrb.java:230) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.characters.AbstractPlayer.render(AbstractPlayer.java:1977) ~[?:?] at elementalist_mod.characters.TheElementalist.render(TheElementalist.java:203) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.rooms.AbstractRoom.render(AbstractRoom.java:552) ~[?:?] at com.megacrit.cardcrawl.rooms.MonsterRoom.render(MonsterRoom.java:103) ~[desktop-1.0.jar:?] at com.megacrit.cardcrawl.dungeons.AbstractDungeon.render(AbstractDungeon.java:2703) ~[?:?] at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:448) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]

I recreated the bug. Upon crashing i only had air and fire, and no other mods other than the essential mods turned on. I then tried again and had ALL elements, which did not cause a crash on casting.
最后由 HULK BROGAN 编辑于; 2019 年 1 月 28 日 上午 7:00
Blue Hexagon  [开发者] 2019 年 1 月 28 日 上午 9:50 
Thanks for the reports - I believe I know what was causing the bug, but can I get any feedback on whether you're still running into this after the update?
Stukov 2019 年 1 月 29 日 上午 1:39 
I still got a crash after playing Widdershins.
I had 2 Air, no Water, played Widdershins, Elements transmuted, Game crashed.
I did see the number 1 on both FIre AND Air though.

09:37:11.377 ERROR core.CardCrawlGame> Exception caught java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:418) ~[?:1.8.0_144] at java.util.ArrayList.get(ArrayList.java:431) ~[?:1.8.0_144] at elementalist_mod.orbs.ElementOrb.render(ElementOrb.java:230) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.characters.AbstractPlayer.render(AbstractPlayer.java:1977) ~[?:?] at elementalist_mod.characters.TheElementalist.render(TheElementalist.java:209) ~[ElementalistMod.jar:?] at com.megacrit.cardcrawl.rooms.AbstractRoom.render(AbstractRoom.java:552) ~[?:?] at com.megacrit.cardcrawl.rooms.MonsterRoom.render(MonsterRoom.java:103) ~[?:?] at com.megacrit.cardcrawl.dungeons.AbstractDungeon.render(AbstractDungeon.java:2703) ~[?:?] at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:448) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]
Blue Hexagon  [开发者] 2019 年 1 月 29 日 上午 11:12 
引用自 Stukov
I still got a crash after playing Widdershins.
I had 2 Air, no Water, played Widdershins, Elements transmuted, Game crashed.
I did see the number 1 on both FIre AND Air though.

<crash log>

Not sure when you encountered this crash, but Widdershins has been changed since then that this particular one shouldn't be possible. (I literally set it to ignore a crash in that part since it's purely asthetic rendering.)
Stukov 2019 年 1 月 29 日 上午 11:15 
I encountered after the update you said that fixed it. But there might be chance something with the update went wrong on my end. I'll try again tomorrow and report if I encounter it again :)
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50