-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
NullPointerException in UnresolvedOfflinePlayer #237
Comments
No, I'm not going to ignore this error. It needs to "crash" if it doesn't work, otherwise much worse things might happen. Including providing wrong data to scripts and possible variable corruption. This is strange bug, because it almost seema that static final field which IS initialized would be null. Weird. |
Please try again to resolve it! :/ |
Attempting a fix, can't say if will be successful. |
Wait what Github. I definitely did not close this. |
Maybe it was smart and closed this because you wrote |
Yes, Github automatically closes issues if you reference it with certain keywords in a commit |
Hm. I would rather wait for user to confirm that it was fixed, or at least for the release to be uploaded. But anyway... |
The bug is still there! |
Yes, but what error message do you get? I "improved error reporting" for this, since last error message was basically saying "Java standard thread API returns null", which is not likely. |
When I reload the latest spigot-1.11 and skript 2.2-dev21c, I get this error after a while: http://hastebin.com/upucacutex.md |
Yes, thanks! Now I can try to fix this... |
And ... not fixed in 2.2-dev22b: http://hastebin.com/becupivawo.md |
Would this actually solve the treatment of playernames compared to uuids or
would it still be like var.%oldname% =\= var.%newname%?
Am 27.11.2016 7:32 nachm. schrieb "Weefle" <notifications@github.com>:
… And... not fixed in 2.2-dev22b: http://hastebin.com/becupivawo.md
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#237 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ASd7ogJ9k9lBohRScbe4sx9ZStWV9Rvbks5rCczCgaJpZM4Kw0uT>
.
|
I don't know :/ |
No, this wouldn't solve that. Probably. |
As of v2.2-dev22f error is persisting. https://hastebin.com/nucaxetuke.md (Not triggered by a specific script, usually only seen on start/enable of plugin around ten seconds after) |
Attempting some kind of fix for next release. I still have no idea why this happens for some people but not others. |
I can confirm this error again in the latest release: 2.2-dev22g |
Just a side note that might help, I am running my server in offline mode. |
FWIW, I accidentally found a reliable reproduction for this, whilst testing another issue: Tested with only Skript v2.2-dev22g on Spigot
I realize that server reloading is unsupported, but I have not seen this being asked here: those who are getting this issue, was this after a |
/reload has always caused a shit ton of isuues to me. I've not encountered those, but i know two others that are still very annoying and severe :
In both cases, here is the fix :
|
You probably don't even need to do an additional restart where you remove Skript and all of the addons, just giving the server a full and proper restart should allow everything to register properly and do the job fine. |
@TheBentoBox I've restarted many times and the error persisted. A full reinstall was the only way. |
Hi, I want to report this problem to see if it maight be helpful: Stack trace: https://hastebin.com/sonemovare.md Infomartion:
|
The error is still there in dev30d with the latest spigot 1.12.1 from Yve's mirror |
/reload is unsafe to use with Skript. Don't do that. |
I had Skript installed on my server. Not using a host. I installed Skript itself. It worked perfectly but when I installed the addons, it started giving that message. |
[01:35:16 ERROR]: #!#! [Skript] Severe Error: |
help |
I get the same issue and prevents the server from shutting down, thus forcing me to kill the server proccess. Using paperspigot 1.12.2 and latest skript bensku release. |
welp its so annoying! |
[23:57:37 INFO]: [Skript] Enabling Skript v2.1.2 |
This doesn't belong here, create a new issue. |
What do you mean it doesnt belong here?? |
This is a closed issue involving a NullPointerException while resolving offline players. |
Ahh i see |
You're also not even using this version of Skript @BallisticDev |
?? |
you are using the original skript plugin. use this fork instead. |
This makes no sense |
Im just trying to get this fixed |
You're using the version of Skript, 2.1.2, that was made by njol. This github repository is for the Skript version made by bensku. Try switching to this, by going to releases. Also if you're still having issues, please make a new issue instead of bloating this one up. |
Ahhh |
[18:09:25 INFO]: [Skript] Reloading the config and all scripts... |
It does not seem that there is anything relevant concerning this issue anymore. It has been fixed for good. Edit: whoops |
For some reason I get an error with UnresolvedOfflinePlayer. I looked in the file that you can just add a catch for a NullPointerException to suppress the error. 😈
The text was updated successfully, but these errors were encountered: