MehVahdJukaar / Moonlight

GNU General Public License v3.0
40 stars 22 forks source link

[🐞]: Internal exception: java.lang.UnsupportedOperationException: Failed to get registry access: level was null #227

Closed AnVir closed 1 week ago

AnVir commented 1 week ago

BEFORE CONTINUING:

Version-Loader

1.20.1-forge

Moonlight Lib Version

moonlight-1.20-2.12.1

Issue Detail

I have updated supplementaries mod to most recent version, supplementaries-1.20-2.8.15, and so updated moonlight mod too, From: moonlight-1.20-2.11.4-forge.jar To: moonlight-1.20-2.12.1-forge.jar Both got from modrinth site.

Got this error at client side when try to log in - sorry for pic coz nothing related in logs: ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ Title is "Connection lost" in russian.

Removing player data file while server stopped not helps.

Log Attachment

Nothing related in logs. I have double checked!

Server: [08:30:07 INFO]: Veerous joined the game [08:30:08 INFO]: Syncing config to Veerous (5bee47ad-1e5f-318d-ae73-48f0117963c8) [08:30:08 INFO]: Veerous[/95.26.99.76:22322] logged in with entity id 553 at ([world]-34.5, 64.0, 117.5) [08:30:08 INFO]: Veerous lost connection: Disconnected [08:30:08 INFO]: [voicechat] Disconnecting client Veerous [08:30:08 INFO]: Veerous left the game [08:30:08 WARN]: handleDisconnection() called twice

Client: [09:29:56] [Render thread/INFO]: Connecting to s01.recreative.fun, 25565 [09:30:00] [Render thread/INFO]: Injecting existing registry data into this CLIENT instance [09:30:05] [Netty Client IO #0/INFO]: Energy blacklist loaded: 1 block entries, 0 item entries [09:30:05] [Netty Client IO #0/INFO]: Connected to a modded server. [09:30:06] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingIn [09:30:06] [Render thread/INFO]: JEI StartEventObserver transitioning state from DISABLED to ENABLED [09:30:06] [Render thread/INFO]: [voicechat] Sending secret request to the server [09:30:06] [Render thread/INFO]: [FANCYMENU] ScreenCustomizationLayer registered: receiving_level_screen [09:30:06] [Render thread/INFO]: Synced Flute Songs [09:30:06] [Render thread/INFO]: Synced Captured Mobs settings [09:30:06] [Render thread/INFO]: Synced Globe data [09:30:06] [Render thread/INFO]: Released client Flux Networks cache [09:30:06] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut [09:30:06] [Render thread/INFO]: JEI StartEventObserver transitioning state from ENABLED to DISABLED [09:30:06] [Render thread/INFO]: [voicechat] Clearing audio channels [09:30:12] [Render thread/INFO]: [FANCYMENU] ScreenCustomizationLayer registered: disconnected_screen [09:30:12] [Render thread/INFO]: Reset 0 configs to their client-side state.

OPTIONAL: To Produce

1) Instal supplementaries-1.20-2.8.15 and moonlight-1.20-2.11.30 or later, forge, both server and client. 2) Try to connect to server.

OPTIONAL: Which mods are affected?

supplementaries-1.20-2.8.15, I guess. Tried oldest moonlight that it supports too: moonlight-1.20-2.11.30 No luck.

AnVir commented 1 week ago

Also, forge is 1.20.1-47.3.1 both client and server.

Temporary solution for meh: roll back to moonlight-1.20-2.11.4-forge.jar supplementaries-1.20-2.8.6.jar

MehVahdJukaar commented 1 week ago

I need full log

MehVahdJukaar commented 1 week ago

Might be th server one

AnVir commented 1 week ago

server debug log here: https://gist.github.com/AnVir/8c33fe01354398c04651c621eaed3d60 client log at the same time: https://gist.github.com/AnVir/981ff4472ba133b178f9eb9c66f7634b

Also, it's mohist hybrid server, tho not too mod/plugin overloaded and I especially track to have no buggy/erroring mods etc. But, it still might be server related error, coz it's not clear forge server. But it has recent 47.3.1 forge built in recently.

If it's server related (or seem so), please tell, I'll deal with server development team. Thank you in advance!

MehVahdJukaar commented 1 week ago

Try it on a normal server. If it doesn't happen it's their issues. Such servers should not be used. They are a huge hack and will have issues. You are lucky if you didn't have them before

raffle2 commented 1 week ago

Having the exact same issue on same version of forge and mods with a server on exaroton :(

Had to revert to "moonlight-1.20-2.11.41-forge" & "supplementaries-1.20-2.8.15" to fix it.

Illest8 commented 1 week ago

Having the exact same issue on same version of forge and mods with a server on exaroton :(

Had to revert to "moonlight-1.20-2.11.41-forge" & "supplementaries-1.20-2.8.15" to fix it.

Same here. Had to revert.

Razor235T commented 1 week ago

Same.

Blugori commented 1 week ago

The crash report I got for this issue said :

Mod File: /C:/Users/Blugo/AppData/Roaming/.minecraft/mods/supplementaries-1.20-2.8.15.jar
Failure message: Supplementaries (supplementaries) has failed to load correctly
    java.lang.ExceptionInInitializerError: null
Mod Version: 1.20-2.8.15
Mod Issue URL: https://github.com/MehVahdJukaar/Supplementaries/issues
Exception message: com.electronwill.nightconfig.core.io.ParsingException: Invalid character '

' after key [e]

Razor235T commented 1 week ago

Blugori, there is already a new version of mod, it's been fixed.

Blugori commented 1 week ago

The issue's still there, maybe this doesnt happens because of supplementaries, I'll try in a clean environment. (moonlight is 2.12.2)

Mod File: /C:/Users/Blugo/AppData/Roaming/.minecraft/mods/supplementaries-1.20-2.8.17.jar
Failure message: Supplementaries (supplementaries) has failed to load correctly
    java.lang.ExceptionInInitializerError: null
Mod Version: 1.20-2.8.17
Mod Issue URL: https://github.com/MehVahdJukaar/Supplementaries/issues
Exception message: com.electronwill.nightconfig.core.io.ParsingException: Invalid character '

' after key [e]

EDIT : Nevermind, I just had to delete the config files