Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Dec 2, 2012 · 35 comments
Open

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

ghost opened this issue Dec 2, 2012 · 35 comments

Comments

@ghost
Copy link

ghost commented Dec 2, 2012

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
Copy link
Owner

Hidendra commented Dec 2, 2012

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//issues/457.

@ghost
Copy link
Author

ghost commented Dec 2, 2012

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
Copy link
Author

ghost commented Dec 4, 2012

When fixed?

@Joelee7648
Copy link

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
Copy link
Owner

Hidendra commented Dec 6, 2012

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

@Joelee7648
Copy link

I am using CB 1.4.5 R0.03

@Joelee7648
Copy link

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

@Joelee7648
Copy link

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

@XxCoolGamesxX
Copy link

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
Copy link

Oh okay, thank you! It is build #2503

@Joelee7648
Copy link

Maybe that is why I am getting errors.

@XxCoolGamesxX
Copy link

Do a test in the 2504.

@Joelee7648
Copy link

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

@XxCoolGamesxX
Copy link

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
Copy link

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

@XxCoolGamesxX
Copy link

ok. : )

@Joelee7648
Copy link

Same errors, unfortunately.

@Joelee7648
Copy link

Is there another build of LWC somewhere?

@Hidendra
Copy link
Owner

Hidendra commented Dec 6, 2012

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

@Joelee7648
Copy link

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

@XxCoolGamesxX
Copy link

3KB not in the sqlite.jar. lol

@Joelee7648
Copy link

You mean 3 MB*?

@XxCoolGamesxX
Copy link

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

@Joelee7648
Copy link

"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
Copy link
Owner

Hidendra commented Dec 6, 2012

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

@Joelee7648
Copy link

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
Copy link
Owner

Hidendra commented Dec 6, 2012

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

@Joelee7648
Copy link

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
Copy link
Owner

Hidendra commented Dec 6, 2012

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

@Joelee7648
Copy link

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
Copy link

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

@Joelee7648
Copy link

Let me try to reproduce the errors

@Joelee7648
Copy link

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
Copy link
Owner

Hidendra commented Dec 6, 2012

aha great to hear and no problem :)

@Joelee7648
Copy link

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

Hidendra added a commit that referenced this issue Feb 1, 2013
Hidendra added a commit that referenced this issue Feb 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants