1.7.2 Crash lors de la connexion à un serveur



  • Bonjour,
    Quand je me connecte à mon serveur avec un bouton de connexion automatique que j'ai ajouté dans un menu que j'ai créé, le launcher crash.
    J'ai cette erreur :

    
    Client> [16:04:44] [Netty Client IO #0/ERROR] [FML]: HandshakeMessageHandler exception
    Client> java.lang.NullPointerException
    Client> at cpw.mods.fml.client.FMLClientHandler.waitForPlayClient(FMLClientHandler.java:757) ~[FMLClientHandler.class:?]
    Client> at cpw.mods.fml.common.FMLCommonHandler.waitForPlayClient(FMLCommonHandler.java:499) ~[FMLCommonHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientListenForServerHandshake(NetworkDispatcher.java:153) ~[NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:32) ~[FMLHandshakeClientState$1.class:?]
    Client> at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:26) ~[FMLHandshakeClientState$1.class:?]
    Client> at cpw.mods.fml.common.network.handshake.HandshakeMessageHandler.userEventTriggered(HandshakeMessageHandler.java:40) ~[HandshakeMessageHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) [ChannelInboundHandlerAdapter.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) [ChannelInboundHandlerAdapter.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:779) [DefaultChannelPipeline.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handlerAdded(NetworkDispatcher.java:131) [NetworkDispatcher.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:484) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.callHandlerAdded(DefaultChannelPipeline.java:479) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore0(DefaultChannelPipeline.java:178) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:163) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:153) [DefaultChannelPipeline.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.insertIntoChannel(NetworkDispatcher.java:118) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientToServerHandshake(NetworkDispatcher.java:123) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.internal.FMLNetworkHandler.fmlClientHandshake(FMLNetworkHandler.java:66) [FMLNetworkHandler.class:?]
    Client> at net.minecraft.client.network.NetHandlerLoginClient.func_147390_a(NetHandlerLoginClient.java:96) [bit.class:?]
    Client> at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:36) [jg.class:?]
    Client> at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:10) [jg.class:?]
    Client> at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:107) [ef.class:?]
    Client> at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:325) [ef.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149) [ReadTimeoutHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [AbstractNioByteChannel$NioByteUnsafe.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
    Client> at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Client> [16:04:44] [Netty Client IO #0/ERROR] [FML]: ChannelRegistrationHandler exception
    Client> java.lang.ClassCastException: Cannot cast net.minecraft.client.network.NetHandlerLoginClient to net.minecraft.client.network.NetHandlerPlayClient
    Client> at java.lang.Class.cast(Unknown Source) ~[?:1.7.0_55]
    Client> at cpw.mods.fml.common.network.FMLNetworkEvent$CustomPacketRegistrationEvent.<init>(FMLNetworkEvent.java:93) ~[FMLNetworkEvent$CustomPacketRegistrationEvent.class:?]
    Client> at cpw.mods.fml.client.FMLClientHandler.fireNetRegistrationEvent(FMLClientHandler.java:772) ~[FMLClientHandler.class:?]
    Client> at cpw.mods.fml.common.FMLCommonHandler.fireNetRegistrationEvent(FMLCommonHandler.java:504) ~[FMLCommonHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:28) ~[ChannelRegistrationHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:15) ~[ChannelRegistrationHandler.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:249) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:184) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:42) [NetworkDispatcher.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149) [ReadTimeoutHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [AbstractNioByteChannel$NioByteUnsafe.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
    Client> at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Client> [16:04:44] [Netty Client IO #0/ERROR] [FML]: FMLIndexedMessageCodec exception caught
    Client> java.lang.ClassCastException: Cannot cast net.minecraft.client.network.NetHandlerLoginClient to net.minecraft.client.network.NetHandlerPlayClient
    Client> at java.lang.Class.cast(Unknown Source) ~[?:1.7.0_55]
    Client> at cpw.mods.fml.common.network.FMLNetworkEvent$CustomPacketRegistrationEvent.<init>(FMLNetworkEvent.java:93) ~[FMLNetworkEvent$CustomPacketRegistrationEvent.class:?]
    Client> at cpw.mods.fml.client.FMLClientHandler.fireNetRegistrationEvent(FMLClientHandler.java:772) ~[FMLClientHandler.class:?]
    Client> at cpw.mods.fml.common.FMLCommonHandler.fireNetRegistrationEvent(FMLCommonHandler.java:504) ~[FMLCommonHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:28) ~[ChannelRegistrationHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:15) ~[ChannelRegistrationHandler.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:249) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:184) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:42) [NetworkDispatcher.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149) [ReadTimeoutHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [AbstractNioByteChannel$NioByteUnsafe.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
    Client> at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Client> [16:04:44] [Netty Client IO #0/ERROR] [FML]: HandshakeMessageHandler exception
    Client> java.lang.ClassCastException: Cannot cast net.minecraft.client.network.NetHandlerLoginClient to net.minecraft.client.network.NetHandlerPlayClient
    Client> at java.lang.Class.cast(Unknown Source) ~[?:1.7.0_55]
    Client> at cpw.mods.fml.common.network.FMLNetworkEvent$CustomPacketRegistrationEvent.<init>(FMLNetworkEvent.java:93) ~[FMLNetworkEvent$CustomPacketRegistrationEvent.class:?]
    Client> at cpw.mods.fml.client.FMLClientHandler.fireNetRegistrationEvent(FMLClientHandler.java:772) ~[FMLClientHandler.class:?]
    Client> at cpw.mods.fml.common.FMLCommonHandler.fireNetRegistrationEvent(FMLCommonHandler.java:504) ~[FMLCommonHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:28) ~[ChannelRegistrationHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:15) ~[ChannelRegistrationHandler.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:249) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:184) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:42) [NetworkDispatcher.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149) [ReadTimeoutHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [AbstractNioByteChannel$NioByteUnsafe.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
    Client> at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Client> juin 30, 2014 4:04:44 PM io.netty.channel.embedded.EmbeddedChannel recordException
    Client> Avertissement: More than one exception was raised. Will report only the first one and log others.
    Client> java.lang.ClassCastException: Cannot cast net.minecraft.client.network.NetHandlerLoginClient to net.minecraft.client.network.NetHandlerPlayClient
    Client> at java.lang.Class.cast(Unknown Source)
    Client> at cpw.mods.fml.common.network.FMLNetworkEvent$CustomPacketRegistrationEvent.<init>(FMLNetworkEvent.java:93)
    Client> at cpw.mods.fml.client.FMLClientHandler.fireNetRegistrationEvent(FMLClientHandler.java:772)
    Client> at cpw.mods.fml.common.FMLCommonHandler.fireNetRegistrationEvent(FMLCommonHandler.java:504)
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:28)
    Client> at cpw.mods.fml.common.network.handshake.ChannelRegistrationHandler.channelRead0(ChannelRegistrationHandler.java:15)
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
    Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169)
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:249)
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:184)
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:42)
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149)
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100)
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480)
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447)
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341)
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    Client> at java.lang.Thread.run(Unknown Source)
    Client>
    Client> [16:04:44] [Netty Client IO #0/ERROR] [FML]: NetworkDispatcher exception
    Client> java.lang.NullPointerException
    Client> at cpw.mods.fml.client.FMLClientHandler.waitForPlayClient(FMLClientHandler.java:757) ~[FMLClientHandler.class:?]
    Client> at cpw.mods.fml.common.FMLCommonHandler.waitForPlayClient(FMLCommonHandler.java:499) ~[FMLCommonHandler.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientListenForServerHandshake(NetworkDispatcher.java:153) [NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:32) ~[FMLHandshakeClientState$1.class:?]
    Client> at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:26) ~[FMLHandshakeClientState$1.class:?]
    Client> at cpw.mods.fml.common.network.handshake.HandshakeMessageHandler.userEventTriggered(HandshakeMessageHandler.java:40) ~[HandshakeMessageHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) ~[DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) ~[DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) ~[ChannelInboundHandlerAdapter.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) ~[DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) ~[DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) ~[ChannelInboundHandlerAdapter.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:779) ~[DefaultChannelPipeline.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handlerAdded(NetworkDispatcher.java:131) ~[NetworkDispatcher.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:484) ~[DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.callHandlerAdded(DefaultChannelPipeline.java:479) ~[DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore0(DefaultChannelPipeline.java:178) ~[DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:163) ~[DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:153) ~[DefaultChannelPipeline.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.insertIntoChannel(NetworkDispatcher.java:118) ~[NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientToServerHandshake(NetworkDispatcher.java:123) ~[NetworkDispatcher.class:?]
    Client> at cpw.mods.fml.common.network.internal.FMLNetworkHandler.fmlClientHandshake(FMLNetworkHandler.java:66) ~[FMLNetworkHandler.class:?]
    Client> at net.minecraft.client.network.NetHandlerLoginClient.func_147390_a(NetHandlerLoginClient.java:96) ~[bit.class:?]
    Client> at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:36) ~[jg.class:?]
    Client> at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:10) ~[jg.class:?]
    Client> at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:107) ~[ef.class:?]
    Client> at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:325) ~[ef.class:?]
    Client> at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [ByteToMessageDecoder.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149) [ReadTimeoutHandler.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    Client> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [AbstractNioByteChannel$NioByteUnsafe.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
    Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
    Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
    Client> at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Client> [16:04:45] [Client thread/FATAL]: Reported exception thrown!
    Client> net.minecraft.util.ReportedException: Ticking screen
    Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1660) ~[azd.class:?]
    Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:953) ~[azd.class:?]
    Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:870) [azd.class:?]
    Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55]
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    Client> at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    Client> Caused by: java.lang.NullPointerException
    Client> at cpw.mods.fml.client.FMLClientHandler.setPlayClient(FMLClientHandler.java:747) ~[FMLClientHandler.class:?]
    Client> at net.minecraft.client.network.NetHandlerPlayClient.<init>(NetHandlerPlayClient.java:230) ~[biv.class:?]
    Client> at net.minecraft.client.network.NetHandlerLoginClient.func_147232_a(NetHandlerLoginClient.java:112) ~[bit.class:?]
    Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:200) ~[ef.class:?]
    Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) ~[bbe.class:?]
    Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1646) ~[azd.class:?]
    Client> … 9 more
    Client> ---- Minecraft Crash Report ----
    Client> // I'm sorry, Dave.
    Client>
    Client> Time: 30/06/14 16:04
    Client> Description: Ticking screen
    Client>
    Client> java.lang.NullPointerException: Ticking screen
    Client> at cpw.mods.fml.client.FMLClientHandler.setPlayClient(FMLClientHandler.java:747)
    Client> at net.minecraft.client.network.NetHandlerPlayClient.<init>(NetHandlerPlayClient.java:230)
    Client> at net.minecraft.client.network.NetHandlerLoginClient.func_147232_a(NetHandlerLoginClient.java:112)
    Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:200)
    Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76)
    Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1646)
    Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:953)
    Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:870)
    Client> at net.minecraft.client.main.Main.main(SourceFile:103)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Client>
    Client>
    Client> A detailed walkthrough of the error, its code path and all known details is as follows:
    Client> ---------------------------------------------------------------------------------------
    Client>
    Client> -- Head --
    Client> Stacktrace:
    Client> at cpw.mods.fml.client.FMLClientHandler.setPlayClient(FMLClientHandler.java:747)
    Client> at net.minecraft.client.network.NetHandlerPlayClient.<init>(NetHandlerPlayClient.java:230)
    Client> at net.minecraft.client.network.NetHandlerLoginClient.func_147232_a(NetHandlerLoginClient.java:112)
    Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:200)
    Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76)
    Client>
    Client> -- Affected screen --
    Client> Details:
    Client> Screen name: net.minecraft.client.multiplayer.GuiConnecting
    Client> Stacktrace:
    Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1646)
    Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:953)
    Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:870)
    Client> at net.minecraft.client.main.Main.main(SourceFile:103)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Client>
    Client> -- System Details --
    Client> Details:
    Client> Minecraft Version: 1.7.2
    Client> Operating System: Windows 7 (x86) version 6.1
    Client> Java Version: 1.7.0_55, Oracle Corporation
    Client> Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
    Client> Memory: 48307808 bytes (46 MB) / 156708864 bytes (149 MB) up to 518979584 bytes (494 MB)
    Client> JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
    Client> AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Client> IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    Client> FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active
    Client> mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Client> FML{7.2.116.1024} [Forge Mod Loader] (forge-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Client> Forge{10.12.0.1024} [Minecraft Forge] (forge-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Client> Ewearys{1.0} [Ewearys] (Ewearys-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Client> Launched Version: 1.7.2-custom
    Client> LWJGL: 2.9.0
    Client> OpenGL: GeForce 210/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
    Client> Is Modded: Definitely; Client brand changed to 'fml,forge'
    Client> Type: Client (map_client.txt)
    Client> Resource Packs: []
    Client> Current Language: English (US)
    Client> Profiler Position: N/A (disabled)
    Client> Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
    Client> Anisotropic Filtering: Off (1)
    Client> #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Kamil\AppData\Roaming\.ox-craft\crash-reports\crash-2014-06-30_16.04.45-client.txt
    Client> AL lib: (EE) alc_cleanup: 1 device not closed
    Game ended with bad state (exit code -1)
    Ignoring visibility rule and showing launcher due to a game crash
    
    

    Seriez-vous comment régler ce bug ?

    Cordialement,

    EDIT : j'ai testé ceci : http://www.minecraftforgefrance.fr/archive/index.php?thread-770-2.html
    Le code de robin

    
    if(p_146284_1_.id == 29)
    
    {
    
    FMLClientHandler.instance().setupServerList();
    
    FMLClientHandler.instance().connectToServer(this, new ServerData("Nom du serveur", "ip:port"));
    
    }
    
    

    J'ai une erreur sur le p_146284_1_
    Il ne peut pas être résolu à une variable
    Je l'ai mit dans la liste des (if button.id =…)


  • Moddeurs confirmés Rédacteurs Administrateurs

    Salut,
    Remplace p_146284_1_ par button. C'est juste un nom de variable, c'est pas normal que tu reste bloqué sur ça, il serait temps d'apprendre java.



  • Bonjour,
    Merci mais je viens de remarquer que l'utilisation du launcher n'était pas forcée.
    Aurais-tu une technique pour faire que l'utilisation du launcher soit obligée ?
    Cordialement,


  • Moddeurs confirmés Rédacteurs Administrateurs

    Non, je n'ai aucune idée de comment faire ça. De plus nous ne traitons pas les problèmes de launcher ici.


Log in to reply