1.6.4 Crash lors de la connexion à un serveur



  • Bonjour,

    Quand je me connecte à mon serveur en 1.6.4 (menu custom créé), je crash, pourquoi ?
    Code de crash :

    
    –-- Minecraft Crash Report ----
    // Don't do that.
    
    Time: 09/05/14 18:49
    Description: Ticking screen
    
    java.lang.NullPointerException
    at java.net.URLEncoder.encode(Unknown Source)
    at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
    at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
    at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
    at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:41)
    at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
    at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
    at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
    at net.minecraft.client.Minecraft.run(Minecraft.java:838)
    at net.minecraft.client.main.Main.main(Main.java:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at java.net.URLEncoder.encode(Unknown Source)
    at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
    at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
    at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
    at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:41)
    at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
    at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
    at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
    
    -- Affected screen --
    Details:
    Screen name: net.minecraft.client.multiplayer.GuiConnecting
    Stacktrace:
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
    at net.minecraft.client.Minecraft.run(Minecraft.java:838)
    at net.minecraft.client.main.Main.main(Main.java:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
    
    -- System Details --
    Details:
    Minecraft Version: 1.6.4
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.7.0_55, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 987151640 bytes (941 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.11 FML v6.99.19.964 Minecraft Forge 9.11.1.964 4 mods loaded, 4 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    FML{6.99.19.964} [Forge Mod Loader] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Forge{9.11.1.964} [Minecraft Forge] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Ewearys{1.0} [Ewearys] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Launched Version: 1.6
    LWJGL: 2.9.0
    OpenGL: GeForce 210/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Pack: Default
    Current Language: Français (France)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
    
    

    Je ne comprends pas, d'où est-ce que ça vient ?

    Cordialement, merci.


  • Moddeurs confirmés Modérateurs

    Envoi le code qui te connecte à ton serv



  • Mon code :

    
    if (button.id == 25)
    {
    
    this.mc.displayGuiScreen(new GuiConnecting(this, mc, IP, PORT));
    
    }
    
    

  • Moddeurs confirmés Modérateurs

    Pourtant cela marche ça doit venir côté serveur



  • Oui, ça vient du serveur
    Mais comment faire ?
    J'ai modifié mon serveur, que j'ai passé sous MCPC+ mais n'y ai rien modifié, je l'ai mis pour avoir les mods dans mon serveur.
    Ca viendrait de là?

    EDIT : MCPC+ est en 965, le forge que j'ai récupéré les sources et que j'ai décompilé avec gradlew est en 964, et le forge dans mon FTP est en 963 … 😵
    Ca change quelque chose? Les trois sont en 1.6.4


  • Moddeurs confirmés Rédacteurs Administrateurs

    http://www.minecraftforgefrance.fr/showthread.php?tid=690&pid=7909#pid7909
    Apparemment ça vient de mcpc plus, mais les anciennes versions ne sont plus fonctionnel …


Log in to reply