-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Bug] Spamming of error in console #27
Comments
That's a weird error. I'll take a look at it soon. |
This just came to mind, I tried placing a hopper on the storage unit and it wouldn't place. I placed one to the side of the storage unit then broke it. There were no errors until the server restarted. Something didn't register the hopper breaking maybe and it's still looking for it? Would you like the player file? |
Looks like you accidentally closed the issue, I'll reopen it. A world download and player file might help, but at least the player file. |
Thank-you, don't know how I closed it but there was a hiccup when I posted |
@GitNuck I think I know what it's being caused by. It might be due to trying to get a block inside of an unloaded chunk. Could you try the plugin inside of this zip file and see if the issue is fixed? Also I think you clicked "Close with comment" instead of just "Comment". I've done the same thing lol |
Excellent! I'll load up the file and report back. |
@GitNuck Even though the errors are shown in the console, does everything work fine? |
Yes it does, but the lag created by the console getting spammed 3x a second is real. |
Thank you so much for writing the plugin and maintaining it! I'll remote in to the server and try the jars and report back. |
The first jar doesn't spam the console until you access a storage unit then you get this error; The second jar file is quiet again until the storage is accessed the it generates this error; |
I reverted back to the first jar link and it too spams the console as well when players leave but not as crazy as the second one. Using the plugin ConsoleSpamFix I added these two phrases to be suppressed;
The plugin works well otherwise. No TPS drops, no lag even when using it near an XP grinder and farm, and no other errors thrown. |
I rejoined the server added some items and all of a sudden any storage unit with a single item shows no item is available. |
Are you using some type of world-related plugin? It seems like the world the System is getting when it gets its location is null (nothing/not set). It might be caused by it being inside of a custom world. |
I am using Universes; https://www.spigotmc.org/resources/universes.68067/?__cf_chl_jschl_tk__=pmd_DpBnfaifMNIrsX9EYSiH4TURqi4iJqSNWrDkdfqSjX8-1632857186-0-gqNtZGzNAfujcnBszQi9 There is nothing custom about the world it was generated by Vanilla Minecraft in single player then loaded onto the server. This way if I have to restore a corrupt chunk I have a virgin non corrupt backup World to copy the files from. It also has per World inventory, perhaps that is throwing things for a loop too. |
OK I cobbled together a temporary fix, I noticed in plugin.yml you had a softdepend for [Multiverse Core], I edited in [Universes 4.2.2] as the softdepend. It loaded without errors and my inventory came back and the only spam is when you close the storage unit, still an error on inventory close there. I just added to ConsoleSpamFix;
The plugin seems to be functioning very well otherwise. I'll play around with it more and see if I can make it throw an error but Universes was loading after your plugin so I think it couldn't register the Worlds properly. I also read an article where single player Worlds loaded onto multiplayer servers can throw this error too, but that was a Bukkit error from their forums in 2014 |
After using this version of the plugin I have to say it's faster and more responsive than the other versions, everything is still there even after warping to other Worlds with separate inventory rules. I'll just need some players from the player group try this version. Busy with work recently. I tried adding |
I saw this in a forum, perhaps it helps; An important thing to remember is that only one world gets automatically loaded by the server at startup: the "level" specified in your server.properties file. The server will also load its various dimensions (i.e. the nether & end) if those are enabled. Every other world must be loaded by a plugin, so people typically install something like Multiverse to accommodate their world needs. In order to load other worlds yourself, however, you must "create" them (which will, according to the JavaDocs, actually just load the worlds if their folders already exist). See: Bukkit.createWorld(new WorldCreator("ExistingWorldNameHere")); That's the simplest way to get a world loaded, but you can specify quite a few options like the world's seed and generator via the WorldCreator instance's methods as well. |
Sorry, been pretty busy with school. Could you send me the logs from the I don't think this plugin needs to load a world. Just check if the world is not null and loaded where ever the world of the system is accessed. |
No worries school first! I too got really busy with work, (pesky work always ruining things!). After I finish the wiring map I am working on I'll disable the ConsoleSpamFix and generate a fresh new batch of errors for you :) Thank you very much for your help! |
OK got home and removed the ConsoleSpamFix plugin. Only one error is generated now and only one instance when the storage unit is closed. The other lines were needed before I changed the file so this simplifies things a bit, (hopefully). |
On a lark could you try and include pitch and yaw in the convertLocationToString and convertStringToLocation? Sort of like what is being discussed here; https://www.spigotmc.org/threads/get-locations-pitch-and-yaw.528194/ Maybe its some weird interaction with the World Handler plugin and the EssentialsX teleport listener? I don't know I'm just being like Stabby,(Roberto) the Robot from Futurama right now, and randomly poking around. |
I don't think including pitch and yaw would change anything. The issue is during serialization. During serialization, it has to save the position of the system and in the position, it saves the coords (xyz) and the world name (in the rare occurrence that there might be two systems at the exact same coords but in two different worlds).
Did you get an error when the sort makes items disappear? So you restarted the server and all the items showed up fine? |
I get an error on close, nothing seemed to be thrown on the sort. Everything that I placed before the Slimefun update came back. I lost three other storage units worth of items on the restart. Losing items must be related to Slimefun updating somehow this is twice now this has happened. |
That is super weird. I feel like Slimefun shouldn't be messing with that. I'm gonna try to store all items in NBT instead of storing them in a file. I'll send you a .jar and ask you to try it out when I get it done. This should fix the issues you're having since I won't have to store the location of systems anymore. |
I appreciate the help and time thank-you. Yes this is a super weird error but no word of a lie everything seems fine until the main Slimefun plugin updates. I turned off auto-update for Slimefun for now and I'll test that .jar no problem. |
Recently the console is being constantly spammed by this error;
Energetic Storage has been working fine for months on the server and just recently started throwing errors.
There should not be constant errors in console
The only plugins that have been updated have been Slimefun. Universes is the multiworld handler and I never had a problem until recently.
Console errors;
Versions

The text was updated successfully, but these errors were encountered: