Getting this error when running java-api on ZOS
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -7
at com.ibm.team.repository.common.internal.util.ItemUtilÅProtectAdapter.add(ItemUtil.java:2125)
at com.ibm.team.repository.common.internal.util.ItemUtilÅProtectAdapter.add(ItemUtil.java:2022)
at com.ibm.team.repository.common.internal.util.ItemUtil.protect(ItemUtil.java:1941)
at com.ibm.team.repository.common.model.impl.ItemHandleImpl.protect(ItemHandleImpl.java:516)
at com.ibm.team.repository.client.internal.util.ClientUtil.makeImmutable(ClientUtil.java:195)
at com.ibm.team.repository.client.internal.util.ClientUtil.makeImmutable(ClientUtil.java:202)
at com.ibm.team.repository.client.internal.util.ClientUtil.makeImmutable(ClientUtil.java:62)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:131)
at com.sun.proxy.ÅProxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepositoryÅ4.run(TeamRepository.java:1487)
at com.ibm.team.repository.client.internal.TeamRepositoryÅ4.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepositoryÅ3.run(TeamRepository.java:1261)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1254)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1480)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:618)
at dk.danskebank.cc.fs.rtccommonship.core.LogToBuildResult.Login(LogToBuildResult.java:100)
at dk.danskebank.cc.fs.rtccommonship.core.LogToBuildResult.Login(LogToBuildResult.java:181)
I'm running RTC 3.0.1
2 answers
Comments
I'm running a deploy script on Zos for a Buildresult(Ear file)
And therefore i need to send the log file from the deploy to the BuildResult.
The error occurs when i am do the Login to RTC thru java plan api.
The zos is running a different codepage than the RTC server
On the zos we are running
IBM-1047 and the RTC server is running on windows(Websphere) with codepage
Cp1252