Red Hat Bugzilla – Bug 454474
java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Last modified: 2009-09-17 02:59:31 EDT
Description of problem:
I'm attempting to write a cobbler authn_spacewalk module to authenticate
Cobbler's XMLRPC against Spacewalk's XMLRPC. Calling logout generated the
following remote traceback when using https://rlx-3-24.rhndev.redhat.com as my
2008-07-08 14:17:59,093 - remote - Exception occured: <class 'xmlrpclib.Fault'>
2008-07-08 14:17:59,094 - remote - Exception value: <Fault -1:
'java.lang.IllegalStateException: Stopwatch must be reset before being restarted. '>
This also happened just now when calling client.auth.login()
Here is a local bugreport that has a full trace:
This happen sat5.2 too. There we have java-1.5.0-ibm. So it is not related to
This was related to building the code using commons-lang-2.0 and running with
commons-lang 2.1. Also, velocity-deps-1.5 included its own copy of StopWatch.
I've updated to commons-lang 2.1, and uses velocity-1.5 jar without all of its
dependencies, which is the proper way of doing it.
Verified logout now working in spacewalk 0.2.
Spacewalk is released for long time.