RandomCoords crashing the server
Sikatsu opened this issue · 20 comments
Crashlog: http://pastebin.com/PsYy6Jvv
This bug is confusing me. In my code, I see no errors, and I am unable to replicate this in any way. To describe the normal working process, When doing /RC, it checks for WorldGuard, and checks if the coordinates in a blocked region. This plugin is going wrong on your server at the point of checking for world guard which is odd because the code is correct. Do you have a larger stack trace?
It would appear that It was checking for WorldGuard, Have you got this feature enabled and if so Is WorldGuard itself enabled?
It might be an easy fix Im currently looking into it but having some serious issues my side. To sum it up, Adding a custom prefix broke it entirely... Lol
Ok so an update, On my end the WorldGuard feature is working fine. The error points to the method to get the world Guard plugin. Has this been a regular occurrence or is this the first time, and if so did you do anything differently?
The stack trace should be complete enough unless there were further errors above it from Worldguard itself maybe?
How many players were on at this time / Whats the average?
What version of Java is your server?
At this point, I see no errors in my code. As stated before this crash has been caused by trying to access WorldGuard and it seemingly not being there. I have added to the getPlugin code in my latest build to attempt to check for this. Please do let me know if it crashes again and if so please provide the full stack trace.
I'm very sorry about this,
Jolbol1.
Now while i'm back at my pc I notice you edited some comments, this didn't show up in the email however. Sorry for that.
Let me provide you more information.
Java version: 8, b121.
Worldguard version: (6.2.1-SNAPSHOT;1703-85693b9)
Larger stack trace: http://pastebin.com/w10jzXk8
Thanks for the reply. The stack trace doesn't provide much more information about my plugin than before. All I can see is tat Bukkit's method for finding the WorldGuard plugin didn't work and caused this all. I have readded a null check in the upcoming version however it shouldn't have been needed, But may fix the issue.
As a side note, BannerBoard is also in that stack trace, but that could just be due to mine crashing first causing its code to fail.
Marked as possibly fixed as v0.1.0 is coming out soon (Waiting on Bukkit).
Someone was interacting with a bannerboard right before the crash occured, that might be why it's in the stacktrace.
Thanks, I will inform you if it still happens with the new version.
Latest version is up: https://dev.bukkit.org/projects/randomcoordinates/files/2393011
It notifies me about 0.0.9-RELEASE btw :)
Ah I can see why it would, this is an easy hotfix with no update needed your side. Thanks!