Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Rational License Key Server Admin and Reporting Tool RCL - Error pushing data java.lang.StringIndexOutOfBoundsException

 I have setup CLM 6.0.4 and loaded agent on it. I have a seperate server which has Rational License Key Server Admin and Reporting Tool on it. All the services are started as root. I see the following error in the log:


ERROR 2017-09-07T16:16:00,055 [Data_Pull572][com.ibm.rcl.data.LicenseDataManager][420] - Error pushing data
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1402) ~[?:?]
at com.ibm.rcl.data.LicenseServerFeatureSupportFact.AssembleStringForSP(LicenseServerFeatureSupportFact.java:235) ~[classes/:?]
at com.ibm.rcl.data.LicenseDataManager.callSP(LicenseDataManager.java:385) ~[classes/:?]
at com.ibm.rcl.data.LicenseDataManager.pushDataToDBThroughSP(LicenseDataManager.java:409) [classes/:?]
at com.ibm.rcl.data.pull.DataPullThread.run(DataPullThread.java:86) [classes/:?]
ERROR 2017-09-07T16:16:00,056 [Data_Pull572][com.ibm.rcl.data.pull.DataPullThread][124] - Error while pulling from
 AgentData[clm.sample.com_4080 'Thu Sep 07 15:29:20 EDT 2017' (UF_20170901_0051_04_107, 28)  (UF_20170901_0051_04_107, 31)  0]
ERROR 2017-09-07T16:16:02,770 [LargeThreadPool-thread-362]

Any ideas?

0 votes



2 answers

Permanent link

 This is what i did to resolve the issue:

Steps to resolve the error:
Firewall disabled
- Stop Reporting
- Remove Server
- Stop RCL Admin
- Stop RCL Agent
- Uninstall RCL AGent
- Reinstall RCL AGent
- Start RCL Admin
- Start RCL Agent
- Add Server
- Start Reporting

0 votes


Permanent link

 When using the Java substring() method, a subset of the character sequence can be extracted from a string. The substring index must be any value from 0 to the length of a string. The java.lang.StringIndexOutOfBoundsException thrown by String methods to indicate that the beginIndex is negative , or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex. 


How to solve the StringIndexOutOfBoundsException
  • Check the length of the string before using substring()
  • Exception handling using try...catch.


0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,513
× 6,132
× 14
× 11
× 1

Question asked: Sep 07 '17, 4:42 p.m.

Question was seen: 2,148 times

Last updated: Mar 13 '20, 2:25 a.m.

Confirmation Cancel Confirm