taylorkelly / BigBrother

GNU General Public License v3.0
29 stars 20 forks source link

Bigbrother Not Logging Events #51

Closed digitaljdr closed 13 years ago

digitaljdr commented 13 years ago

Running 1.4 with bukkit version 612 MySQL 5.5

Having issues logging events such as drop-item, all of the explosions and this morning my console window was full of burn block errors. I've tested the database and all is running fine, I even thought it was a permissions error so I gave it root access and still no logging. Here is a sample of what it says:

00:12:57 [SEVERE] Could not pass event BLOCK_BURN to BigBrother java.lang.NullPointerException at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getUser(BBUsersTable.java:131) at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getUser(BBUsersTable.java:65) at me.taylorkelly.bigbrother.datablock.BBDataBlock.(BBDataBlock.java:54) at me.taylorkelly.bigbrother.datablock.BlockBurn.(BlockBurn.java:18) at me.taylorkelly.bigbrother.BlockBurnLogger.create(BlockBurnLogger.java:39) at me.taylorkelly.bigbrother.listeners.BBBlockListener.onBlockBurn(BBBlockListener.java:139) at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:339) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255) at net.minecraft.server.BlockFire.a(BlockFire.java:138) at net.minecraft.server.BlockFire.a(BlockFire.java:72) at net.minecraft.server.World.a(World.java:1506) at net.minecraft.server.World.h(World.java:1405) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:359) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283) at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)

Raptor2213 commented 13 years ago

