Comments (27)
Hm, do you know which command caused that?
from logblock.
Every Command i use i get this Error.
from logblock.
Try latest dev build
from logblock.
With dev builder i get the same error :S
from logblock.
kk, I checked the line number, it looks like the config doesn't get loaded, are there any errors at start up?
from logblock.
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.
Ah, that the bukkit load config bug.
Update CB
from logblock.
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.
Either disable logging.logPlayerInfo in main config, or have a closer look at the lb-players table where these null values comefrom
from logblock.
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.
What kind of MySQL server?
from logblock.
db4free
from logblock.
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.
I'd guess no connection to mysql server
from logblock.
Which mysql server would you recommend to use then? Because I have tried several different ones...
from logblock.
A local one
from logblock.
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.
I have attempted some and failed epically :/
from logblock.
http://dev.mysql.com/doc/refman/5.5/en/installing.html
from logblock.
ty
from logblock.
it didnt work
from logblock.
same with me I have setup I am on 1.50 it says error check log
from logblock.
And what error messages did you finf in server.log?
from logblock.
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.
Try if latest dev fixed the issue
from logblock.
It works! :D
But now...: "The world isn't logged" when i write: "/lb me"
from logblock.
Ok i just fixed it xPPP sorry for the last comment, and thanks!!! :3
from logblock.
Related Issues (20)
- mysql firstlogin, lastlogin, onlinetime, ip HOT 2
- MySQL support broken on paper 1.19.4 HOT 8
- Updater Error HOT 4
- MariaDB 11 Breaking Changes
- java.lang.IllegalArgumentException: Could not parse data: minecraft:cauldron[level=0] HOT 1
- Prefixes for bedrocks players removed HOT 6
- Feature request: Detailed Block Log HOT 1
- Custom Plugins startup directory
- Update HikariCP
- Don't shade, use plugin.yml libraries HOT 1
- Supported api-version
- [Refactoring] SQL HOT 1
- [Refactoring] Translations HOT 1
- Logblock not initializing - duplicate element: SKELETON_WALL_SKULL
- Suggestion: project pages
- Feature: Log player item drops/pickups.
- deleted
- deleted
- Putting items into decorated pots isn't being logged
- Trying to shift click items in or out of containers is being logged even if container or inventory was already full
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logblock.