Crash when shift clicking constellation paper into inventory
brisingraerowing opened this issue ยท 23 comments
AS: 1.8.8
Forge: 2673
MC: 1.12.2
It looks like this line is the issue. The other methods in that class use getProgress to guard against the progress not being loaded.
Then look 1 step before that. It is guarded against...
https://github.com/HellFirePvP/AstralSorcery/blob/master/src/main/java/hellfirepvp/astralsorcery/common/data/research/ResearchManager.java#L237-L246
Well, does this seem to persist? I can't really see how this happens and/or reproduce it either...
It happens randomly. I haven't seen it happen (yet) when I actually pick up the item, or when I break the chest and collect it from the ground. Just when I shift-click. Which makes it even more bizarre.
While the initial trigger is the same, the resulting successive crashes are not remotely the same issue, Hyperion. Delete your .astral file in the player data, it's corrupt.
If you have a log from the initial crash, instead, would be useful.
This has also happened to me just now, except now I crash to desktop before my world even finishes loading. All after shift clicking my first Constellation paper.
Crash Report
I did some testing and found that Forge 2673 (what I was on at the time) has this happen, but 2705 (what I'm on now) doesn't. I'm going to chalk this up to a weird Forge quirk.
I know this was just closed but this is for @Doomgull here is that preliminary crash log.
@diablo184 have your player data for AS reset, by removing the .astral file from the player data directory.
i just had this happen to me on a server i started is there a fix for this i can not rejoin the server currently
that got me back in but every time i pick up the papers i crash no matter how i get them
Can you pastebin one of your client crashes?
And then use the /as commands to try adding one instead.
this happened after trying to add one through creative mode
latest.log
Browsing it on mobile:
"[16:16:48] [Server thread/INFO] [Astral Sorcery]: [AstralSorcery] Synchronizing configuration to diablo184
[16:16:48] [Server thread/WARN] [Astral Sorcery]: [AstralSorcery] Failed to load AstralSocery Progress data for diablo184
[16:16:48] [Server thread/WARN] [Astral Sorcery]: [AstralSorcery] Erroneous file: 59575435-e498-4fb4-8a72-dfc1d9a7b7a0.astral"
Make sure that the player data files for the astral progression are not write protected, and that they are not unwritable by other users in that directory.
Also interesting there:
[16:16:48] [Server thread/WARN] [Astral Sorcery]: [AstralSorcery] Failed to load AstralSocery Progress data for diablo184
[16:16:48] [Server thread/WARN] [Astral Sorcery]: [AstralSorcery] Erroneous file: 59575435-e498-4fb4-8a72-dfc1d9a7b7a0.astral
everything is read only not sure if thats what i am looking for though? should i try a different version of the mod?
None of it should be read-only. How will it update and change the file if it cannot write to it?
That entire world-data directory should be read/write for all users, and inherited down through children, tbh.
And I am always going to recommend staying updated to the latest AS version.
to try and get around this crash i tried using the command for unlocking the constellations and i get an unknown error message when trying to use them =/
Can you provide that output?
And, again, have the file permissions been corrected for the directory and files to allow writes?