Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

/pluginversions fails #3

Open
jomo opened this issue Dec 21, 2014 · 4 comments
Open

/pluginversions fails #3

jomo opened this issue Dec 21, 2014 · 4 comments
Labels

Comments

@jomo
Copy link
Contributor

jomo commented Dec 21, 2014

[17:23:25] [MainThread/INFO]: --=[ Plugin versions ]=--
[17:23:25] [MainThread/WARN]: Unexpected exception while parsing console command "pluginversions"
org.bukkit.command.CommandException: Unhandled exception executing command 'pluginversions' in plugin RedstonerUtils v3.0.0
  at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:643) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(CraftServer.java:629) [spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:353) [spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:317) [spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40-internal]
Caused by: org.python.core.PyException
  at org.python.core.Py.JavaError(Py.java:516) ~[?:?]
  at org.python.core.PyTableCode.call(PyTableCode.java:168) ~[?:?]
  at org.python.core.PyBaseCode.call(PyBaseCode.java:301) ~[?:?]
  at org.python.core.PyFunction.function___call__(PyFunction.java:406) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:401) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:391) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:386) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.call(PythonCommandHandler.java:57) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.onCommand(PythonCommandHandler.java:100) ~[?:?]
  at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  ... 8 more
Caused by: java.lang.NoClassDefFoundError: Lcom/zachsthings/netevents/NetEventsPlugin;
  at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_40-internal]
  at java.lang.Class.privateGetDeclaredFields(Class.java:2570) ~[?:1.8.0_40-internal]
  at java.lang.Class.getDeclaredFields(Class.java:1903) ~[?:1.8.0_40-internal]
  at org.python.core.PyJavaType.init(PyJavaType.java:404) ~[?:?]
  at org.python.core.PyType.createType(PyType.java:1356) ~[?:?]
  at org.python.core.PyType.addFromClass(PyType.java:1293) ~[?:?]
  at org.python.core.PyType.fromClass(PyType.java:1383) ~[?:?]
  at org.python.core.PyJavaType.wrapJavaObject(PyJavaType.java:85) ~[?:?]
  at org.python.core.adapter.ClassicPyObjectAdapter.adapt(ClassicPyObjectAdapter.java:124) ~[?:?]
  at org.python.core.Py.java2py(Py.java:1669) ~[?:?]
  at org.python.core.PyArray.pyget(PyArray.java:1246) ~[?:?]
  at org.python.core.PySequence$DefaultIndexDelegate.getItem(PySequence.java:520) ~[?:?]
  at org.python.core.SequenceIndexDelegate.checkIdxAndFindItem(SequenceIndexDelegate.java:88) ~[?:?]
  at org.python.core.PySequence.seq___finditem__(PySequence.java:346) ~[?:?]
  at org.python.core.PySequence.__finditem__(PySequence.java:342) ~[?:?]
  at org.python.core.PySequenceIter.__iternext__(PySequenceIter.java:24) ~[?:?]
  at org.python.core.WrappedIterIterator.hasNext(WrappedIterIterator.java:23) ~[?:?]
  at org.python.core.PyList.list___init__(PyList.java:112) ~[?:?]
  at org.python.core.PyList$exposed___new__.createOfType(Unknown Source) ~[?:?]
  at org.python.core.PyOverridableNew.new_impl(PyOverridableNew.java:12) ~[?:?]
  at org.python.core.PyType.invokeNew(PyType.java:480) ~[?:?]
  at org.python.core.PyType.type___call__(PyType.java:1650) ~[?:?]
  at org.python.core.PyType.__call__(PyType.java:1640) ~[?:?]
  at org.python.core.PyObject.__call__(PyObject.java:403) ~[?:?]
  at org.python.core.PyObject.__call__(PyObject.java:407) ~[?:?]
  at misc$py.on_pluginversions_command$4(plugins/redstoner-utils.py.dir/misc.py:108) ~[?:?]
  at misc$py.call_function(plugins/redstoner-utils.py.dir/misc.py) ~[?:?]
  at org.python.core.PyTableCode.call(PyTableCode.java:165) ~[?:?]
  at org.python.core.PyBaseCode.call(PyBaseCode.java:301) ~[?:?]
  at org.python.core.PyFunction.function___call__(PyFunction.java:406) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:401) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:391) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:386) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.call(PythonCommandHandler.java:57) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.onCommand(PythonCommandHandler.java:100) ~[?:?]
  at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  ... 8 more
