Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.AssertionError: java.lang.NullPointerException: stream #534

Open
Ma110w opened this issue Sep 1, 2024 · 10 comments

Comments

@Ma110w
Copy link

Ma110w commented Sep 1, 2024

What happened?

Completely Inability To Launch Bedrock Connect Server

Expected Behaviour?

Bedrock Connect Server Correctly Starts up and does not produce a error

Steps to reproduce.

Open Bedrock Connect

Screenshots/Videos

image

Minecraft Bedrock Version

1.21.20

Console

N/A

Additional Context

"-= BedrockConnect (Release: 1.45) =-
Exception in thread "main" java.lang.AssertionError: java.lang.NullPointerException: stream
at main.com.pyratron.pugmatt.bedrockconnect.utils.PaletteManager.(PaletteManager.java:42)
at main.com.pyratron.pugmatt.bedrockconnect.BedrockConnect.main(BedrockConnect.java:54)
Caused by: java.lang.NullPointerException: stream
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at org.cloudburstmc.nbt.NbtUtils.createNetworkReader(NbtUtils.java:54)
at org.cloudburstmc.nbt.NbtUtils.createNetworkReader(NbtUtils.java:87)
at org.cloudburstmc.nbt.NbtUtils.createNetworkReader(NbtUtils.java:83)
at main.com.pyratron.pugmatt.bedrockconnect.utils.PaletteManager.(PaletteManager.java:38)
... 1 more"

On Windows 11 23H2

@Pugmatt
Copy link
Owner

Pugmatt commented Sep 1, 2024

According to the release number in the first line of the log, you are using version 1.45, the current version is 1.49 so you are using an out of date version of the software. (As that version won't work with Minecraft 1.21.20 anyway) Update your BedrockConnect jar to the latest under Releases and see if that fixes it.

@Ma110w
Copy link
Author

Ma110w commented Sep 3, 2024

According to the release number in the first line of the log, you are using version 1.45, the current version is 1.49 so you are using an out of date version of the software. (As that version won't work with Minecraft 1.21.20 anyway) Update your BedrockConnect jar to the latest under Releases and see if that fixes it.

Not contesting this, just it sounds odd, i have only learned that your project existed 3-4 days ago, im unsure how i have such a outdated version?

@Pugmatt
Copy link
Owner

Pugmatt commented Sep 3, 2024

I'm not really sure either, I checked the latest release files and they are up to date.

Where did you download the BedrockConnect jar originally? I know there's some 3rd-party Docker images and software out there not associated with this project that attempt to bundle BedrockConnect. Those tend to sometimes serve outdated versions. Also possible you followed a link from a tutorial that has the 1.45 version linked directly such as https://github.com/Pugmatt/BedrockConnect/releases/tag/1.45

@Ma110w
Copy link
Author

Ma110w commented Sep 4, 2024

Funnily enough, I found your project's GitHub page through a Google search. I literally searched "minecraft bedrock custom servers", and your GitHub was the first or second link that came up. On the first of this month.
image_2024-09-04_035006195

@Ma110w
Copy link
Author

Ma110w commented Sep 4, 2024

alright, now this is really weird, I did a fresh install and its still saying exactly the same thing, down to the version number,

oddity.mp4

@Pugmatt
Copy link
Owner

Pugmatt commented Sep 4, 2024

Looks like the version is now showing 1.49 at least. What Java version do you have installed? Just trying to replicate the error, but so far no luck. Looking at the error it's having issues reading resources in the JAR for some reason.

@Ma110w
Copy link
Author

Ma110w commented Sep 4, 2024

i have so many installed im unsure where all of them are, im gonna try and find a tool, or write one

Addition: Java uninstall tool (Oracle)
image

Addition: Control Panel Uninstaller
image

@Ma110w
Copy link
Author

Ma110w commented Sep 4, 2024

OH AND ALSO, i was wrong earlier, after the fresh install, what i didn't realize was the version swapped from 1.45 to 1.49, but still produced the same or similar error
image

@Ma110w
Copy link
Author

Ma110w commented Sep 10, 2024

did i say something wrong?

@Pugmatt
Copy link
Owner

Pugmatt commented Sep 10, 2024

Sorry I haven't had time lately to review this too deeply. From the time I've had I haven't been able to replicate the issue unfortunately upon many attempts to match the environment. Only other possible anomaly I could see is maybe the storage device you are attempting to run BedrockConnect off of, Samsung Drive it looks like in the screen video. If you haven't already try moving your BedrockConnect setup to a different drive like your C or D drive and see if that changes anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants