GT New Horizons

GT New Horizons

867k Downloads

Renaming p2p to -1 crashes game

ludial000 opened this issue · 6 comments

commented

Your GTNH Discord Username

ludial000

Your Pack Version

2.8.0-beta3

Your Server

SP

Java Version

Java 21

Type of Server

None

Your Actions

I renamed a p2p to -1

Crash Report

fml-client-latest.log

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the crash still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this crash consistently by following the exact steps I described above.
  • I have asked other people and they confirm they also crash by following the exact steps I described above.
commented

that's not a crash log

commented

It is the log, so the crash is in there, check line 113260. and you will find the crash.

commented

It is the log, so the crash is in there, check line 113260. and you will find the crash.

My bad

commented

error copied out of log for convenience:

[19:10:47] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
java.lang.NullPointerException: {
                    pa…l.input
                } must not be null
	at Launch//com.projecturanus.betterp2p.network.packet.ServerRenameP2PTunnel.onMessage(C2SRenameP2P.kt:62) ~[ServerRenameP2PTunnel.class:?]
	at Launch//com.projecturanus.betterp2p.network.packet.ServerRenameP2PTunnel.onMessage(C2SRenameP2P.kt:46) ~[ServerRenameP2PTunnel.class:?]
	at Launch//cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37) ~[SimpleChannelHandlerWrapper.class:?]
	at Launch//cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17) ~[SimpleChannelHandlerWrapper.class:?]
	at Launch//io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[netty-all-4.0.10.Final.jar:?]
...

https://github.com/GTNewHorizons/BetterP2P/blob/da46182412f7dec8889904d56d2769495a45f9a3/src/main/java/com/projecturanus/betterp2p/network/packet/C2SRenameP2P.kt#L46

commented

Unsure if I'm doing wrong steps, but I can't reproduce this on my end:

Image Image
commented

I also renamed a p2p (me) to -1 and nothing happened