Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Posted

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

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.

  • Author
1 hour ago, warjort said:

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

 

how and where can i find java arguments (i'm using ATLauncher)

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.

  • Author
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

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.

  • Author
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

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.

  • Author
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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.