mojira.dev
MC-68381

NullPointerException: group when connecting to MP server

When I look at my multiplayer server, it says "Can't connect to server". I can ping it just fine (192.168.1.150), it's a local machine so I don't need to open any ports. It worked on the previous snapshot. I try doing a direct connect to 192.168.1.150, and I get "NullPointerException: group".

My log file shows this:

[22:26:34] [Client thread/INFO]: Connecting to 192.168.1.150, 25565
[22:26:34] [Server Connector #1/ERROR]: Couldn't connect to server
java.lang.NullPointerException: group
	at io.netty.bootstrap.AbstractBootstrap.group(AbstractBootstrap.java:79) ~[netty-all-4.0.15.Final.jar:4.0.15.Final]
	at gr.a(SourceFile:220) ~[14w34c.jar:?]
	at bvx.run(SourceFile:59) [14w34c.jar:?]

Linked issues

Comments 11

Well, after a reboot of my system it seems to be working fine.
Something interesting here is that I remembered was that I cleared by routing tables, then restored them ('route -f', then disable and re-enable LAN adapter). Everything else on my computer worked fine, except minecraft. I realize this is probably not a minecraft bug but probably something in the OS or java, but I'll leave the ticket open just in case anyone wants to investigate.

Fenhl (Max Dominik Weber)

Why is this closed as invalid? I just received a similar exception. Affects 1.8-pre3.

Fenhl (Max Dominik Weber)

Affects 1.8.1-pre3.

Fenhl (Max Dominik Weber)

Affects 1.8.1.

Fenhl (Max Dominik Weber)

Affects 1.8.2-pre6.

1 more comments
Fenhl (Max Dominik Weber)

Affects 1.8.7.

@@unknown: I don't have any McAfee products installed.

This issue is caused by software blocking Minecraft, such as anti-virus and firewall, or potentially malware. It is not a bug with the game client.

I also have this issue, if I click `multiplayer' in the main menu and quickly enter a server, this bug will happen.
But if I click `multiplayer', and wait a second, I can get into the server and play normally.

Please catch this exception better. The error, as is, offers absolutely no clues as to why minecraft is failing, or what is causing it. Is it due to the inability to create a socket? I'm seeing it on a computer with no AV software whatsoever, with the latest client.

StormDragon_64

This isn't because of something else on their computer, because if that was true how does this mod fix it https://www.curseforge.com/minecraft/mc-mods/sledgehammer

Scott Johnson

michael

Unconfirmed

Minecraft 14w34c

Retrieved