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.ItemUtilAProtectAdapter.add(ItemUtil.java:2125)
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:62)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:131) at
com.sun.proxy.AProxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepositoryA4.run(TeamRepository.java:1487)
at com.ibm.team.repository.client.internal.TeamRepositoryA4.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepositoryA3.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
at com.ibm.team.repository.common.internal.util.ItemUtilAProtectAdapter.add(ItemUtil.java:2125)
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:62)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:131) at
com.sun.proxy.AProxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepositoryA4.run(TeamRepository.java:1487)
at com.ibm.team.repository.client.internal.TeamRepositoryA4.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepositoryA3.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
Accepted answer
I can found the same topic you posted in which you could solve it.
https://jazz.net/forum/questions/124762/getting-this-error-when-running-java-api-on-zos
Comments
Shinobu Ishida
Feb 14 '18, 1:08 a.m.Hi Jan,
I encountered the same error.
I'm running RTC 3.0.1.1 on z/OS 1.13.
Did you solve this problem?
Thanks.