Jump to content

I'm trying to make a server pack for my modpack but i keep getting this error whenever i try to join please help


threelyfours

Recommended Posts

Minecraft version: 1.19.2

Forge version: 43.2.3

Client log: https://gist.github.com/threelyfours/708608b972bd1f283e14c73b10006761 Server log: https://gist.github.com/threelyfours/68b729f8dfe127c27a692af74b7b455d Debug log: https://gist.github.com/threelyfours/42f0e3f11eae456fe9d7d0bad2f69e1d

Modpack link (This only happens in version 7.1): https://www.curseforge.com/minecraft/modpacks/threelys-1-19-2/files/4423432

 

the error i get when joining the server:

6SSvpzb.png

Internal Exception: java.lang.NullPointerException: Cannot invoke "net.minecraft.network.protocol.Packet.m_5797_(net.minecraft.network.PacketListener)" because "packet" is null

Link to comment
Share on other sites

You need to enable debug for the client and add the following to its java arguments so we can see the full stacktrace of that NPE error.

 -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

Google says this: https://atlauncher.com/help/extra-arguments

The only launcher officially supported in these forums is the mojang one. Anything else, you have to ask them.

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

21 hours ago, warjort said:

Google says this: https://atlauncher.com/help/extra-arguments

The only launcher officially supported in these forums is the mojang one. Anything else, you have to ask them.

I tried to enable it but where can i find the debug log now??

I'm sorry if i'm asking too many questions i've never worked with client  debug logs

Link to comment
Share on other sites

logs/debug.log

You should check it contains that NullPointerException error message before posting it to make sure you have set that property correctly.

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

28 minutes ago, warjort said:

logs/debug.log

You should check it contains that NullPointerException error message before posting it to make sure you have set that property correctly.

Thank you! I checked it and the NullPointerException error message is there
Here is the Client debug log: https://gist.github.com/threelyfours/8521268ccbe614f582ccd2a2fcacab1d

for some reason the debug log is really long

Link to comment
Share on other sites

It's long because that property makes mojang's code log all the debug information.

You can turn off that debug now, by removing the property.

 

Quote

[20Mar2023 21:10:54.901] [Netty Client IO #0/DEBUG] [net.minecraft.network.Connection/]: Failed to sent packet java.lang.NullPointerException: Cannot invoke "net.minecraft.network.protocol.Packet.m_5797_(net.minecraft.network.PacketListener)" because "packet" is null at qouteall.imm_ptl.core.network.PacketRedirectionClient.handleRedirectedPacketFromNetworkingThread(PacketRedirectionClient.java:67) ~[immersive-portals-2.3.3-mc1.19.2-forge.jar%23448!/:2.3.3]

The problem is with immersive portals.

Check you have the latest version then contact the mod author.

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

45 minutes ago, warjort said:

It's long because that property makes mojang's code log all the debug information.

You can turn off that debug now, by removing the property.

 

The problem is with immersive portals.

Check you have the latest version then contact the mod author.

Thank you so much

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.

Announcements



×
×
  • Create New...

Important Information

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