These were (mostly) fixed in build 251 ( http://ci.nexisonline.net:8080/job/BigBrother/251/ ).

See: https://github.com/tkelly910/BigBrother/issues#issue/47 and https://github.com/tkelly910/BigBrother/issues/closed#issue/38

List of current development builds: http://ci.nexisonline.net:8080/job/BigBrother/

digitaljdr-duplicate commented 13 years ago

I'm using the most current version. Here is a list of my server start up and still persistent issue.

I never had an issue connecting to the database, it was recording data such as login events IP addresses and everything else. Besides Explosions & player drops and pickups

07:44:12 [INFO] Starting minecraft server version Beta 1.4 07:44:12 [INFO] Loading properties 07:44:12 [INFO] Starting Minecraft server on *:25565 07:44:12 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612- g4c7a9e7-b617jnks (MC: 1.4) 07:44:12 [INFO] Preparing level "world" 07:44:12 [INFO] Preparing start region 07:44:12 [INFO] 144 recipes 07:44:13 [INFO] Preparing spawn area: 85% 07:44:13 [INFO] Invalid config file found and converted to proper name/format. 07:44:13 [INFO] Permissions was Initialized. 07:44:13 [INFO] [AdminChat] Version 1.3 is enabled. 07:44:13 [INFO] [AdminChat] Using color 'green' as for Adminchat. 07:44:13 [INFO] [AdminChat] Using channel name 'Adminchat' for Adminchat. 07:44:13 [INFO] [BBROTHER] ------------------------------------ 07:44:13 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother! 07:44:13 [INFO] [BBROTHER] Please note that, since this is far from complete, th ere will be many bugs. 07:44:13 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON https://g ithub.com/tkelly910/BigBrother/issues 07:44:13 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for up dates and build notifications. 07:44:13 [INFO] [BBROTHER] ------------------------------------ 07:44:14 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded! 07:44:14 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.5.5 07:44:14 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support 07:44:14 [INFO] [BBROTHER] BigBrother 1.7.2-SNAPSHOT enabled 07:44:14 [INFO] [EasyTP] Enabled. 07:44:14 [INFO] Growbie version 2.3 enabled. 07:44:14 [INFO] [iConomy] Logging enabled. 07:44:14 [INFO] [iConomy] v4.65 (Kenzi) loaded. 07:44:14 [INFO] [iConomy] Developed by: [Nijikokun, Coelho] 07:44:14 [INFO] Minecart Mania Core version 1.06a is enabled! 07:44:14 [INFO] Minecart Mania Station version 1.06 is enabled! 07:44:14 [INFO] NPCTrader Successfully linked with iConomy. 07:44:14 [INFO] NPCTrader is Using Permissions 07:44:14 [INFO] Loaded 0 NPCs. 07:44:14 [INFO] NPCTrader version 1.1.0 is enabled! 07:44:14 [SEVERE] Nag author: 'MatCat' of 'NPCTrader' about the following: onPlu ginEnable has been replaced with a new signature, (PluginEnableEvent) 07:44:14 [INFO] OtherX enabled 07:44:14 [INFO] [Permissions] version 2.5.5 loaded 07:44:14 [INFO] [iConomy] hooked into Permissions. 07:44:14 [INFO] SpawnX enabled 07:44:14 [INFO] Stargate-DHD v.0.1.2 is enabled. 07:44:14 [INFO] [Stargate-DHD] Found Permissions (v2.5.5) 07:44:14 [INFO] Stargate v.0.3.2 is enabled. 07:44:14 [INFO] [Stargate] {world} Loaded 16 stargates with 0 set as always-on 07:44:14 [INFO] [Stargate] Found Permissions (v2.5.5) 07:44:15 [INFO] [Stargate] Found iConomy (v4.65) 07:44:15 [INFO] [Stargate-DHD] Found Stargate (v0.3.2) 07:44:15 [INFO] Minecart Mania Chest Control version 1.06 is enabled! 07:44:15 [INFO] Done (0.270s)! For help, type "help" or "?" 07:44:17 [INFO] [BBROTHER] Starting Cleanser thread... 07:44:17 [INFO] [BBROTHER] Cleaned out 0 records because of age in 0h00m00s. 07:44:17 [INFO] [BBROTHER] Ending Cleanser thread...

bb version 07:44:19 [INFO] You're running: BigBrother 1.7.2-SNAPSHOT 07:44:27 [INFO] digitaljdr [/192.168.1.101:56016] logged in with entity id 164 07:44:27 [INFO] Loaded world: world 07:44:33 [SEVERE] Could not pass event PLAYER_DROP_ITEM to BigBrother java.lang.NullPointerException at me.taylorkelly.bigbrother.datablock.DropItem.(DropItem.java:11) at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerDropItem(BBPlayerListener.java:141) at org.bukkit.plugin.java.JavaPluginLoader$15.execute(JavaPluginLoader.java:253) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255) at net.minecraft.server.EntityHuman.a(EntityHuman.java:273) at net.minecraft.server.EntityHuman.z(EntityHuman.java:232) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:314) at net.minecraft.server.Packet14BlockDig.a(SourceFile:42) at net.minecraft.server.NetworkManager.a(NetworkManager.java:198) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72) at net.minecraft.server.NetworkListenThread.a(SourceFile:100) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283) at net.minecraft.server.ThreadServerApplication.run(SourceFile:375) 07:44:39 [INFO] digitaljdr lost connection: disconnect.quitting

digitaljdr-duplicate commented 13 years ago

Posting my config

general: excluded-blocks: [] rollbacks-per-tick: 2000 personal-log-files: false auto-watch: true debug-mode: false default-search-radius: 5 tnt-threshold: 10.0 restore-fire: false stick-item: 280 library-autodownload: true database: cleanse-age: 3d deletes-per-cleansing: '20000' max-records: '3000000' type: mysql send-delay: 4 mysql: port: 3306 username: minecraft engine: MyISAM prefix: bb_ low-priority-insert: true hostname: localhost password: ** database: minecraft use-persistant-connection: false watched: environment: lava-flow: false leaf-decay: false player: drop-item: false ip-player: true disconnect: true login: true pickup-item: false teleport: true explosions: tnt: false creeper: false misc: false chat: commands: true chat: true blocks: chest-changes: true block-place: true block-break: true misc: flint-logging: true door-open: false lever-switch: false button-press: false

digitaljdr-duplicate commented 13 years ago

Fixed by #257