Error while checkin file in RTC
Any one know what the below error means. i see this error when a user tries to checkin a file in the jazz.log
The user get error
Failed to upload File /StateInterfaceBatch/src/main/java/gov/osha/ois/si/enforcement/mapper/service/InspectionMapperServiceImpl.java
CRJAZ1247I The request to the server failed. The server returned the http error 400 with error text "Bad Request". Examine any further details here or look in the server log files for more information on how to resolve the issue.
All other files works fine what could be wrong with this file does something got corrupted
======================in jazz.log==================
Caused by:
com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 row was expected but 0 rows were found for handle "com.ibm.team.interop.common.internal.impl.SyncInfoImpl@41e041e (stateId: [UUID _TLIcIXTTEeStMrJ8aCqHpg], itemId: [UUID _gA9PALk_EeC-FOOQ0R1WZQ], origin: <unset>, immutable: true) (contextId: [UUID _Ix2SELilEeC8K_OUxKajRQ], modified: 2014-11-25 13:46:00.162, workingCopy: false) (predecessor: <unset>) (lastSearchTime: 2014-11-25 13:46:00.124, disabled: false)".
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrStaleData(AbstractRow.java:322)
at com.ibm.team.repository.service.internal.dataaccess.UpdateItemCurrentRow.validateResult(UpdateItemCurrentRow.java:73)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.simulatedBatch(BatchingRowReceiver.java:389)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.executeBatch(BatchingRowReceiver.java:269)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.execute(BatchingRowReceiver.java:196)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:140)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:118)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.preCommitNotify(RdbRepositoryDataMediator.java:1534)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$WriteExclusiveTransaction.completeTransaction(RepositoryDatabase.java:666)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.finishTransaction(RepositoryDatabase.java:500)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:293)
... 43 more
The user get error
Failed to upload File /StateInterfaceBatch/src/main/java/gov/osha/ois/si/enforcement/mapper/service/InspectionMapperServiceImpl.java
CRJAZ1247I The request to the server failed. The server returned the http error 400 with error text "Bad Request". Examine any further details here or look in the server log files for more information on how to resolve the issue.
All other files works fine what could be wrong with this file does something got corrupted
======================in jazz.log==================
Caused by:
com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 row was expected but 0 rows were found for handle "com.ibm.team.interop.common.internal.impl.SyncInfoImpl@41e041e (stateId: [UUID _TLIcIXTTEeStMrJ8aCqHpg], itemId: [UUID _gA9PALk_EeC-FOOQ0R1WZQ], origin: <unset>, immutable: true) (contextId: [UUID _Ix2SELilEeC8K_OUxKajRQ], modified: 2014-11-25 13:46:00.162, workingCopy: false) (predecessor: <unset>) (lastSearchTime: 2014-11-25 13:46:00.124, disabled: false)".
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrStaleData(AbstractRow.java:322)
at com.ibm.team.repository.service.internal.dataaccess.UpdateItemCurrentRow.validateResult(UpdateItemCurrentRow.java:73)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.simulatedBatch(BatchingRowReceiver.java:389)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.executeBatch(BatchingRowReceiver.java:269)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.execute(BatchingRowReceiver.java:196)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:140)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:118)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.preCommitNotify(RdbRepositoryDataMediator.java:1534)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$WriteExclusiveTransaction.completeTransaction(RepositoryDatabase.java:666)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.finishTransaction(RepositoryDatabase.java:500)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:293)
... 43 more
One answer
StaleDataExceptions only happen if there is newer data in the server compared to the client as far as I can tell.
I would assume the user got an error that is more descriptive in the context. I would assume this could happen if someone works against the same repository workspace loaded twice (which they should not) or some other scenario, where the data on the server is newer than the client data.
This is a wild guess though.
I would assume the user got an error that is more descriptive in the context. I would assume this could happen if someone works against the same repository workspace loaded twice (which they should not) or some other scenario, where the data on the server is newer than the client data.
This is a wild guess though.