N1 Service Provisioning System - Error accessing User-Database from Jython CLI
Hi All,
once again, we experience a problem, when running udb commands from the Jython CLI, namely one of 'udb.g.la' or 'udb.u.la' (Others may be affected as well).
Our user is logged on and the application handle works well for any other CLI calls.
Our code looks something like this:
app = PyCLUI()
app.execRaw('udb.login'{...})# as admin user
app.execRaw('udb.g.la',{})
This fails with a ClientException. I have printed the stack-trace:
com.sun.n1.sps.model.util.ClientException
at com.sun.n1.sps.model.util.ClientException.wrap(ClientException.java:96)
at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:312)
at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)
at org.python.core.PyMethod.__call__(PyMethod.java:99)
at org.python.core.PyObject.__call__(PyObject.java:650)
at clui$py.execRaw$4(clui.py:46)
at clui$py.call_function(clui.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:437)
at org.python.core.PyTableCode.call(PyTableCode.java:333)
at org.python.core.PyFunction.__call__(PyFunction.java:195)
at org.python.core.PyMethod.__call__(PyMethod.java:99)
at org.python.core.PyObject.__call__(PyObject.java:650)
at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:437)
at org.python.core.PyFunction.__call__(PyFunction.java:189)
at org.python.core.PyObject._callextra(PyObject.java:786)
at org.python.pycode._pyx0.main$44(cli_base.py:556)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:277)
at org.python.core.PyFunction.__call__(PyFunction.java:174)
at org.python.pycode._pyx0.f$0(cli_base.py:563)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1211)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)
at org.python.util.jython.main(jython.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)
at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)
java.lang.ArrayStoreException
at com.raplix.util.proxy.ProxyManager.privateToPublicInstance(ProxyManager.java:422)
at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:304)
at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)
at org.python.core.PyMethod.__call__(PyMethod.java:99)
at org.python.core.PyObject.__call__(PyObject.java:650)
at clui$py.execRaw$4(clui.py:46)
at clui$py.call_function(clui.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:437)
at org.python.core.PyTableCode.call(PyTableCode.java:333)
at org.python.core.PyFunction.__call__(PyFunction.java:195)
at org.python.core.PyMethod.__call__(PyMethod.java:99)
at org.python.core.PyObject.__call__(PyObject.java:650)
at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:437)
at org.python.core.PyFunction.__call__(PyFunction.java:189)
at org.python.core.PyObject._callextra(PyObject.java:786)
at org.python.pycode._pyx0.main$44(cli_base.py:556)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyTableCode.call(PyTableCode.java:277)
at org.python.core.PyFunction.__call__(PyFunction.java:174)
at org.python.pycode._pyx0.f$0(cli_base.py:563)
at org.python.pycode._pyx0.call_function(cli_base.py)
at org.python.core.PyTableCode.call(PyTableCode.java:217)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1211)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)
at org.python.util.jython.main(jython.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)
at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)
I am not able to dig deeper, unfortunately. Is this worth filing a bug?
Regards,
Frank

