Slay the Spire

Slay the Spire

The Elementarium
Ita 2020년 4월 7일 오전 3시 18분
Game crashes
I would love to try this mod but it seems to clash with other mods I'm using...
I don't really know if this is the right part of the crash but if you don't mind seeing to it.
I think it's this part:

Exception in thread "LWJGL Application" java.lang.NullPointerException
at infinitespire.helpers.QuestHelper.getRandomQuest(QuestHelper.java:167)
at infinitespire.helpers.QuestHelper.getRandomQuests(QuestHelper.java:130)
at infinitespire.InfiniteSpire.addInitialQuests(InfiniteSpire.java:533)
at infinitespire.patches.AbstractDungeonPatch$InitFirstRoomPatch.initQuestLog(AbstractDungeonPatch.java:192)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.<init>(AbstractDungeon.java:378)
at actlikeit.dungeons.CustomDungeon.<init>(CustomDungeon.java:67)
at elementarium.act.ElementariumAct.<init>(ElementariumAct.java:31)
at elementarium.Elementarium.receivePostInitialize(Elementarium.java:80)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2235)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:303)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
< >
전체 댓글 8개 중 1~8개 표시 중
modargo  [개발자] 2020년 4월 7일 오전 6시 55분 
Thanks for the crash report -- it's helpful to get since I can't test all combinations of mods myself. From that, it looks like Infinite Spire might be the incompatible mod -- you can try disabling that and seeing if the Elementarium works. If it turns out to be more complex than just disabling that one mod, let me know the full list of mods you're running so that I can reproduce and debug this.

I'll see if I can fix this and the other mod incompatibility reports I've gotten as part of the next update I make -- people have also reported issues with Challenge the Spire.
Ita 2020년 4월 7일 오전 9시 43분 
You're welcome!, it's actually nice of you that your making your mod compatible with other mods as not all mod creators care for compatibility.

So just to test things, I ran the game with Elementarium with the required API mods along with Infinite Spire and it really does appears to be the cause of the crash.

On the bright side, it works fine with the other 42 mods I'm using so as for compatibility, your mod is super compatible!
modargo  [개발자] 2020년 4월 7일 오후 3시 12분 
@Saturn 42 out of 43 ain't bad :).

@squeeny Thanks, that's super helpful. I'll incorporate that fix into the next version I upload so this crash doesn't happen anymore.
Ita 2020년 4월 7일 오후 11시 50분 
YES! excited to try it!
modargo  [개발자] 2020년 4월 8일 오후 4시 47분 
Should be fixed in the most recent version.
Ita 2020년 4월 9일 오후 12시 28분 
It works :)
darrthscorrp 2020년 12월 3일 오전 3시 55분 
the 2.2 update has broke the mod a little:( everything works fine except the game over screen.

11:50:29.525 INFO saveAndContinue.SaveAndContinue> DELETING saves\IRONCLAD.autosave SAVE
11:50:29.526 INFO basemod.BaseMod> Class has no more unlocks.
Managing unlocks
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.IllegalAccessError: tried to access field com.megacrit.cardcrawl.screens.GameOverScreen.stats from class elementarium.patches.CreateGameOverStatsPatch$DeathScreenPatch
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:133)
Caused by: java.lang.IllegalAccessError: tried to access field com.megacrit.cardcrawl.screens.GameOverScreen.stats from class elementarium.patches.CreateGameOverStatsPatch$DeathScreenPatch
at elementarium.patches.CreateGameOverStatsPatch$DeathScreenPatch.DeathScreenPatch(CreateGameOverStatsPatch.java:51)
at com.megacrit.cardcrawl.screens.DeathScreen.createGameOverStats(DeathScreen.java:413)
at com.megacrit.cardcrawl.screens.DeathScreen.<init>(DeathScreen.java:213)
at com.megacrit.cardcrawl.characters.AbstractPlayer.damage(AbstractPlayer.java:1875)
at com.megacrit.cardcrawl.characters.Ironclad.damage(Ironclad.java:317)
at com.megacrit.cardcrawl.actions.common.DamageAction.update(DamageAction.java:91)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
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:871)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:419)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
[sentry-pool-1-thread-2] WARN io.sentry.connection.AbstractConnection.lockdown - Initiated a temporary lockdown because of exception: An exception occurred while submitting the event to the Sentry server.
[sentry-pool-1-thread-3] ERROR io.sentry.connection.AsyncConnection - An exception occurred while sending the event to Sentry.
[sentry-pool-1-thread-2] ERROR io.sentry.connection.AsyncConnection - An exception occurred while sending the event to Sentry.
io.sentry.connection.ConnectionException: An exception occurred while submitting the event to the Sentry server.
at io.sentry.connection.HttpConnection.doSend(HttpConnection.java:216)
at io.sentry.connection.AbstractConnection.send(AbstractConnection.java:75)
at io.sentry.connection.AsyncConnection$EventSubmitter.run(AsyncConnection.java:185)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at io.sentry.connection.HttpConnection.doSend(HttpConnection.java:168)
... 5 more
io.sentry.connection.ConnectionException: An exception occurred while submitting the event to the Sentry server.
at io.sentry.connection.HttpConnection.doSend(HttpConnection.java:216)
at io.sentry.connection.AbstractConnection.send(AbstractConnection.java:75)
at io.sentry.connection.AsyncConnection$EventSubmitter.run(AsyncConnection.java:185)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at io.sentry.connection.HttpConnection.doSend(HttpConnection.java:168)
... 5 more
modargo  [개발자] 2020년 12월 3일 오후 11시 10분 
Thanks for reporting! You're completely right that Slay the Spire 2.2 caused this, and I've released an update that should fix the crash on the game over screen.
< >
전체 댓글 8개 중 1~8개 표시 중
페이지당 표시 개수: 1530 50