Complete noob struggling with 1.12

Discussion in 'Server & Community Management' started by Fantismal, Jun 12, 2017.

  1. A small group of friends and I used to play on someone else's server. Seemingly out of the blue, we suddenly could no longer connect. After struggling for several days and complaining about the IP address constantly changing, he gave up in frustration and sent me all the files, wishing me the best of luck in succeeding where he failed. Great, but...I have no idea how to run a server or what all he has running on it plugin-wise.

    With lots of help from Google and countless resets of my router and modem, I think I've managed to update Spigot to 1.12 and get the correct port opened. (a power outage last night did not make this any easier). I did a complete reinstall of the BuildTools.jar because it seemed to be looking for files on his computer, and moved over our saved worlds. The server would throw up errors on some plugins, so I isolated those and removed them for now. However, I still cannot connect to the server.

    When direct connecting in Minecraft, I just get "Failed to connect to the server. Disconnected." I'm pretty sure the IP address is correct because it used to give me a "this server is out of date!" error instead.

    The server itself throws up this error:
    [09:55:21 WARN]: Failed to initialize a channel. Closing: [id: 0x6a0b12a8, L:/192.168.2.200:25565 - R:/192.168.2.200:58874]
    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(Unknown Source) ~[?:1.8.0_131]
    at java.lang.StringBuilder.append(Unknown Source) ~[?:1.8.0_131]
    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) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:105) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:597) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:226) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:392) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:379) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    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) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:105) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:597) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.access$000(DefaultChannelPipeline.java:44) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1387) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1122) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:647) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:506) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:419) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:478) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
    [09:55:21 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) ~[spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at net.minecraft.server.v1_12_R1.NetworkManager.channelInactive(NetworkManager.java:106) ~[spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:278) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1329) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:908) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:744) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [spigot-1.12.jar:git-Spigot-cd6ba67-2a2d6d6]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]

    I'm not entirely sure what my next step should be, so I throw myself on your knowledge. Please be as newbie-friendly as you can be: I know a bit about computers, but all of this java is new to me, and I haven't had the time to get familiar with it yet. Please let me know if you need any more information from me.
     
  2. Update or remove protocollib
     
  3. Updating protocollib allowed me into the server. Yay! However...it looks like everything I built is missing. Things I've broken seem to still be there, but not all of the stairs or paths or nether portals...which is a problem because now I'm stuck in the nether. I have no idea how the overworld is fairing.

    As far as I can tell, I left all of the world data files alone from what I was sent. The server threw up some invalid statistics about achievements, so I don't think those were the problem. Any advice for where to look for the missing information?

    EDIT: Nope, that was just a naturally generated hole. Nothing I've touched has been saved.
     
  4. Was the version of the server always 1.12 or was it a diffrent version
     
  5. The server was 1.11.2 until yesterday when I updated it. I made a backup of everything, redid the server, then pasted everything not already existing back in.
     
  6. Thats the errors with achievements as they changed in 1.12
     
  7. Okay, great. What about the fact that everything the players touched seems to be reverted back to completely brand new? I have my inventory, but no way out of the nether. Portal is gone. Nether hub is gone. Nether fortress was repaired from my looting.
     
  8. Are you sure you got the newest world files before he sent it to you
     
  9. I'm fairly sure I did, because I'd been working in the nether for weeks, and I don't see why he'd send something that outdated. He just pulled these files last Thursday, after the server stopped being connectable.

    EDIT: I tried rolling back to 1.11.2 and using the backup version straight as I received it from him. Everything is still missing. Guess I need to wait for him to get home from work to confirm he sent me everything.
     
    #9 Fantismal, Jun 12, 2017
    Last edited: Jun 12, 2017
  10. Yes i would confirm with him
     
  11. Turns out the world file got corrupted in the transfer. Got a fresh version, and all is well. Now I get to update all the plugins. Yay.

    But thank you for your help! I really appreciate it!