CoreProtect

CoreProtect

1M Downloads

Spam In Logs When Breaking A Block

yunus-cakir opened this issue · 2 comments

commented

Hi! My server always sends me when anyone tries to break a block. What should I do? I would really appreciate it if you could help me.
[STDERR]: java.lang.NullPointerException: Cannot invoke "org.bukkit.block.data.BlockData.getAsString()" because the return value of "net.coreprotect.utility.Util.createBlockData(org.bukkit.Material)" is null
[STDERR]: at net.coreprotect.utility.Util.stringToByteData(Util.java:497)
[STDERR]: at net.coreprotect.database.statement.BlockStatement.insert(BlockStatement.java:16)
[STDERR]: at net.coreprotect.database.logger.BlockBreakLogger.log(BlockBreakLogger.java:69)
[STDERR]: at net.coreprotect.consumer.process.BlockBreakProcess.process(BlockBreakProcess.java:24)
[STDERR]: at net.coreprotect.consumer.process.Process.processConsumer(Process.java:145)
[STDERR]: at net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[STDERR]: at java.base/java.lang.Thread.run(Thread.java:842)

commented

Without additional information, I would guess you’re running some sort of unsupported server software.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.