dchaosknight / FriskStick

Source code for FriskStick
0 stars 4 forks source link

Auto Update #3

Closed dchaosknight closed 11 years ago

dchaosknight commented 12 years ago

So far, the current update code is throwing numerous exceptions. I am working on this, but I don't have an estimate on how much longer it will be.

ghost commented 12 years ago

Sorry accidentally closed it. Is it throwing the errors on startup? When I start my server it doesn't throw any errors.

ghost commented 12 years ago

Ok scratch that. I see what you mean.

ghost commented 12 years ago

Your problen is an OutOfBoundException on line 116. You might want to check that.

ghost commented 12 years ago

22:53:33 [SEVERE] Could not pass event PlayerJoinEvent to FriskStick org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfi gurationManagerAbstract.java:161) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfi gurationManagerAbstract.java:92) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServe rConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at friskstick.cops.data.PluginUpdateCheck.checkForUpdates(PluginUpdateCh eck.java:116) at friskstick.cops.data.PluginUpdateCheck.checkJoin(PluginUpdateCheck.ja va:143) 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.ja va:330) ... 14 more

dchaosknight commented 12 years ago

Yes, I've resolved that problem. Still getting a different exception, so I'll see what I can do.

ghost commented 12 years ago

Okies