IllegalStateException when using the SCM command line
Allen Earnest (62●1●24●37)
| asked Mar 21 '14, 10:58 a.m.
edited Mar 21 '14, 1:45 p.m. by Geoffrey Clemm (30.1k●3●30●35)
Hello
We are looking to use the SCM command line to do some work in RTC. But I'm getting an IllegalStateException when I try to use it.
Sometimes I can use the SCM tool for a few minutes with no problems, but other times I get the IllegalStateException as soon as a login.
It seems the only way I can "fix" the problem is to reboot my server. But that is only a temporary fix.
Here is an example of what I am seeing. I did a simple login and list projectareas using the command line. This was immediately following a reboot. Here are my exact commands and responses. You can see that in this particular test, the SCM command gets part way through listing the project areas before throwing the illegal state exception.
Any help appreciated! Thanks!
|
One answer
This seems similar to the exception reported in the below workitem: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=306852
This has been resolved in an upcoming release.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
If you have extended the SCM commandline, I doubt anyone will be able to help here without seeing the code you created that throws the error. This is also an error that is very Java centric: http://stackoverflow.com/questions/12698275/whats-the-intended-use-of-illegalstateexception so there seems to be a call to a method that is not in the state to be called.
No extensions by us. These are the native IBM jars for connecting to RTC from the command line.
I've modified the question title to make it clear that you are using the command line, and not the Java API.
Thanks Geoffrey. I've been switching back and forth between Rational tools, I forget which ones are Java API based or native exe sometimes. :)