Running "scm" command line results in "Unexpected exception" java errors

Technote (troubleshooting)


Problem(Abstract)

Attempts to run "scm" from the command line results in the java error "Unexpected exception" using IBM Rational Team Concert (RTC).

Symptom

When you are running scm commands on a RTC client machine, you may get varieties of "Unexpected exception" java errors.

The error message can be:


Unexpected exception
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 4

Or


Unexpected exception
java.lang.NumberFormatException: For input string: "_Ua"

In the client log file under <RTC-client-install-dir>/scmtools/eclipse/configuration or under <sandbox>/.metadata/.log, you can see the log entries which will be similar to:

!ENTRY org.eclipse.osgi 2 0 2012-12-06 11:34:21.772
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-12-06 11:34:21.773
!MESSAGE Bundle org.eclipse.ui.win32_3.2.200.I20100509-0800 [5] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-12-06 11:34:21.773
!MESSAGE Bundle org.eclipse.ui.navigator.resources.nl2_3.4.202.v201102251823 [13] was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl2 2 0 2012-12-06 11:34:21.773
!MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-12-06 11:34:21.773
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86.nl1_3.6.2.v201102251823 [36] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-12-06 11:34:21.773
!MESSAGE Bundle org.eclipse.ui.navigator.resources.nl1_3.4.202.v201102251823 [39] was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl1 2 0 2012-12-06 11:34:21.773
!MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-12-06 11:34:21.773
!MESSAGE Bundle org.eclipse.core.filesystem.win32.x86.nl1_1.1.201.v201102251823 [86] was not resolved.
...

Cause

The errors indicate that data corruption may be happened in the configuration directory .jazz-scm, which by default is located in your home directory.

Resolving the problem

To fix the issue, you need to remove the .jazz-scm configuration directory, which is located in your home directory by default. The .jazz-scm configuration directory will be recreated when you run scm command next time.

Note: You may have customized "preferences.properties" file or other properties files created under the .jazz-scm directory. Before removing the directory, back up the *.properties files.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Team Concert
SCM

Software version:

3.0.1.3, 3.0.1.4, 3.0.1.5, 4.0, 4.0.0.1

Operating system(s):

Linux

Reference #:

1619911

Modified date:

2013-02-22

Translate my page

Machine Translation

Content navigation