Caused by: java.lang.ClassNotFoundException: com.zachsthings.netevents.NetEventsPlugin
  at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_40-internal]
  at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_40-internal]
  at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_40-internal]
  at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_40-internal]
  at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_40-internal]
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_40-internal]
  at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_40-internal]
  at java.lang.Class.privateGetDeclaredFields(Class.java:2570) ~[?:1.8.0_40-internal]
  at java.lang.Class.getDeclaredFields(Class.java:1903) ~[?:1.8.0_40-internal]
  at org.python.core.PyJavaType.init(PyJavaType.java:404) ~[?:?]
  at org.python.core.PyType.createType(PyType.java:1356) ~[?:?]
  at org.python.core.PyType.addFromClass(PyType.java:1293) ~[?:?]
  at org.python.core.PyType.fromClass(PyType.java:1383) ~[?:?]
  at org.python.core.PyJavaType.wrapJavaObject(PyJavaType.java:85) ~[?:?]
  at org.python.core.adapter.ClassicPyObjectAdapter.adapt(ClassicPyObjectAdapter.java:124) ~[?:?]
  at org.python.core.Py.java2py(Py.java:1669) ~[?:?]
  at org.python.core.PyArray.pyget(PyArray.java:1246) ~[?:?]
  at org.python.core.PySequence$DefaultIndexDelegate.getItem(PySequence.java:520) ~[?:?]
  at org.python.core.SequenceIndexDelegate.checkIdxAndFindItem(SequenceIndexDelegate.java:88) ~[?:?]
  at org.python.core.PySequence.seq___finditem__(PySequence.java:346) ~[?:?]
  at org.python.core.PySequence.__finditem__(PySequence.java:342) ~[?:?]
  at org.python.core.PySequenceIter.__iternext__(PySequenceIter.java:24) ~[?:?]
  at org.python.core.WrappedIterIterator.hasNext(WrappedIterIterator.java:23) ~[?:?]
  at org.python.core.PyList.list___init__(PyList.java:112) ~[?:?]
  at org.python.core.PyList$exposed___new__.createOfType(Unknown Source) ~[?:?]
  at org.python.core.PyOverridableNew.new_impl(PyOverridableNew.java:12) ~[?:?]
  at org.python.core.PyType.invokeNew(PyType.java:480) ~[?:?]
  at org.python.core.PyType.type___call__(PyType.java:1650) ~[?:?]
  at org.python.core.PyType.__call__(PyType.java:1640) ~[?:?]
  at org.python.core.PyObject.__call__(PyObject.java:403) ~[?:?]
  at org.python.core.PyObject.__call__(PyObject.java:407) ~[?:?]
  at misc$py.on_pluginversions_command$4(plugins/redstoner-utils.py.dir/misc.py:108) ~[?:?]
  at misc$py.call_function(plugins/redstoner-utils.py.dir/misc.py) ~[?:?]
  at org.python.core.PyTableCode.call(PyTableCode.java:165) ~[?:?]
  at org.python.core.PyBaseCode.call(PyBaseCode.java:301) ~[?:?]
  at org.python.core.PyFunction.function___call__(PyFunction.java:406) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:401) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:391) ~[?:?]
  at org.python.core.PyFunction.__call__(PyFunction.java:386) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.call(PythonCommandHandler.java:57) ~[?:?]
  at net.lahwran.bukkit.jython.PythonCommandHandler.onCommand(PythonCommandHandler.java:100) ~[?:?]
  at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-9a88a38-e2c4f20]
  ... 8 more
@jomo jomo added the bug label Dec 21, 2014
@jomo
Copy link
Contributor Author

jomo commented Dec 21, 2014

It must be the first plugin that's loaded It's failing at getPlugins() already, since there is no output about other plugins before the error

@l-vt
Copy link
Contributor

l-vt commented Dec 21, 2014

I'm currently coding on a new module and it throws a null pointer exception when using len(args). Not sure if this may be a factor

Edit: Has nothing to do with len() - lol

@l-vt
Copy link
Contributor

l-vt commented Dec 21, 2014

It stops at
plugins = list(server.getPluginManager().getPlugins())

It doesn't throw an error when removing the list. While converting it into a list, it throws the error

@jomo
Copy link
Contributor Author

jomo commented Jan 9, 2015

I was pretty sure you'd also get the error when you only run server.getPluginManager().getPlugins() - might be a bug in jython though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants