org.artifactory.sapi.common.RepositoryRuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 2013-01-28 10:54:06,471 [art-exec-2470] [ERROR] (o.a.j.c.u.d.ConnectionHelper:511) - Failed to execute SQL (stacktrace on DEBUG log level) com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 259) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332) [sqljdbc4.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:469) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:293) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:270) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:507) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:293) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] 2013-01-28 10:54:06,578 [art-exec-2470] [ERROR] (o.a.j.c.u.d.ConnectionHelper:511) - Failed to execute SQL (stacktrace on DEBUG log level) com.microsoft.sqlserver.jdbc.SQLServerException: The stream value is not the specified length. The specified length was 322, the actual length is 0. at com.microsoft.sqlserver.jdbc.TDSWriter.error(IOBuffer.java:3426) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSWriter.writeStream(IOBuffer.java:3348) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSWriter.writeRPCInputStream(IOBuffer.java:4514) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV$SendByRPCOp.execute(dtv.java:863) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV.executeOp(dtv.java:1074) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV.sendByRPC(dtv.java:1116) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.Parameter.sendByRPC(Parameter.java:660) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.sendParamsByRPC(SQLServerPreparedStatement.java:473) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doPrepExec(SQLServerPreparedStatement.java:628) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:400) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332) [sqljdbc4.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:469) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:293) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:270) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:507) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:293) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] 2013-01-28 10:54:06,579 [art-exec-2470] [WARN ] (o.a.j.j.ArtifactoryDataStore:609) - Cannot insert new record: The stream value is not the specified length. The specified length was 322, the actual length is 0. 2013-01-28 10:54:06,579 [art-exec-2470] [WARN ] (o.a.j.j.ArtifactoryDataStore:609) - Can not insert new record: Cannot insert new record 2013-01-28 10:54:06,583 [art-exec-2470] [ERROR] (o.a.s.a.AsyncAdvice :167) - Could not execute async method: 'public abstract void org.artifactory.repo.service.InternalRepositoryService.markForSaveOnCommit(org.artifactory.repo.RepoPath)'. org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'. at org.artifactory.jcr.JcrServiceImpl.throwSetException(JcrServiceImpl.java:1165) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:786) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] Caused by: org.apache.jackrabbit.core.data.DataStoreException: Cannot insert new record at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:614) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:300) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] ... 35 common frames omitted
    via by Dror Bereznitsky,
  • 2013-01-28 10:54:06,471 [art-exec-2470] [ERROR] (o.a.j.c.u.d.ConnectionHelper:511) - Failed to execute SQL (stacktrace on DEBUG log level) com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 259) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332) [sqljdbc4.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:469) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:293) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:270) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:507) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:293) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] 2013-01-28 10:54:06,578 [art-exec-2470] [ERROR] (o.a.j.c.u.d.ConnectionHelper:511) - Failed to execute SQL (stacktrace on DEBUG log level) com.microsoft.sqlserver.jdbc.SQLServerException: The stream value is not the specified length. The specified length was 322, the actual length is 0. at com.microsoft.sqlserver.jdbc.TDSWriter.error(IOBuffer.java:3426) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSWriter.writeStream(IOBuffer.java:3348) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSWriter.writeRPCInputStream(IOBuffer.java:4514) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV$SendByRPCOp.execute(dtv.java:863) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV.executeOp(dtv.java:1074) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.DTV.sendByRPC(dtv.java:1116) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.Parameter.sendByRPC(Parameter.java:660) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.sendParamsByRPC(SQLServerPreparedStatement.java:473) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doPrepExec(SQLServerPreparedStatement.java:628) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:400) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) [sqljdbc4.jar:na] at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332) [sqljdbc4.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) [commons-dbcp-1.4.jar:1.4] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:469) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:293) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:270) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$1.call(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:507) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:266) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:293) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] 2013-01-28 10:54:06,579 [art-exec-2470] [WARN ] (o.a.j.j.ArtifactoryDataStore:609) - Cannot insert new record: The stream value is not the specified length. The specified length was 322, the actual length is 0. 2013-01-28 10:54:06,579 [art-exec-2470] [WARN ] (o.a.j.j.ArtifactoryDataStore:609) - Can not insert new record: Cannot insert new record 2013-01-28 10:54:06,583 [art-exec-2470] [ERROR] (o.a.s.a.AsyncAdvice :167) - Could not execute async method: 'public abstract void org.artifactory.repo.service.InternalRepositoryService.markForSaveOnCommit(org.artifactory.repo.RepoPath)'. org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'. at org.artifactory.jcr.JcrServiceImpl.throwSetException(JcrServiceImpl.java:1165) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:786) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710) [artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source) [na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136) [artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184) [artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145) [artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91) [artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_21] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] Caused by: org.apache.jackrabbit.core.data.DataStoreException: Cannot insert new record at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:614) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:300) [artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247) [artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764) [artifactory-jcr-storage-2.6.6.jar:na] ... 35 common frames omitted
    via by Dror Bereznitsky,
  • In this case the insert failed due to null connection in the prepared statement: {code} 2012-03-01 10:40:00,733 ["ajp-bio-backip/10.68.63.122-8067"-exec-16799] [WARN ] (o.a.j.j.ArtifactoryDataStore:624) - Can not insert new recordorg.artifactory.sapi.common.RepositoryRuntimeException: Cannot insert new record ArtifactoryDbDataRecord{id=906f8e46250e7ca4d6dcab15edc388e43720e93c, length=311020, lastModified=Thu Mar 01 02:29:03 UTC 2012, lastAccessTime=-9223372036854775808, state=IN_ERROR, readyToMarkForDeletion=false, readyToBeRemoved=false, nbReader=0} since the old one is in invalid state at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$8.call(ArtifactoryDbDataRecord.java:462) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$8.call(ArtifactoryDbDataRecord.java:1) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.concurrent.ConcurrentStateManager.changeStateIn(ConcurrentStateManager.java:54) [artifactory-common-2.5.1.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.needsReinsert(ArtifactoryDbDataRecord.java:455) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:221) [artifactory-jcr-storage-2.5.1.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:584) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:516) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:144) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.fillJcrFileData(StoringRepoMixin.java:770) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:613) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:409) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:506) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1655) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:123) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2441.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:411) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1694) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2441.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.respondFoundResource(DownloadServiceImpl.java:248) [artifactory-core-2.5.1.jar:na] at org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:218) [artifactory-core-2.5.1.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:162) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68) [artifactory-core-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2461.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.doDownload(RepoFilter.java:195) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:128) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-2.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:185) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:147) [artifactory-web-application-2.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55) [artifactory-web-application-2.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:68) [artifactory-web-application-2.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) [catalina.jar:7.0.14] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:303) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169) [tomcat-coyote.jar:7.0.14] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311) [tomcat-coyote.jar:7.0.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_01] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_01] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_01] Caused by: org.apache.jackrabbit.core.data.DataStoreException: Cannot insert new record at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:631) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:285) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:232) [artifactory-jcr-storage-2.5.1.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:584) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:516) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:144) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.fillJcrFileData(StoringRepoMixin.java:770) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:613) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:409) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:506) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1655) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:123) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2441.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:411) [artifactory-core-2.5.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1694) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.5.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2441.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.respondFoundResource(DownloadServiceImpl.java:248) [artifactory-core-2.5.1.jar:na] at org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:218) [artifactory-core-2.5.1.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:162) [artifactory-core-2.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_01] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_01] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68) [artifactory-core-2.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy2461.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.doDownload(RepoFilter.java:195) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:128) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-2.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:252) [artifactory-web-application-2.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:181) [artifactory-web-application-2.5.1.jar:na] ... 23 common frames omitted Caused by: java.lang.NullPointerException: null at com.mysql.jdbc.StatementImpl.setMaxRows(StatementImpl.java:2658) [mysql-connector-java-5.1.18.jar:na] at org.apache.commons.dbcp.DelegatingStatement.setMaxRows(DelegatingStatement.java:240) [commons-dbcp-1.2.2.jar:1.2.2] at org.apache.commons.dbcp.DelegatingStatement.setMaxRows(DelegatingStatement.java:240) [commons-dbcp-1.2.2.jar:1.2.2] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:366) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:348) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:344) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:488) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:344) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.util.db.ArtifactoryConnectionHelper.select(ArtifactoryConnectionHelper.java:64) [artifactory-jcr-storage-2.5.1.jar:2.2.8b] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:266) [artifactory-jcr-storage-2.5.1.jar:na] {code}
    via by Yoav Landman,
    • org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'. at org.artifactory.jcr.JcrServiceImpl.throwSetException(JcrServiceImpl.java:1165)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:786)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710)[artifactory-jcr-storage-2.6.6.jar:na] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy32.setString(Unknown Source)[na:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrSession.save(JcrSession.java:217)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136)[artifactory-jcr-storage-2.6.6.jar:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198)[artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)[artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184)[artifactory-core-2.6.6.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145)[artifactory-core-2.6.6.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_21] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91)[artifactory-jcr-storage-2.6.6.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_21] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_21] Caused by: org.apache.jackrabbit.core.data.DataStoreException: Cannot insert new record at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:614)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:300)[artifactory-jcr-storage-2.6.6.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247)[artifactory-jcr-storage-2.6.6.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124)[jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619)[jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369)[jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94)[jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74)[jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e] at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764)[artifactory-jcr-storage-2.6.6.jar:na] ... 35 more
    No Bugmate found.