Minefactory Reloaded

Minefactory Reloaded

23M Downloads

Invalid registry state

EPIICTHUNDERCAT opened this issue ยท 45 comments

commented

https://paste.ubuntu.com/24928988/

This issue does not point to any mod, however after experimenting and removing your mod it stopped crashing. Cant tell ya why!

commented

Has anyone thought of a fix/reason for this issue?

commented

I'm hoping this will be fixed (if it isn't already, and just hasn't been conclusively verified) by the time I finish setting up the newest (and possibly final) version of my 1.10.2 modded server. Otherwise, I'm very likely to leave it out of the pack and come up with other roundabout solutions for the issues I hope to solve by including it. One of the most prominent of these, not many balanced but renewable alternatives for manual mining.

commented

2.9.0B1-230, the issue still persists, so yeah.

commented

EDIT: Seems to be the same issue listed here: #617 but while I don't currently have SpongeForge enabled, it did run on the server one time, but I deleted everything I possibly could before re-initializing the server.

I'm having the same error, but strangely only on the server I'm trying to run. No problems locally. If I remove Minefactory Reloaded from the server, the server loads fine.

https://paste.ubuntu.com/24970715/

I can provide more complete logs if necessary.

commented

yep duplicate! Sorry didnt see that below

commented

I didn't consider it a duplicate because of the lack of SpongeForge. But you're right the crash is identical and has some of the same mods, so this is an interaction unrelated to SpongeForge.


This is probably related to #611, but why you crash here instead of there, and why they crash there instead of here I can't yet guess at.

commented

Does this issue persist in build 226?

commented

Ill have to test, give me some time working on some things atm! if anyone else would be able to ;)

commented

@skyboy Yes, this same issue is present in build 226.

commented

It's happening to my server.

I solved it once (did not try this more often after it worked) by deleting the mod, starting up the server, stop when loaded and then stop, load backup of the world and then start server again

But thats a pain in the ***

commented

I can confirm this is still a thing.

commented

@Natrukei yeah that is a pain haha, any update, @skyboy, on the fix to this issue?

commented

we would love to fix this, but we can't recreate locally and are puzzled as to how this is not working for you. Would you be able to post the full log (logs/latest.log)?

commented
commented

Actually could you include fml-server-latest.log as well?

commented

Here's my latest crash log
https://pastebin.com/Awp8sWRL

If it helps I'm using the Direwolf20 modpack.

commented

The inconsistency is what bothers me about this issue. There's no good reason this should work sometimes and not others.

Why can't this just fail every time like a proper bug.


Also, the ModelLoader/Bakery stuff is a separate, but related issue. #611 was the first, now resolved case, and #646 is the new one

commented

@AnthonyKane5528X When you do the remove-launch-add-launch thing to get a reliable startup, can you hold f3+c to generate a crash report from the working launch and post that, along with the log for a failing launch?

commented

we have seen this crash log previously. Again would you be able to provide the latest.log? as this is single player that should have the full log of the mods loading and perhaps there will be something in there that may indicate what's going on.

commented

This is very odd. Now my server works fine with MFR.

commented

Ah, but now there's an issue on the client side:
crash-2017-07-04_11.27.42-client.txt

commented

again, we have seen this crash, but latest.log from client may help

commented

For the client:
latest.log: https://gist.github.com/fcpwiz/d5bc58bdcc670a6e5d990796709173b9
fml-client-latest.log: https://gist.github.com/fcpwiz/303dd3f4e4372b16e10219776e1a496f

For the server:
When I restart the server it crashes (java.lang.NullPointerException: The name to be added to the registry is null. This can only happen with a corrupted registry state. Reflection/ASM hackery? Registry bug?), restarts automatically, and starts up properly.

Here's the crash inside the FML latest log: https://gist.github.com/fcpwiz/303dd3f4e4372b16e10219776e1a496f#file-fml-client-latest-log-L6330-L6435

Also: https://gist.github.com/fcpwiz/303dd3f4e4372b16e10219776e1a496f#file-fml-client-latest-log-L6450-L6471

Could this be an Ars Magicia 2 issue/conflict with MFR?

commented

Here is the latest log

https://pastebin.com/tvBSJh3u

Sorry, pastebin last gave me a message that my previous attempt to paste the log was "too long".

Edit: I'm trying to load my pack right now.
-First attempt. CRASH, "Null Pointer Exception"
-UNINSTALLED MFR
-Second attempt. Game loaded WITHOUT MFR
-RE-INSTALLED LATEST VERSION OF MFR
-Third attempt. Game loads with MFR

