Swofty-Developments / HypixelSkyBlock

Minecraft 1.8-1.21 (no Spigot) recreation of Hypixel SkyBlock with a goal of a properly abstracted and scalable codebase.
https://discord.gg/atlasmc
GNU Affero General Public License v3.0
82 stars 37 forks source link

[BUG] This.profileId is null #38

Closed Chalityst closed 6 months ago

Chalityst commented 6 months ago

Describe the bug java.lang.NullPointerException: Cannot invoke "java.util.UUID.toString()" because "this.profileId" is null

(Sorry i'm not good at english.)

To Reproduce

  1. Package to jar file in Intellij IDEA (Latest Git)
  2. Start Mongod (zip version).
  3. Put jar package to server folder.
  4. Start server (java -jar Skyblock.jar) .bat file
  5. Join server (1.20.1)
  6. You will get encrypting... loading stuck and timeout.
  7. Error in console "java.lang.NullPointerException: Cannot invoke "java.util.UUID.toString()" because "this.profileId" is null"

Screenshots image

Ghosty920 commented 6 months ago

Do you use a cracked version of Minecraft?

Chalityst commented 6 months ago

Do you use a cracked version of Minecraft?

For launcher : yes but premium account. (legit and mitigated to microsoft account) Before (Start of profile support) Commits, I can join to server normally.

Ghosty920 commented 6 months ago

Oh then it's probably just from the code, not the minecraft session, should have thinked abt it first

Chalityst commented 6 months ago

Oh then it's probably just from the code, not the minecraft session, should have thinked abt it first

Thank you for your response. I tried to use minecraft launcher from minecraft.net and yeah still not working ("this.profileId" is null).

Swofty-Developments commented 6 months ago

I have pushed a fix to the repository, please re-download the .JAR from the Releases tab and tell me if it works.

Chalityst commented 6 months ago

I have pushed a fix to the repository, please re-download the .JAR from the Releases tab and tell me if it works.

Latest repository fixed. Problem solved. Thank you so much!