Spigot 1.12 Failed to initiate a channel.

Discussion in 'Spigot Help' started by zjjppiscool, Jun 9, 2017.

  1. Don't get me wrong, this is like early release but here we go
    The error is this:
    Code (Text):
    Failed to initialize a channel. Closing: [id: 0x31a266a0, L:/<IP>:25565 - R:/<IP>:52137]
    java.lang.NoSuchMethodError: com.google.common.base.Objects.toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/Objects$ToStringHelper;
            at com.comphenix.protocol.events.ListeningWhitelist.toString(ListeningWhitelist.java:241) ~[?:?]
            at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_121]
            at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_121]
            at com.comphenix.protocol.reflect.PrettyPrinter.printValue(PrettyPrinter.java:273) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:246) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:251) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printValue(PrettyPrinter.java:285) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printValue(PrettyPrinter.java:257) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printIterables(PrettyPrinter.java:144) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printValue(PrettyPrinter.java:277) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:246) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:124) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:102) ~[?:?]
            at com.comphenix.protocol.reflect.PrettyPrinter.printObject(PrettyPrinter.java:89) ~[?:?]
            at com.comphenix.protocol.error.DetailedErrorReporter.getStringDescription(DetailedErrorReporter.java:480) ~[?:?]
            at com.comphenix.protocol.error.DetailedErrorReporter.reportDetailed(DetailedErrorReporter.java:369) ~[?:?]
            at com.comphenix.protocol.error.DelegatedErrorReporter.reportDetailed(DelegatedErrorReporter.java:63) ~[?:?]
            at com.comphenix.protocol.error.DelegatedErrorReporter.reportDetailed(DelegatedErrorReporter.java:87) ~[?:?]
            at com.comphenix.protocol.injector.netty.ProtocolInjector$1.initChannel(ProtocolInjector.java:149) ~[?:?]
            at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:113) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:105) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:597) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:226) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:392) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:379) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at com.comphenix.protocol.injector.netty.ProtocolInjector$2.initChannel(ProtocolInjector.java:159) [ProtocolLib.jar:4.2.1]
            at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:113) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:105) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:597) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.access$000(DefaultChannelPipeline.java:44) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1387) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1122) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:647) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:506) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:419) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:478) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    [18:16:45 WARN]: An exception 'java.lang.NullPointerException' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:
    java.lang.NullPointerException: null
            at net.minecraft.server.v1_12_R1.NetworkManager.close(NetworkManager.java:250) ~[server.jar:git-Spigot-ede465d-bb4ae3b]
            at net.minecraft.server.v1_12_R1.NetworkManager.channelInactive(NetworkManager.java:106) ~[server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:278) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1329) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:908) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:744) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [server.jar:git-Spigot-ede465d-bb4ae3b]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Does anyone know what could be the problem? Hosted on windows.
     
  2. Update to the latest ProtocolLib dev build for 1.12 and also update your Spigot 1.12 build.
     
  3. Same here:

    An exception 'java.lang.NullPointerException' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception: java.lang.NullPointerException: null at net.minecraft.server.v1_12_R1.NetworkManager.close(NetworkManager.java:250) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.NetworkManager.channelInactive(NetworkManager.java:106) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1329) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:908) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:744) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:311) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]