-
Bug
-
Resolution: Fixed
-
Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2
-
OS: Windows 10 (ver 10.0, arch amd64)
Java: 1.8.0_25 (by Oracle Corporation)
Launcher: Minecraft Launcher 1.6.61 (bootstrap 100)
Minecraft: 1.10.2 (updated Sun Sep 18 19:33:11 CEST 2016)
-
Confirmed
This issue is about the game crash (back to the launcher) when opening the server list. For the similar-sounding, but completely different, disconnect with a NullPointerException while in-game, see MC-115942.
What I expected to happen was...:
Minecraft to be staying idle on the background minimalized without any issuse
What actually happened was...:
It crashed with a Ticking screen error
Steps to Reproduce:
1. Open minecraft 1.10.2
2. Minimilize it
3. maybe open a second minecraft and see if thas the issuse
Description: Ticking screen java.lang.NullPointerException: Ticking screen at io.netty.bootstrap.Bootstrap.checkAddress(Bootstrap.java:273) at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:150) at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:132) at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:113) at bls.b(SourceFile:165) at bls.a(SourceFile:45) at bls$1.a(SourceFile:144) at eo.l(SourceFile:382) at bls.a(SourceFile:254) at bhj.e(SourceFile:116) at bcx.t(SourceFile:1601) at bcx.av(SourceFile:968) at bcx.a(SourceFile:396) at net.minecraft.client.main.Main.main(SourceFile:124)
Hopper tickets
- MCX-2842585 (1.10.2)
- MCX-3487283 (17w14a)
Code analysis
Based on 1.11 decompiled using MCP 9.35 rc1
It looks like this crash can happen when the method net.minecraft.client.network.ServerPinger.ping(ServerData) was called while the user had an internet connection, but before a packet was received the internet connection was lost. Additionally the server needs to have a hostname which is not a literal IP address. In that case at some point the method net.minecraft.client.network.ServerPinger.ping(...).new INetHandlerStatusClient() {...}.onDisconnect(ITextComponent) is called. The problem lies in the method io.netty.bootstrap.Bootstrap.checkAddress(SocketAddress) which does check if the provided SocketAddress is an instance of InetSocketAddress (which include a null) check, but does not test if the method getAddress() returns null. This is the case if the host name cannot be resolved. As this netty version seems to be a custom build it should be fixable by Mojang.
- is duplicated by
-
MC-110245 Minecraft 1.11 crashes when Refresh is clicked several times on Multiplayer screen.
- Resolved
-
MC-111588 crash of server
- Resolved
-
MC-112386 Crash: Ticking screen 'java.lang.NullPointerException: Ticking screen'
- Resolved
-
MC-113299 it was lagging and it crash
- Resolved
-
MC-113302 Crash Report
- Resolved
-
MC-115432 Crash: 'Ticking screen' java.lang.NullPointerException: Ticking screen
- Resolved
-
MC-115858 Server list crash: java.lang.NullPointerException: Ticking screen
- Resolved
-
MC-115889 Crash upon refreshing server list.
- Resolved
-
MC-115994 Crash when opened multiplayer
- Resolved
-
MC-116317 Error on pinging minecraft server on the launcher
- Resolved
-
MC-116473 Game crash when it's trying to ping offline server
- Resolved
-
MC-116557 Error al abrir multijugador en 17w16b
- Resolved
-
MC-116691 Game crashes at start/ when entering multiplayer screen.
- Resolved
-
MC-116791 some servers crashes client on 17w17b
- Resolved
-
MC-116792 some servers crashes client on 17w17b
- Resolved
-
MC-116880 Crash when clicking on the button 'Back to server list' in some cases
- Resolved
-
MC-116941 Crash Upon Searching for a server
- Resolved
-
MC-116949 Multiplayer menu crashing in latest snapshot (17w18a)
- Resolved
-
MC-117124 When i stay afk in minecraft in main menu, minecraft crash
- Resolved
-
MC-117210 Minecraft crashes on Mac upon going on Multiplayer
- Resolved
-
MC-117231 Minecraft Crashing by Start / Minecraft Crasht beim Starten
- Resolved
-
MC-117391 Opening "Multiplayer" crashes the game
- Resolved
-
MC-117401 Client crash when server ping fails (1.12)
- Resolved
-
MC-117442 Crash when trying to enter the multiplayer screen and disconnecting from servers
- Resolved
-
MC-117492 Pinging servers which time out crashes the client
- Resolved