Jump to content

1.19.2 crash when joining server


Daltax

Recommended Posts

That is not the logs/debug.log

Your actual error message looks like something on the client is to trying to write null data into a network packet, but doesn't give anymore information than that.

This leads to you getting disconnected.

 

This is probably one of those places where Mojang doesn't put the error message in the log file properly.

If you add the following to the jvm arguments of your client it might display this error, but then only if you have the proper debug.log

-Dforge.logging.mojang.level=debug

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

33 minutes ago, warjort said:

That is not the logs/debug.log

Your actual error message looks like something on the client is to trying to write null data into a network packet, but doesn't give anymore information than that.

This leads to you getting disconnected.

 

This is probably one of those places where Mojang doesn't put the error message in the log file properly.

If you add the following to the jvm arguments of your client it might display this error, but then only if you have the proper debug.log

-Dforge.logging.mojang.level=debug

I don't think your jvm argument changed anything sadly...
Here is everything I can include :
Latest.log : https://paste.ee/p/54Rb5
Log with the jvm argument : https://paste.ee/p/j8Aov


 

Link to comment
Share on other sites

You need to ask gdlauncher how to get the forge debug.log

Or how to change their log file you posted before to show debug information.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

It looks like their log4j configuration is here?

-Dlog4j.configurationFile=C:\Users\david\AppData\Roaming\gdlauncher_next\datastore\assets\objects\bd\client-1.12.xml

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

4 minutes ago, warjort said:

It looks like their log4j configuration is here?

-Dlog4j.configurationFile=C:\Users\david\AppData\Roaming\gdlauncher_next\datastore\assets\objects\bd\client-1.12.xml

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <Appenders>
        <Console name="SysOut" target="SYSTEM_OUT">
            <LegacyXMLLayout />
        </Console>
        <RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
            <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg{nolookups}%n" />
            <Policies>
                <TimeBasedTriggeringPolicy />
                <OnStartupTriggeringPolicy />
            </Policies>
        </RollingRandomAccessFile>
    </Appenders>
    <Loggers>
        <Root level="info">
            <filters>
                <MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL" />
            </filters>
            <AppenderRef ref="SysOut"/>
            <AppenderRef ref="File"/>
        </Root>
    </Loggers>
</Configuration>

That's what it says 

Link to comment
Share on other sites

Can you try changing this line

<Root level="info"> to

<Root level="debug">

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

alright, booting minecraft up after having done that.

2 minutes ago, warjort said:

Can you try changing this line

<Root level="info"> to

<Root level="debug">

 

also, I found this, but I do not have eccentric tome enabled. however, I might have config/key linked to that mod because I used it in previous updates. could that be the issue ?
https://forums.minecraftforge.net/topic/111203-crash-on-joining-server-because-p_130086_-is-null/

Link to comment
Share on other sites

That is an error on the server for a different mod.

If the client log does not contain the error, the next step is to look at the server's debug.log with the -Dforge.logging.mojang.level=debug in your user_jvm_args.txt

  • Like 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

6 minutes ago, warjort said:

Can you try changing this line

<Root level="info"> to

<Root level="debug">

 

This is what I get now : https://prnt.sc/d1th6llzSzZQ  (nvm look at next)
Also, any idea why it says this "Not Secure" thing in the server ? How do I fix it ? https://prnt.sc/82Zy59IPLwWD
I'm sure they are linked
Now it says this https://prnt.sc/A2CrZi2gkwAy (nvm too)

--->but yeah the issue remains the same because we can see the same error in the server : https://prnt.sc/b5RRrXeij7js

