Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not sure if this is construct related or not, ut take a look, sending it here because your mod is mentioned in the error. #19

Open
Lunaraia opened this issue Jul 13, 2018 · 4 comments

Comments

@Lunaraia
Copy link

Exception: java.util.ConcurrentModificationException
16:52:58.148 ERROR core.CardCrawlGame> Exception caught
java.util.ConcurrentModificationException: null
at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_171]
at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_171]
at basemod.BaseMod.publishPostDungeonInitialize(BaseMod.java:1887) ~[?:?]
at basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.PostDungeonInitializeHook.Postfix(PostDungeonInitializeHook.java:9) ~[BaseMod.jar:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.initializeRelicList(AbstractDungeon.java:1766) ~[?:?]
at com.megacrit.cardcrawl.dungeons.Exordium.(Exordium.java:52) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.getDungeon(CardCrawlGame.java:1291) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:810) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:415) [?:?]
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:?]
Controllers: removed manager for application, 0 managers active
16:52:59.157 INFO core.CardCrawlGame> PAUSE()
16:52:59.157 INFO core.CardCrawlGame> Game shutting down...
16:53:01.573 INFO helpers.File> Failed to copy file=D:\SteamLibrary\steamapps\common\SlayTheSpire\preferences\THE_CONSTRUCT_MOD
java.nio.channels.ClosedByInterruptException: null
at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source) ~[?:1.8.0_171]
at sun.nio.ch.FileChannelImpl.size(Unknown Source) ~[?:1.8.0_171]
at java.nio.file.Files.readAllBytes(Unknown Source) ~[?:1.8.0_171]
at com.megacrit.cardcrawl.helpers.File.validateWrite(File.java:140) ~[desktop-1.0.jar:?]
at com.megacrit.cardcrawl.helpers.File.copyAndValidate(File.java:97) [desktop-1.0.jar:?]
at com.megacrit.cardcrawl.helpers.File.save(File.java:49) [desktop-1.0.jar:?]
at com.megacrit.cardcrawl.helpers.FileSaver.consume(FileSaver.java:42) [desktop-1.0.jar:?]
at com.megacrit.cardcrawl.helpers.FileSaver.run(FileSaver.java:25) [desktop-1.0.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
16:53:01.574 INFO helpers.File> java.lang.InterruptedException: sleep interrupted

@Moocowsgomoo
Copy link
Owner

Hmm, could you provide a bit more context on when the error occurred / what you were doing?
Some specific questions:

  • What other mods did you have active?
  • Does this keep happening, or did it work next time you tried to load the game?
  • If you go to that file path (D:\SteamLibrary\steamapps\common\SlayTheSpire\preferences), is there a THE_CONSTRUCT_MOD file there at all?

@Lunaraia
Copy link
Author

The mods that were active at the time were: Basemod, BetterRewards, Black Mage, Colored Map, Construct Mod (obviously), FechMod, FruityMod, HexCores, MadScienceMod, MoreRelics, NecroMod, ReplayTheSpire, STS_Alwayswhale, SynergyRelic and WitchMod.

As for what I were doing. well the latest release put Endless into the main branch so I were on an Endless Run, had just beaten Act 3 and were gong back to see Neow when it just CTD'd me with that error.

There was a THE_CONSTRUCT_MOD file in the preferences menu so not sure why it didn't find it.

Upon starting up the game and retrying it just now (haven't played since this bug occurred) I could enter the new cycle just fine and going for another 3 cycles it still have not crashed, so I am honestly not sure whats going on.

@Moocowsgomoo
Copy link
Owner

Yeah, that's pretty weird - I just tested an endless run with that setup and it didn't crash or anything. I'll leave the issue up in case you or anyone else experiences it again. It's probably an interaction between two or more mods, but with your list that's a lot of options :)

@Lunaraia
Copy link
Author

I will put up a copy of this on Basemod's issue tracker part as that is also mentioned, might be that they can make heads or tails of this.

mentioned part is: basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.PostDungeonInitializeHook.Postfix(PostDungeonInitializeHook.java:9) ~[BaseMod.jar:?]

so this might actually be a Basemod issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants