Giter Club home page Giter Club logo

Comments (27)

DiddiZ avatar DiddiZ commented on July 19, 2024

Hm, do you know which command caused that?

from logblock.

nano333 avatar nano333 commented on July 19, 2024

Every Command i use i get this Error.

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

Try latest dev build

from logblock.

nano333 avatar nano333 commented on July 19, 2024

With dev builder i get the same error :S

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

kk, I checked the line number, it looks like the config doesn't get loaded, are there any errors at start up?

from logblock.

nano333 avatar nano333 commented on July 19, 2024

2011-12-16 22:47:41 [SEVERE] [LogBlock] Error while loading:
java.lang.NullPointerException
at org.bukkit.plugin.java.JavaPlugin.getResource(JavaPlugin.java:156)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:133)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:125)
at de.diddiz.LogBlock.Config.(Config.java:53)
at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:67)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:144)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:117)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:141)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-16 22:47:41 [SEVERE] null initializing LogBlock v1.50 (Is it up to date?)
java.lang.NullPointerException
at de.diddiz.LogBlock.Consumer.(Consumer.java:48)
at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:93)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:144)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:117)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:141)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

These three errors are the only.

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

Ah, that the bukkit load config bug.
Update CB

from logblock.

nano333 avatar nano333 commented on July 19, 2024

Okay, nice. It works. But now i get this Error:

2011-12-17 17:43:55 [SEVERE] [LogBlock Consumer] SQL exception on UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1324140229), lastlogin)) WHERE playerid = 2;:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'onlinetime' cannot be null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:779)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:622)
at de.diddiz.LogBlock.Consumer.run(Consumer.java:274)
at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

Either disable logging.logPlayerInfo in main config, or have a closer look at the lb-players table where these null values comefrom

from logblock.

nano333 avatar nano333 commented on July 19, 2024

Okay, know i have an other problem.

When I click on a block to check who build this block. I have to wait 10 or more seconds to see the block Changes.

Do you know, why it's taking so long?

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

What kind of MySQL server?

from logblock.

nano333 avatar nano333 commented on July 19, 2024

db4free

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

Could you also help me i get the same error as the first, have the latest cb and I have a freemsql.net database. Logblock does not work for me and also the same thing happened to me as to nano. When i place the bedrock to check griefing all that happens is nothing comes up on chat and the bedrock is just placed :/ please help! As well as this i get the check log error for every command other than /lb tb or /lb t. This does not work with the full commands either. (/lb toolblock /lb tool) please help me diddiz :)

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

I'd guess no connection to mysql server

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

Which mysql server would you recommend to use then? Because I have tried several different ones...

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

A local one

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

Sorry to be a pest, but I don't know how to set up a local mysql database. Could you do me a quick tutorial please?

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

I have attempted some and failed epically :/

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

http://dev.mysql.com/doc/refman/5.5/en/installing.html

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

ty

from logblock.

Hazza462 avatar Hazza462 commented on July 19, 2024

it didnt work

from logblock.

fighterman avatar fighterman commented on July 19, 2024

same with me I have setup I am on 1.50 it says error check log

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

And what error messages did you finf in server.log?

from logblock.

sirikon avatar sirikon commented on July 19, 2024

Same error, with the last CraftBukkit version :S

The log...

2012-02-01 18:54:44 [WARNING] [LogBlock] Exception in commands handler:
java.lang.NullPointerException
at de.diddiz.LogBlock.QueryParams.getTable(QueryParams.java:120)
at de.diddiz.LogBlock.QueryParams.getQuery(QueryParams.java:105)
at de.diddiz.LogBlock.LogBlock.getCount(LogBlock.java:306)
at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:237)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

I need help, this plugin is really great :D

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

Try if latest dev fixed the issue

from logblock.

sirikon avatar sirikon commented on July 19, 2024

It works! :D

But now...: "The world isn't logged" when i write: "/lb me"

from logblock.

sirikon avatar sirikon commented on July 19, 2024

Ok i just fixed it xPPP sorry for the last comment, and thanks!!! :3

from logblock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.