UWCS / choob

Compsoc's Highly Over-engineered Object-oriented Bot
http://choob.uwcs.co.uk/
GNU Lesser General Public License v2.1
17 stars 6 forks source link

Events plugin: java.lang.NumberFormatException: For input string: "-" #279

Closed FauxFaux closed 13 years ago

FauxFaux commented 13 years ago

{{{ Exception invoking method public void plugins.Events.Events.interval(java.lang.Object) throws uk.co.uwcs.choob.support.ChoobException java.lang.NumberFormatException: For input string: "-" at plugins.Events.Events$EventItem.(Events.java:53) at plugins.Events.Events.readEventsData(Events.java:301) at plugins.Events.Events.commandList(Events.java:487) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at uk.co.uwcs.choob.plugins.HaxSunPluginManager$2.run(HaxSunPluginManager.java:411) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) }}}

{{{

badgerbot: events Faux: The author of plugin Events was too lazy to trap the exception: java.lang.NumberFormatException: For input string: "-" }}}
FauxFaux commented 13 years ago

Author: faux Being caused by the lack of finishing date in the events file http://faux.uwcs.co.uk/events.data .

FauxFaux commented 13 years ago

Author: tim fixed: (In [785]) Fixes ticket #279. Rahrahrah.

FauxFaux commented 13 years ago

Ticket imported from Trac: http://trac.uwcs.co.uk/choob/ticket/279