Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
167 stars 123 forks source link

3x different errors that i have caught in my console #457

Open ghost opened 12 years ago

ghost commented 12 years ago

LWC version: LWC v4.3.1 (b786-git-MANUAL) CraftBukkit version: 1.4.5-R0.3 #2503

http://pastebin.com/5AgrBxEJ (It loops like every 1-2h) http://pastebin.com/Vc3U8URt (It loops like every 30 minutes) http://pastebin.com/4pJTWcxK (It loops like every 10 minutes)

When i tried do /lwc admin cleanup then http://pastebin.com/ZZMKtq4b

Would be good if those will be asap fixed quickly. Thanks.

Hidendra commented 12 years ago

could you pastebin your server startup log?

On Sun, Dec 2, 2012 at 9:25 AM, Typhome notifications@github.com wrote:

LWC version: LWC v4.3.1 (b786-git-MANUAL) CraftBukkit version: 1.4.5-R0.3 #2503

http://pastebin.com/5AgrBxEJ http://pastebin.com/Vc3U8URt (It loops like every 1h) http://pastebin.com/4pJTWcxK (It loops like every 10 minutes)

Would be good if those will be asap fixed quickly. Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/Hidendra/LWC/issues/457.

ghost commented 12 years ago

Here you go - http://pastebin.com/Ge9LHAB1

I caught more one different error - http://pastebin.com/sxsVZad3

LWC admin report - http://www.upload.ee/image/2875074/lwcadminreport.PNG

ghost commented 12 years ago

When fixed?

Joelee7648 commented 12 years ago

Hello, Hidendra! To start, I want to thank your for creating this plugin; I really like it, and prefer it above all other lock mods.

Okay, I would like to post my errors I am getting and see if you could help me, because I have tried to fix it, but can't find the problem. I thought it was how I don't use sqlite, but there are a few people I know that use it, and they say it doesn't require it. Plus, as long as I reload the server when I start the server over, it seems to runs just fine.

These are the errors I've been getting:

2012-12-06 13:40:26 [INFO] [LWC] Enabling LWC v4.3.1 (b786-git-MANUAL) (December 01, 2012) 2012-12-06 13:40:26 [INFO] [LWC] Connecting to SQLite 2012-12-06 13:40:26 [INFO] [LWC] ########################### 2012-12-06 13:40:26 [INFO] [LWC] ########################### 2012-12-06 13:40:26 [INFO] [LWC] ### NOTE: LWC has failed to connect to the database (SQLite) 2012-12-06 13:40:26 [INFO] [LWC] ### The error received from the server is: "No suitable driver found for jdbc:sqlite:plugins/LWC/lwc.db" 2012-12-06 13:40:26 [INFO] [LWC] ### 2012-12-06 13:40:26 [INFO] [LWC] ### RESOLVING: Once you have fixed this error, simply restart the server again 2012-12-06 13:40:26 [INFO] [LWC] ########################### 2012-12-06 13:40:26 [INFO] [LWC] ########################### 2012-12-06 13:40:26 [INFO] [LWC] Failed to connect to database, aborting startup attempt and going into safe mode (I get this one when I first start the server. ^)

2012-12-06 15:38:05 [SEVERE] Could not pass event PlayerDropItemEvent to LWC v4.3.1 (b786-git-MANUAL) (December 01, 2012) org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.EntityHuman.a(EntityHuman.java:439) at net.minecraft.server.EntityHuman.bR(EntityHuman.java:397) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:501) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.3.1 (b786) at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:358) at com.griefcraft.listeners.LWCPlayerListener.onPlayerDropItem(LWCPlayerListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 16 more Caused by: java.lang.NullPointerException at com.griefcraft.modules.modes.DropTransferModule.onDropItem(DropTransferModule.java:101) at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:342) ... 22 more (and that one happens whenever I drop an item, like a sign or whatever.)

But, once I reload it, everything has been running okay, so far as I can tell.

Hidendra commented 12 years ago

could you delete the plugins/LWC/lib folder and restart the server? And what CB version are you on?

Joelee7648 commented 12 years ago

