TobiasDeBruijn / HaroTorch

Modded's MegaTorch on Spigot
GNU General Public License v3.0
1 stars 4 forks source link

[BUG] #1

Closed Exarchh closed 3 years ago

Exarchh commented 3 years ago

Describe the bug Console exception spam.

To Reproduce Steps to reproduce the behavior: I only added the plugin to the plugins folder and restarted the server.

Expected behavior Previous versions didn't show this error nor did it spam my console/logs.

Screenshots image

Version Minecraft version: 1.16.4 Spigot/Paper/Bukkit version [/version]: Paper-261 HaroTorch version: HaroTorch 2.1.5

Additional context N/A

TobiasDeBruijn commented 3 years ago

I can't reproduce this on my end. Did you upgrade from 1.x?

Could you please run the attached JAR, and send the debug output on a pastebin link? (Had to zip up the file, GitHub doesn't allow jars here)

HaroTorch-2.1.5-DEV.jar.zip

Exarchh commented 3 years ago

Do you mean a server debug or is there a HT command I am unaware of?

TobiasDeBruijn commented 3 years ago

The jar that is in the zip file of my previous comment has some more debugging things enabled, so when you place a torch it should write a lot of information to the console, all starting with [DEBUG]. That is the information I need :)

Exarchh commented 3 years ago

Ohh, the plugin works perfectly fine haha, it just spams the console with the exception message I liked in this report and I don’t have a clue why.

On Sat, 14 Nov 2020 at 10:55 pm, Tobias de Bruijn notifications@github.com wrote:

The jar that is in the zip file of my previous comment has some more debugging things enabled, so when you place a torch it should write a lot of information to the console, all starting with [DEBUG]. That is the information I need :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheDutchMC/HaroTorch/issues/1#issuecomment-727196214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANGIRQCZ37RD2EUMRDIVZR3SPZVZ7ANCNFSM4TUG5VRQ .

TobiasDeBruijn commented 3 years ago

Neither do I, that is why I want to get to the bottom of it ^_^

But glad the plugin still works as expected, which I find surprising as the error is a NullPointerException :)

Exarchh commented 3 years ago

https://pastebin.com/FN8if4pP

TobiasDeBruijn commented 3 years ago

Okay I've been doing some thinking, since I don't really get why the issue occurs since nothing is null. But I might have come up with a solution.

Could you try this one for me? HaroTorch-2.1.5-DEV-rev-2.jar.zip

Thanks!

Exarchh commented 3 years ago

With that jar, there's no errors and console spam apart from the debug reports

TobiasDeBruijn commented 3 years ago

Awesome! Ill create a version 2.1.6 then, that will remove the spam. This can then be found here