Anyways, here is the debug.log if that worked : (oh my god it is 157 MB I think I'll have to disable that later) Sorry for the delay by the way, my internet is garbage and it took a while to upload.
https://mega.nz/file/QE5UjayA#vnospuyMyOm9Li_r9BDq_1KHPhXv5JlNYss4_qmBOV8

So two issues. Do you know how to fix the "Not Secure" thing ? and 2, with the debug log, can you say anything ?

Link to comment
Share on other sites

That file does show any error from what I can see. You can turn it back to "info" now. 🙂

Can you try doing what I said above

Quote

the next step is to look at the server's debug.log with the -Dforge.logging.mojang.level=debug in your user_jvm_args.txt

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

I don't know what that "[Not Secure]" is.

Maybe it is related to new chat system in 1.19.2?

Did you type "test" in the system console or something?

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Yes it looks to be related to the new chat system: https://feedback.minecraft.net/hc/en-us/articles/7525860212749-Minecraft-Java-Edition-1-19-1-Pre-Release-4

Quote

Insecure chat messages logged in the server are prefixed with a [Not Secure] tag

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

2 minutes ago, warjort said:

I don't know what that "[Not Secure]" is.

Maybe it is related to new chat system in 1.19.2?

Did you type "test" in the system console or something?

I simply noticed that when I use the "say" command to use the console to speak in the server, it says "Not Secure". That wasn't there in 1.19
Maybe it's the new chat system, yeah.

Link to comment
Share on other sites

So we found the error message, but unfortunately it is one of those that doesn't identify the mod.

All it says is that it can't send the recipes to the client because there is that null ResourceLocation

[23Aug2022 21:52:30.530] [Netty Server IO #1/DEBUG] [net.minecraft.network.Connection/]: Failed to sent packet
io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null
	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:104) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at net.minecraft.network.Connection.m_243087_(Connection.java:209) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.Connection.lambda$sendPacket$8(Connection.java:198) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null
	at net.minecraft.network.FriendlyByteBuf.m_130085_(FriendlyByteBuf.java:610) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_179469_(ClientboundUpdateRecipesPacket.java:50) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.FriendlyByteBuf.m_236828_(FriendlyByteBuf.java:162) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_5779_(ClientboundUpdateRecipesPacket.java:27) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraftforge.network.filters.VanillaPacketSplitter.appendPackets(VanillaPacketSplitter.java:68) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.ForgeConnectionNetworkFilter.splitPacket(ForgeConnectionNetworkFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:23) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final]
	... 16 more

The only way to find the problem mod will be remove mods until the problem stops happening.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

4 minutes ago, warjort said:

So we found the error message, but unfortunately it is one of those that doesn't identify the mod.

All it says is that it can't send the recipes to the client because there is that null ResourceLocation

[23Aug2022 21:52:30.530] [Netty Server IO #1/DEBUG] [net.minecraft.network.Connection/]: Failed to sent packet
io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null
	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:104) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at net.minecraft.network.Connection.m_243087_(Connection.java:209) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.Connection.lambda$sendPacket$8(Connection.java:198) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final]
	at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null
	at net.minecraft.network.FriendlyByteBuf.m_130085_(FriendlyByteBuf.java:610) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_179469_(ClientboundUpdateRecipesPacket.java:50) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.FriendlyByteBuf.m_236828_(FriendlyByteBuf.java:162) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_5779_(ClientboundUpdateRecipesPacket.java:27) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?]
	at net.minecraftforge.network.filters.VanillaPacketSplitter.appendPackets(VanillaPacketSplitter.java:68) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.ForgeConnectionNetworkFilter.splitPacket(ForgeConnectionNetworkFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:23) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?]
	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final]
	... 16 more

The only way to find the problem mod will be remove mods until the problem stops happening.

oh my god...
Should I focus on the mods that add the most recipes ? Like Delightful, The Veggie Way, etc ? are they more likely to have the bug ? 

Link to comment
Share on other sites

The most likely ones will be the mods you have with fewest downloads.

If this problem existed in any popular mods it would have been reported and fixed already. 🙂 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Just now, warjort said:

The most likely ones will be the mods you have with fewest downloads.

If this problem existed in any popular mods it would have been reported and fixed already. 🙂 

alright... here I go. I will update once I find the mod that caused problems.

Link to comment
Share on other sites

Here's some similar bug reports on github, maybe one is relevant to you?

https://github.com/search?q=Cannot+invoke+"net.minecraft.resources.ResourceLocation.toString()"+because+"p_130086_"+is+null&type=issues

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.