All the Mods 7 - ATM7

All the Mods 7 - ATM7

3M Downloads

Unable to connect to server

Pelkenator opened this issue · 24 comments

commented

I'm having a strange issue with the server as the host. I can join the first time the server goes up but then the next day I get a strange error I have never encountered before. Internal Exception: io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null.
The only fix is to make another server and then drag world folder into it. Possibly a problem with the simple server I have no idea.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

Issue still persists with .44 update. Error is thrown during connection to multiplayer server at random while loading in.

commented

I have the same issue.

commented

Fix for me is to OP myself then restart server.

commented

Hi all,

a similar error here, connecting from Kubuntu to Windows or vice versa, both instances running on MultiMC / ATM7 0.2.17, redownloaded on both clients multiple times (IP is masked). Forge Version 39.09 on both machines, everything I found regarding to this error was about having different versions of forge:

[12:08:34] [Render thread/INFO]: Connecting to 123.123.123.123, 55555
[12:08:35] [Netty Epoll Client IO #2/INFO]: Read 67 traits from server
[12:08:35] [Netty Epoll Client IO #2/INFO]: Read 44 parts from server
[12:08:35] [Netty Epoll Client IO #2/INFO]: Read 118 materials from server
[12:08:36] [Render thread/INFO]: Injecting existing registry data into this CLIENT instance
[12:08:41] [Netty Epoll Client IO #2/INFO]: Loading "Rapid Leaf Decay" Server Config
[12:08:41] [Netty Epoll Client IO #2/INFO]: [decay_delay] = 5
[12:08:41] [Netty Epoll Client IO #2/INFO]: "Rapid Leaf Decay" Server Config loaded
[12:08:41] [Netty Epoll Client IO #2/INFO]: Loading JourneyMap Forge Configs
[12:08:41] [Netty Epoll Client IO #2/INFO]: Reloading server config for tradingpost
[12:08:42] [Netty Epoll Client IO #2/INFO]: Connected to a modded server.
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:horses'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:horses'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:chicken'
[12:08:42] [Render thread/INFO]: Started 6 worker threads
[12:08:42] [Render thread/INFO] [mojang/YggdrasilAuthenticationService]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[12:08:42] [Render thread/INFO]: Loaded 14 jetpacks from the server
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:cows'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:parrots'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:parrots'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:cows'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'occultism:humans'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:cows'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:golems/snow'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:llamas'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:squid'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:cows'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:zombies'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:horses'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:sheep'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:chicken'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:spiders'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:bats'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:chicken'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'occultism:humans'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:zombies'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:cows'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: java.lang.RuntimeException: Unknown entity tag 'forge:pigs'
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
[12:08:42] [Netty Epoll Client IO #2/ERROR]: Could not deserialize minecraft:
Clipboard copy at: 02 Jan 2022 13:08:52 +0100
commented

issue might be from leaving yourself OP when you log off then update. it seems the client remembers you're op and the server doesn't possibly. i deOped and was allowed to join. Let me know if this works for you.....

commented

we have same issue, BUT we havent used minecolonies (yet) so there is no folder for minecolonies in our world's folder. (so this is not the issue)
and i don't think shetiphiancore is breaking as that serialization error always shows up (even when you first join the world).
as i searched a bit (and thanks to #170 ) the issue might be InventorySorter, as there is already an issue made on their github InventorySorter#112

commented

I have 4 PC's in house and the 5th is the dedicated server on lan. I have had this problem since 0.2.12. The weird thing is, its only 1 pc that is doing that. The ("Internal Exception: io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null.). Restarting server, or reloading his whole pack works for one connection.

But when i try to restart his game, i also get at the MC "green play button screen" after this crash it tries to load then throws a launching the game failed error, (" Failed to download file, the file contains differ from what was expected. NAME:Forge-39.0.8 Jar.")
If i replace his jar client in \install\versions\forge-39.0.8\forge- Folder, It will connect, but after he plays and disconnect, back to the first error,(Internal Exception: io.netty.) when its loading world upon connection to server. Now Running0.2.15, same thing on only 1 PC.
I dont know what is wrong, but if you delete your client jar, or replace it, it will get you back on server once each time. For now that is what i have had him doing to connect for now until i can figure this out as well.

commented

im stuck here we might need to make a new world because something is really messed up. if you started a world before the .12 update of the pack you probably have this issue it only happened once that update was installed.

commented

im stuck here we might need to make a new world because something is really messed up. if you started a world before the .12 update of the pack you probably have this issue it only happened once that update was installed.

Well if i have to wipe my map already, i will be in fear of this happening again in future update. So if it comes to that i will most likely try another pack for a bit instead of ATM for a while, and see how there packs are running. Not sure yet. Hoping a modder chimes in soon.
@ Pelkenator : If you start a new map, let me know if that seems to fix it. I will have to get the other 5 that plays choice on, if we wipe map and try again or another pack.

commented

Well, update from my side, so i went to a new pack with me and one of my players, and he got an error again, upon trying to load the new pack ( at the play MC launcher screen. So at this point , since it happen in another pack, not ATM pack, i am leaning on it might be the forge version itself , or possible something in the curse loader, causing it, If i had to guess. Let you know if i find anything else.

commented

@Deweyoxberg
I think its either forge or java, but i think java is crashing because of it. Running a dedicated PC here, I have 4 players lan and one come in outside network, i am the only OP, and its doing it to them, but only me ('op') here and there.
If i remove the forge file forge-39.0.8 at the end where jar is, even when we were on 38.0 it will seem to load,

If you do not get the java error above mentioned, after game loads, if the forge error does not happen.

It will make it in game if when it crashes before i load up the game and get the forge error, at the play button. to make it go, I remove the file at end of C:\Users"nameofpc"\curseforge\minecraft\Install\versions\forge-39.0.8\ ---- remove the last file with the jar file and manifest, restart curse and sometimes it will let the player in, again if the java one dont get you upon connect to server.

I am at a loss, at this point. Its so random i can not pin point it. Well and i am not great at java\mod stuff\files anyways. lol

commented

@Pelkenator - Can confirm that op permissions is not the issue; problem persists.

Running into much of the same issues. From latest.log client side, this is what pops up:

[18:10:17] [Render thread/FATAL]: Error executing task on Client
java.util.NoSuchElementException: packet_handler
	at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
	at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:248) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
	at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:237) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
	at net.minecraftforge.network.filters.NetworkFilters.lambda$injectIfNecessary$1(NetworkFilters.java:48) ~[forge-1.18.1-39.0.9-universal.jar%23255!:?]
	at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:196) ~[guava-31.0.1-jre.jar%2321!:?]
	at net.minecraftforge.network.filters.NetworkFilters.injectIfNecessary(NetworkFilters.java:44) ~[forge-1.18.1-39.0.9-universal.jar%23255!:?]
	at net.minecraftforge.network.NetworkHooks.sendMCRegistryPackets(NetworkHooks.java:119) ~[forge-1.18.1-39.0.9-universal.jar%23255!:?]
	at net.minecraft.client.multiplayer.ClientPacketListener.m_5998_(ClientPacketListener.java:372) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.network.protocol.game.ClientboundLoginPacket.m_5797_(ClientboundLoginPacket.java:82) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.network.protocol.game.ClientboundLoginPacket.m_5797_(ClientboundLoginPacket.java:18) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$checkThreadAndEnqueue$0(PacketUtils.java:38) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.optifine.util.PacketRunnable.run(PacketRunnable.java:28) ~[OptiFine_1.18.1_HD_U_H4.jar%23256!:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:193) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:158) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:135) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1009) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.9.jar%2323!:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]
[18:10:17] [Render thread/INFO]: Removed all colony views
[18:10:17] [Render thread/ERROR]: Plugin JourneymapPlugin{modId=minecolonies} errored during event: MAPPING_STOPPED
java.lang.NoSuchFieldError: level
	at com.minecolonies.coremod.compatibility.journeymap.JourneymapPlugin.onEvent(JourneymapPlugin.java:49) ~[minecolonies-1.18.1-1.0.328-ALPHA.jar%23175!:1.18.1-1.0.328-ALPHA]
	at journeymap.client.api.impl.PluginWrapper.notify(PluginWrapper.java:293) ~[journeymap-1.18.1-5.8.0beta5.jar%23154!:1.18.1-5.8.0beta5]
	at journeymap.client.api.impl.ClientEventManager.fireMappingEvent(ClientEventManager.java:76) ~[journeymap-1.18.1-5.8.0beta5.jar%23154!:1.18.1-5.8.0beta5]
	at journeymap.client.JourneymapClient.stopMapping(JourneymapClient.java:600) ~[journeymap-1.18.1-5.8.0beta5.jar%23154!:1.18.1-5.8.0beta5]
	at journeymap.client.forge.event.WorldEventHandler.onUnload(WorldEventHandler.java:37) ~[journeymap-1.18.1-5.8.0beta5.jar%23154!:1.18.1-5.8.0beta5]
	at net.minecraftforge.eventbus.ASMEventHandler_1888_WorldEventHandler_onUnload_Unload.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraft.client.Minecraft.m_91320_(Minecraft.java:2120) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91399_(Minecraft.java:2101) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.multiplayer.ClientPacketListener.m_7026_(ClientPacketListener.java:670) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.network.Connection.m_129541_(Connection.java:382) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_105287_(MultiPlayerGameMode.java:245) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1611) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1015) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23251!:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.9.jar%2323!:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]

I removed JourneyMap on the off chance that was it - Nope, not at all.
Removed playerdata - nope, not it either.

Literally just happens to me out of five other players; it's a headscratcher.

commented

@Deweyoxberg i am the only OP, and its doing it to them, but only me ('op') here and there.

It's not OP related.

commented

I understand its not Op related, just posting back to help me and the owner of the post to try and figure it out. It is doing it on multiple PC's but not all. Im trying to post as well in forge help but it seems there having issues on there site, atm. I think its this causing the problem. If this does not happen, after clicking play, it seems the PC does get the java error, ("as stated above") upon connecting to server. But if i dump the end forge file, in the pack, it loads 1 time just fine, with no forge or java error.

Debug file:
Local file C:\Users\Nick\Documents\Curse\Minecraft\Install\versions\forge-39.0.10\forge-39.0.10.jar is incomplete
08:36:23.002
Minecraft client forge-39.0.10 requires 1574664 bytes to download.
08:36:23.002
Starting!
08:36:23.002
Downloading 1 files
08:36:53.399
Download from https://launcher.mojang.com/v1/objects/7e46fb47609401970e2818989fa584fd467cd036/client.jar had invalid checksum! Expected: 7e46fb47609401970e2818989fa584fd467cd036 got: 75ac36b231510d900402ea7cf92afe17aa59cd56
08:37:24.478

commented

I can’t just restart it. I have to go through whole process like I’m updating the pack.

commented

I've got the same issue, already reported it. Restarting the server helped here though

#124 <- Link to my issue.

commented

Ok, just to be clear: A "stop" in console doesnt help? Here, the server stops and restarts 10 seconds later.
And then this problem is solved, albeit temporarily

commented
commented

same error here, only solution was to delete minecolonies in the world folder (server stop, delete, server start), then my mate could rejoin

BUT: the error will return

commented

We have been running into the same issue for the last few patches as well. Server error is "[Netty Server IO #2/ERROR]: Could not serialize shetiphian.core.internal.teams.TeamCommand$TeamArgument@42322d2c (class shetiphian.core.internal.teams.TeamCommand$TeamArgument) - will not be sent to client!"

If we delete the data for shetphian it allows us to join, however error code persists and once a person tries to relog we have to delete the data file again.

commented

I'm also experiencing this error. It used to be intermittent, and a full restart would resolve it, but now I get the error consistently.

ATM 7-0.2.34
removed most kubejs server_configs

I just tried a workaround that appeared to fix this issue in ATM 6: loading a single player world first, then loading into the multiplayer session.

commented

We were able to work around it, starting the server with the "simple server files" instead on running a singleplayer world and opening it to LAN (at least for now).

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.