Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 454474 - java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Summary: java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 0.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jesus M. Rodriguez
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: space02
TreeView+ depends on / blocked
Reported: 2008-07-08 18:21 UTC by Michael DeHaan
Modified: 2009-09-17 06:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-17 06:59:31 UTC

Attachments (Terms of Use)

Description Michael DeHaan 2008-07-08 18:21:32 UTC
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 as my
test server.

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. '>

Comment 1 Michael DeHaan 2008-07-08 18:23:32 UTC
This also happened just now when calling client.auth.login()

Comment 2 Michael DeHaan 2008-07-15 22:23:11 UTC
Here is a local bugreport that has a full trace:

Comment 3 Miroslav Suchý 2008-07-24 11:17:30 UTC
This happen sat5.2 too. There we have java-1.5.0-ibm. So it is not related to
java 1.6.

Comment 4 Jesus M. Rodriguez 2008-07-29 18:53:13 UTC
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.

Comment 6 Devan Goodwin 2008-09-05 14:41:43 UTC
Verified logout now working in spacewalk 0.2.

Comment 7 Miroslav Suchý 2009-09-17 06:59:31 UTC
Spacewalk is released for long time.

Note You need to log in before you can comment on or make changes to this bug.