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

JFrog JIRA | Yoav Landman | 5 years ago
  1. 0

    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}

    JFrog JIRA | 5 years ago | Yoav Landman
    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
  2. 0

    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}

    JFrog JIRA | 5 years ago | Yoav Landman
    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
  3. 0

    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

    JFrog JIRA | 4 years ago | Dror Bereznitsky
    org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    JFrog JIRA | 4 years ago | Dror Bereznitsky
    org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'.
  6. 0

    I cant delete a defected artifact from repo via Web UI or browse the tree that contains the defected artifact. Is there any way except WEB-UI to delete the defected artifact My Artifactory is runnning in JBoss 4.2 Container and under Unix/Solaris 10. Following exceptions have been thrown in log files: 20090513:160859.411 noroid INFO [STDOUT] - 2009-05-13 16:08:59,404 [WARN ] (o.a.j.j.ArtifactoryDbDataStoreImpl:660) - Can not read identifier 79aac2383280e70c4878 org.apache.jackrabbit.core.data.DataStoreException: Record not found: 79aac2383280e70c48782cdf6a934b3ce2b086ed at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(ArtifactoryDbDataStoreImpl.java:535) [artifactory-update-2.0.3.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:136) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:366) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:469) [jackrabbit-core-1.4.9.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getRawXmlStream(MetadataServiceImpl.java:434) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.writeRawXmlStream(MetadataServiceImpl.java:185) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadata(MetadataServiceImpl.java:130) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getMetadataValue(MetadataServiceImpl.java:328) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadataObject(MetadataServiceImpl.java:120) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy94.getXmlMetadataObject(Unknown Source) [na:na] at org.artifactory.jcr.fs.JcrFsItem.getXmlMetdataObject(JcrFsItem.java:215) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:133) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:110) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy91.getFsItem(Unknown Source) [na:na] at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRepoBase.java:772) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.java:327) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getJcrFsItem(JcrRepoBase.java:215) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.JcrServiceImpl.getChildren(JcrServiceImpl.java:367) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) [artifactory-core-2.0.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy91.getChildren(Unknown Source) [na:na] at org.artifactory.jcr.fs.JcrFolder.getItems(JcrFolder.java:102) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFolder.withEmptyChildren(JcrFolder.java:511) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getWithEmptyChildren(RepositoryServiceImpl.java:840) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) [artifactory-core-2.0.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy67.getWithEmptyChildren(Unknown Source) [na:na] at org.artifactory.webapp.actionable.model.FolderActionableItem.<init>(FolderActionableItem.java:80) [classes/:na] at org.artifactory.webapp.actionable.model.FolderActionableItem.getChildren(FolderActionableItem.java:173) [classes/:na] at org.artifactory.webapp.wicket.page.browse.treebrowser.BrowseRepoPanel.getChildren(BrowseRepoPanel.java:283) [classes/:na] at org.artifactory.webapp.wicket.common.component.tree.ActionableItemsTree.onJunctionLinkClicked(ActionableItemsTree.java:199) [classes/:na] at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$3.onClick(DefaultAbstractTree.java:417) [wicket-extensions-1.3.5.jar:1.3.5] at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$6.onClick(DefaultAbstractTree.java:489) [wicket-extensions-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:65) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) [wicket-1.3.5.jar:1.3.5] at org.apac 20090513:160859.412 noroid INFO [STDOUT] - he.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) [wicket-1.3.5.jar:1.3.5] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:51) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.RefreshContentFilter.doFilter(RefreshContentFilter.java:123) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:128) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.StrippedSessionIdFilter.doFilter(StrippedSessionIdFilter.java:35) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.Log4JMDCPropagationFilter.doFilter(Log4JMDCPropagationFilter.java:82) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2008071 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2008071 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:186) [jp-infra-jboss-server-patch.jar:4.2.3.GA_head] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [jp-infra-jboss-server-patch.jar:4.2.3.GA_head] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) [tmp11977jbossweb-service.jar:4.2.3.GA (build: SVNTag=JBoss_4_2 at com.winterthur.jackpot.tomcat.valves.AccessAndDumpLogValve.invoke(AccessAndDumpLogValve.java:119) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.SubjectDelegationCheckValve.invoke(SubjectDelegationCheckValve.java:146) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.ClusterFailureValve.invoke(ClusterFailureValve.java:134) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.ResetServernameValve.invoke(ResetServernameValve.java:88) [jp-infra-tomcat.jar:4.2.3.GA_head] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) at com.winterthur.jackpot.tomcat.valves.ErrorReportValve.invoke(ErrorReportValve.java:89) [jp-infra-tomcat.jar:4.2.3.GA_head] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07] 20090513:160859.422 noroid INFO [STDOUT] - 2009-05-13 16:08:59,416 [ERROR] (o.a.w.RequestCycle :1437) - Failed to read xml data 'artifactory-file-ext'. org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed to read xml data 'artifactory-file-ext'. at org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadata(MetadataServiceImpl.java:133) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getMetadataValue(MetadataServiceImpl.java:328) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadataObject(MetadataServiceImpl.java:120) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy94.getXmlMetadataObject(Unknown Source) [na:na] at org.artifactory.jcr.fs.JcrFsItem.getXmlMetdataObject(JcrFsItem.java:215) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:133) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:110) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy91.getFsItem(Unknown Source) [na:na] at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRepoBase.java:772) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.java:327) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getJcrFsItem(JcrRepoBase.java:215) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.JcrServiceImpl.getChildren(JcrServiceImpl.java:367) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) [artifactory-core-2.0.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy91.getChildren(Unknown Source) [na:na] at org.artifactory.jcr.fs.JcrFolder.getItems(JcrFolder.java:102) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.fs.JcrFolder.withEmptyChildren(JcrFolder.java:511) [artifactory-core-2.0.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getWithEmptyChildren(RepositoryServiceImpl.java:840) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) [artifactory-core-2.0.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy67.getWithEmptyChildren(Unknown Source) [na:na] at org.artifactory.webapp.actionable.model.FolderActionableItem.<init>(FolderActionableItem.java:80) [classes/:na] at org.artifactory.webapp.actionable.model.FolderActionableItem.getChildren(FolderActionableItem.java:173) [classes/:na] at org.artifactory.webapp.wicket.page.browse.treebrowser.BrowseRepoPanel.getChildren(BrowseRepoPanel.java:283) [classes/:na] at org.artifactory.webapp.wicket.common.component.tree.ActionableItemsTree.onJunctionLinkClicked(ActionableItemsTree.java:199) [classes/:na] at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$3.onClick(DefaultAbstractTree.java:417) [wicket-extensions-1.3.5.jar:1.3.5] at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$6.onClick(DefaultAbstractTree.java:489) [wicket-extensions-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:65) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) [wicket-1.3.5.jar:1.3.5] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh 20090513:160859.423 noroid INFO [STDOUT] - ain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:51) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.RefreshContentFilter.doFilter(RefreshContentFilter.java:123) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:128) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.StrippedSessionIdFilter.doFilter(StrippedSessionIdFilter.java:35) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at com.winterthur.jackpot.servlet.util.Log4JMDCPropagationFilter.doFilter(Log4JMDCPropagationFilter.java:82) [jp-infra-servlet.jar:4.2.3.GA_head] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_G at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2008071 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=2008071 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:186) [jp-infra-jboss-server-patch.jar:4.2.3.GA_head] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [jp-infra-jboss-server-patch.jar:4.2.3.GA_head] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) [tmp11977jbossweb-service.jar:4.2.3.GA (build: SVNTag=JBoss_4_2 at com.winterthur.jackpot.tomcat.valves.AccessAndDumpLogValve.invoke(AccessAndDumpLogValve.java:119) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.SubjectDelegationCheckValve.invoke(SubjectDelegationCheckValve.java:146) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.ClusterFailureValve.invoke(ClusterFailureValve.java:134) [jp-infra-tomcat.jar:4.2.3.GA_head] at com.winterthur.jackpot.tomcat.valves.ResetServernameValve.invoke(ResetServernameValve.java:88) [jp-infra-tomcat.jar:4.2.3.GA_head] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) at com.winterthur.jackpot.tomcat.valves.ErrorReportValve.invoke(ErrorReportValve.java:89) [jp-infra-tomcat.jar:4.2.3.GA_head] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) [tmp11978jbossweb.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07] Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed to read xml metadata stream. at org.artifactory.jcr.md.MetadataServiceImpl.writeRawXmlStream(MetadataServiceImpl.java:190) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadata(MetadataServiceImpl.java:130) [artifactory-core-2.0.3.jar:na] ... 108 common frames omitted Caused by: org.apache.jackrabbit.core.data.DataStoreException: Record not found: 79aac2383280e70c48782cdf6a934b3ce2b086ed at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(ArtifactoryDbDataStoreImpl.java:535) [artifactory-update-2.0.3.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:136) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:366) [jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:469) [jackrabbit-core-1.4.9.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.getRawXmlStream(MetadataServiceImpl.java:434) [artifactory-core-2.0.3.jar:na] at org.artifactory.jcr.md.MetadataServiceImpl.writeRawXmlStream(MetadataServiceImpl.java:185) [artifactory-core-2.0.3.jar:na] ... 109 common frames omitted

    JFrog JIRA | 8 years ago | Danar Barzanji
    org.apache.jackrabbit.core.data.DataStoreException: Record not found: 79aac2383280e70c48782cdf6a934b3ce2b086ed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.jackrabbit.core.data.DataStoreException

      Cannot insert new record

      at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert()
    2. org.artifactory.jcr
      ArtifactoryDataStore.addRecord
      1. org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:631)[artifactory-jcr-storage-2.5.1.jar:na]
      2. org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:285)[artifactory-jcr-storage-2.5.1.jar:na]
      3. org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:232)[artifactory-jcr-storage-2.5.1.jar:na]
      3 frames
    3. Jackrabbit Core
      ValueFactoryImpl.createBinary
      1. org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      2. org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      3. org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      4. org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      5. org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      5 frames
    4. org.artifactory.jcr
      JcrFile.fillData
      1. org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:584)[artifactory-jcr-storage-2.5.1.jar:na]
      2. org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:516)[artifactory-jcr-storage-2.5.1.jar:na]
      3. org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:144)[artifactory-jcr-storage-2.5.1.jar:na]
      3 frames
    5. org.artifactory.repo
      RepositoryServiceImpl.downloadAndSave
      1. org.artifactory.repo.jcr.StoringRepoMixin.fillJcrFileData(StoringRepoMixin.java:770)[artifactory-core-2.5.1.jar:na]
      2. org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:613)[artifactory-core-2.5.1.jar:na]
      3. org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:409)[artifactory-core-2.5.1.jar:na]
      4. org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:506)[artifactory-core-2.5.1.jar:na]
      5. org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1655)[artifactory-core-2.5.1.jar:na]
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_01]
      3. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_01]
      3 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3 frames
    8. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:123)[artifactory-jcr-storage-2.5.1.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49)[artifactory-jcr-storage-2.5.1.jar:na]
      2 frames
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2 frames
    10. Unknown
      $Proxy2441.downloadAndSave
      1. $Proxy2441.downloadAndSave(Unknown Source)[na:na]
      1 frame
    11. org.artifactory.repo
      RepositoryServiceImpl.getResourceStreamHandle
      1. org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:411)[artifactory-core-2.5.1.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1694)[artifactory-core-2.5.1.jar:na]
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_01]
      3. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_01]
      3 frames
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3 frames
    14. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      1 frame
    15. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)[artifactory-jcr-storage-2.5.1.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49)[artifactory-jcr-storage-2.5.1.jar:na]
      2 frames
    16. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2 frames
    17. Unknown
      $Proxy2441.getResourceStreamHandle
      1. $Proxy2441.getResourceStreamHandle(Unknown Source)[na:na]
      1 frame
    18. org.artifactory.engine
      DownloadServiceImpl.process
      1. org.artifactory.engine.DownloadServiceImpl.respondFoundResource(DownloadServiceImpl.java:248)[artifactory-core-2.5.1.jar:na]
      2. org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:218)[artifactory-core-2.5.1.jar:na]
      3. org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:162)[artifactory-core-2.5.1.jar:na]
      3 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_01]
      3. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_01]
      3 frames
    20. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3 frames
    21. org.artifactory.request
      RequestAdvice.invoke
      1. org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68)[artifactory-core-2.5.1.jar:na]
      1 frame
    22. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2 frames
    23. Unknown
      $Proxy2461.process
      1. $Proxy2461.process(Unknown Source)[na:na]
      1 frame
    24. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doDownload(RepoFilter.java:195)[artifactory-web-application-2.5.1.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:128)[artifactory-web-application-2.5.1.jar:na]
      3. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85)[artifactory-web-application-2.5.1.jar:na]
      3 frames
    25. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      2 frames
    26. org.artifactory.webapp
      AccessFilter.useAnonymousIfPossible
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276)[artifactory-web-application-2.5.1.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:252)[artifactory-web-application-2.5.1.jar:na]
      2 frames