(This is the same pattern I've had to repeat the last several days. If MFR is in the pack and I go to load, the game crashes with a Null Pointer Exception. I then have to delete MFR, do another load, quit the game, REINSTALL MFR, and THEN the game will load.)

commented

@P3pp3rF1y Ok, so the only way for me to start up my client with MFR is to remove Ars Magicia 2 and BloodMagic. Having either of them with MFR causes the client crash (and most likely the server crash). Or this could just be a coincidence relating do @AnthonyKane5528X's steps.

commented

Crash on start up with version [1.10.2]2.9.0B1-226
https://pastebin.com/EFDYZ8GP

REMOVED MOD
https://ufile.io/161il
(NOTE: THE LOG IS TOO BIG FOR PASTE-BIN)

RE-ADDED MOD / LOAD SUCCESSFUL
Version [1.10.2]2.9.0B1-226
https://ufile.io/6prsb
(NOTE: THE LOG IS TOO BIG FOR PASTE-BIN)

Hope this helps

commented

This issue crashes randomly, its not a constant crash from what ive seen.

commented

@AnthonyKane5528X you can use https://paste.ubuntu.com instead Pastebin for long/big logfiles.

commented

You can also use gist

commented

Is there any update on this @skyboy or @P3pp3rF1y ?

commented

Has anyone tested MineFactoryReloaded-[1.10.2]2.9.0B1-229.jar to see if this bug is still present?

commented

@macks2008 Hi, does MineFactoryReloaded-%5B1.10.2%5D2.9.0B1-229.jar work on your client without any issues or modification needed?

commented

I'm having this issue as well, on a sponge server. It stops crashing if I generate a new world, though I suspect even something as simple as regenerating the level.dat might suffice. Not sure if that would break anything though, so if you try it, backup your world first

commented

I'm pretty sure that's the deobfuscated version. So it won't work in an instance. This is according to #652

commented

please supply the release equivalent of that build and I'll let you know

commented

does anyone know how I could go about fixing the registry (relatively speaking) without completely resetting it (and in the process, completely breaking the world's modded blocks and items). Because I tried resetting it just now and all instances of Draconic Evolution's placed-item blocks turned into a liquid I didn't care to identify (though I think it was molten aluminium, given its appearance and capacity to burn me to death)

commented

also, could someone please produce a list of mods common to all instances experiencing this problem? It might be good to try and narrow it down. For instance, we know Ars Magica and Blood Magic seem to cause issues. Any others?

commented

wonder if there's a way to reproduce @Natrukei 's makeshift solution for a server environment, i.e. the remove-start-stop-readd dance

commented

still having this issue after updating everything, MFR included, and starting a new map. It only seems to happen sometimes.. Sometimes the server starts fine. Not sure why

commented

Just adding that using FoxGuard seems to also trigger this situation. Removing MFR fixes the problem, and so does FoxGuard. It's having the two together which causes the crash.

commented

okay so that's another mod... I'll ask @WayofTime via IRC if he knows what bloodmagic might have in common with Ars Magica and FoxGuard. Maybe that will help @skyboy narrow down the issue's root cause

commented

@Proplex the version number of FoxGuard and/or a link to it might be helpful

commented

Hi everyone,
My client kept crashing and I was told to disable the MFR Milk Bucket in order to correct it, I don't know whether it's related or not, but when this issue happend on my server I tried to do the same thing, and now that I also disabled the Milk Bucket on the server side it starts normally

commented

Whoops, I should've done my due diligence and had version numbers to start with. Using the most recent build which is v0.20.idk-api5.2 of FoxGuard and version v0.10.4-api5.2 of FoxCore (library required by FoxGuard)

Using SpongeForge 1.10.2-2477-5.2.0-BETA-2698, and Forge 2477. The MFR version I've tested this with was [1.10.2]2.9.0B1-229

commented

So I've been searching for an answer to this issue and I keep coming to this issue entry. So I'm hoping I'm in the right place to put these logs. I've read through and updated MFR to the latest version (MineFactoryReloaded-[1.10.2]2.9.0B1-230.jar) and I'm still given the same error. I also have the exported zip file given by the Twitch launcher. It's also worth noting that this hasn't started to happen until I installed Forestry (forestry_1.10.2-5.2.17.388.jar) and at the time I was using MFR version MineFactoryReloaded-[1.10.2]2.9.0B1-226.jar. The issue has persisted regardless of either version of MFR stated.
Server version: forge-1.10.2-12.18.3.2511
Crashlog: Gist
fml server log: Gist
Serverlog: Gist
I'll reference this comment to Sengir and his team on their github as well, hopefully this can help find the bug and fix it.