MCXboxBroadcast / Broadcaster

A simple Geyser extension that broadcasts the server over Xbox Live.
GNU General Public License v3.0
248 stars 46 forks source link

NullPointerException - Just Linked to Microsoft Acc #80

Closed Goblom closed 5 months ago

Goblom commented 6 months ago

Just linked to Microsoft Account.


[22:52:55] [Thread-18/WARN]: Exception in thread "Thread-18" java.lang.NullPointerException: Cannot read field "xui" because "tokenResponse.DisplayClaims" is null

[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.core.XboxTokenManager.getXSTSToken(XboxTokenManager.java:179)
[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.getXboxToken(SessionManagerCore.java:139)
[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.init(SessionManagerCore.java:166)
[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.core.SessionManager.init(SessionManager.java:82)
[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.createSession(MCXboxBroadcastExtension.java:159)
[22:52:55] [Thread-18/WARN]:    at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.lambda$onPostInitialize$3(MCXboxBroadcastExtension.java:151)
[22:52:55] [Thread-18/WARN]:    at java.base/java.lang.Thread.run(Thread.java:1570)```
SonnenPingu commented 6 months ago

Standalone or extension

Have you ever tried a restart after left? Does the same thing appear then?

Goblom commented 6 months ago

Extension.

I tried restarting and reloading server as well as the restart command.

I also don't have bungeecord. Just a spigot server.

rtm516 commented 6 months ago

This sort of error normally appears if the account has not had an Xbox live profile setup. I suggest logging into the account on xbox.com and making sure it's setup an Xbox profile for you.

Goblom commented 6 months ago

You would be correct. I do not have Xbox live on the account I'm trying to use. I'll have to see about justifying the cost.

Thankyou!

sennby commented 6 months ago

I couldnt get extension to work whatsoever. Use standalone and itll work.

rtm516 commented 5 months ago

You would be correct. I do not have Xbox live on the account I'm trying to use. I'll have to see about justifying the cost.

Thankyou!

Setting up xbox live profile is free you don't need a membership or anything https://account.xbox.com/en-gb/Profile?xr=mebarnav