I am using CB 1.4.5 R0.03

Joelee7648 commented 12 years ago

I still get the same error messages until I /reload the server.

Joelee7648 commented 12 years ago

I believe the build is #2514, but that mat be wrong, because it was about a day or two since I downloaded it.

XxCoolGamesxX commented 12 years ago

You can see it on the server.log. Say version but a lot of 1.4.5-R0.3 bulids was make by bukkit team. Help more for the plugin guy to now. what the Build Number.

Joelee7648 commented 12 years ago

Oh okay, thank you! It is build #2503

Joelee7648 commented 12 years ago

Maybe that is why I am getting errors.

XxCoolGamesxX commented 12 years ago

Do a test in the 2504.

Joelee7648 commented 12 years ago

Upgrade to the #2504 build? Or the latest Dev build?

XxCoolGamesxX commented 12 years ago

Upgrade to the #2504 build. Not to the 2505 because bukkit team it a big update in the codes so can make error to your order plugins you have. But you can do a test to see.

Joelee7648 commented 12 years ago

Let me try that real quick, then I'll post back.

XxCoolGamesxX commented 12 years ago

ok. : )

Joelee7648 commented 12 years ago

Same errors, unfortunately.

Joelee7648 commented 12 years ago

Is there another build of LWC somewhere?

Hidendra commented 12 years ago

What is the file size of plugins/LWC/lib/sqlite.jar? Ballpark of 1.5MB?

Joelee7648 commented 12 years ago

Umm.... Yeah, it is 1.47 MB.

XxCoolGamesxX commented 12 years ago

3KB not in the sqlite.jar. lol

Joelee7648 commented 12 years ago

You mean 3 MB*?

XxCoolGamesxX commented 12 years ago

Dude is was 3MB be 4.5MB. Is 0.03MB in KB is 3KB.

Joelee7648 commented 12 years ago

"Dude" it was a question; and who are you anyway? I was addressing Hidendra anyway, the creator of this plugin, if I'm not mistaken? And anyways, Hidendra said in the ballpark of 1.5MB, not 'exactly' 1.5 MB.

Hidendra commented 12 years ago

very odd indeed -- have you by chance changed the plugins folder location?

Joelee7648 commented 12 years ago

No, I don't like to tamper with things like that unless I know what I'm doing. Is it possible that I downloaded the wrong build of LWC?

Hidendra commented 12 years ago

could you try #788 - http://ci.griefcraft.com/job/LWC/788/

Joelee7648 commented 12 years ago

I definitely can! Also, the SqLite seemed difficult to load; does it mean that every user who plays on my server needs to download it as well? or is that for people who are inventing plugins?

Hidendra commented 12 years ago

It's just used by LWC for its database (to store protections and such ;)

Joelee7648 commented 12 years ago

So that IS my problem? I wonder why others aren't having that trouble though. Also, I was watching a video of someone loading LWC, and theirs automatically downloaded SQlite. but mine didnt have the config options for that

Joelee7648 commented 12 years ago

Actually, that build you just linked me to has it, because it downloaded it this time, so maybe that will solve my problem

Joelee7648 commented 12 years ago

Let me try to reproduce the errors

Joelee7648 commented 12 years ago

Yayy!!! Thank you so much, Hidendra! That build fixed the problem, and i didn't have to reload the server. You're awesome, and you're plugin is awesome! Lol

Hidendra commented 12 years ago

aha great to hear and no problem :)

Joelee7648 commented 12 years ago

I'm sorry to be back again, but I just got this error:

2012-12-06 17:34:17 [SEVERE] Exception in thread "pool-1-thread-35" 2012-12-06 17:34:17 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin LWC v4.3.1 (b788-git-MANUAL) (December 06, 2012) generated an exception while executing task 14 at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at com.griefcraft.lwc.LWC$2.getValue(LWC.java:1497) at com.griefcraft.util.Metrics.postPlugin(Metrics.java:374) at com.griefcraft.util.Metrics.access$400(Metrics.java:68) at com.griefcraft.util.Metrics$1.run(Metrics.java:238) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more