Error in log file... Datasource record not found

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in log file... Datasource record not found

Randall Fidler

Hello,

 

            I’m seeing record not found error in the Artifactory log file, any suggestions to resolve?  This is on v2.0.6 running on Ubuntu.

 

2009-08-11 15:08:05,740 [WARN ] (o.a.j.j.ArtifactoryDbDataStoreImpl:675) - Can n

ot read identifier 9146bf5c6b14cd21382b6ee595cfc94b7cec966f:Record not found: 91

46bf5c6b14cd21382b6ee595cfc94b7cec966f

2009-08-11 15:08:05,775 [WARN ] (o.a.j.c.v.BLOBInDataStore:94) - getLength for 9

146bf5c6b14cd21382b6ee595cfc94b7cec966f failed

org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not foun

d: 9146bf5c6b14cd21382b6ee595cfc94b7cec966f

        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(A

rtifactoryDbDataStoreImpl.java:547) [artifactory-update-2.0.6.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBIn

DataStore.java:136) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getLength(BLOBInData

Store.java:92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:1

92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:6

89) [jackrabbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:1

28) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifact

ory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:112) [artifactory-

core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:342)

 [artifactory-core-2.0.6.jar:na]

        at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) [na:na]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy19.getFsItem(Unknown Source) [na:na]

        at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRe

poBase.java:774) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.ja

va:327) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetLockedJcrFsItem(JcrRe

poBase.java:713) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFile(JcrRepoBase.jav

a:280) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:166) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

2009-08-11 15:08:06,030 [ERROR] (o.a.r.i.IndexerServiceImpl:192) - Saving index

files failed.

java.lang.RuntimeException: Failed to save index file for repo 'libs-releases-lo

cal'.

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:176) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed

 to create file node resource at '/repositories/libs-releases-local/.index/nexus

-maven-repository-index.zip'.

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:192) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:171) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:168) [artifactory-core-2.0.6.jar:na]

        ... 20 common frames omitted

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Unable

 to remove existing xml data 'org.apache.jackrabbit.core.NodeImpl@83cc5c'

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:356) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataSer

viceImpl.java:149) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy21.setXmlMetadata(Unknown Source) [na:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveBasicInfo(JcrFsItem.java:284) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveModifiedInfo(JcrFsItem.java:294)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:190) [artifactor

y-core-2.0.6.jar:na]

        ... 22 common frames omitted

Caused by: javax.jcr.ItemNotFoundException: 330112b7-1e26-464d-8bbc-4aa1dd8c3050

 

        at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager

.java:566) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)

[jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:638) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.removeChildNode(NodeImpl.java:603

) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:876)

 [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1060) [jackr

abbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:354) [artifactory-core-2.0.6.jar:na]

        ... 37 common frames omitted

 

Regards,

 

Randall


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in log file... Datasource record not found

Yoav Landman
Administrator
Randall,

Looks like the execption happened when the indexer was being saved. Do you keep seeing this error every time the indexer task runs?
Is it also reproducible in 2.0.7?

Yoav

On Wed, Aug 12, 2009 at 1:10 AM, Randall Fidler <[hidden email]> wrote:

Hello,

 

            I’m seeing record not found error in the Artifactory log file, any suggestions to resolve?  This is on v2.0.6 running on Ubuntu.

 

2009-08-11 15:08:05,740 [WARN ] (o.a.j.j.ArtifactoryDbDataStoreImpl:675) - Can n

ot read identifier 9146bf5c6b14cd21382b6ee595cfc94b7cec966f:Record not found: 91

46bf5c6b14cd21382b6ee595cfc94b7cec966f

2009-08-11 15:08:05,775 [WARN ] (o.a.j.c.v.BLOBInDataStore:94) - getLength for 9

146bf5c6b14cd21382b6ee595cfc94b7cec966f failed

org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not foun

d: 9146bf5c6b14cd21382b6ee595cfc94b7cec966f

        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(A

rtifactoryDbDataStoreImpl.java:547) [artifactory-update-2.0.6.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBIn

DataStore.java:136) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getLength(BLOBInData

Store.java:92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:1

92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:6

89) [jackrabbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:1

28) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifact

ory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:112) [artifactory-

core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:342)

 [artifactory-core-2.0.6.jar:na]

        at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) [na:na]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy19.getFsItem(Unknown Source) [na:na]

        at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRe

poBase.java:774) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.ja

va:327) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetLockedJcrFsItem(JcrRe

poBase.java:713) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFile(JcrRepoBase.jav

a:280) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:166) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

2009-08-11 15:08:06,030 [ERROR] (o.a.r.i.IndexerServiceImpl:192) - Saving index

files failed.

java.lang.RuntimeException: Failed to save index file for repo 'libs-releases-lo

cal'.

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:176) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed

 to create file node resource at '/repositories/libs-releases-local/.index/nexus

-maven-repository-index.zip'.

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:192) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:171) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:168) [artifactory-core-2.0.6.jar:na]

        ... 20 common frames omitted

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Unable

 to remove existing xml data 'org.apache.jackrabbit.core.NodeImpl@83cc5c'

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:356) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataSer

viceImpl.java:149) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy21.setXmlMetadata(Unknown Source) [na:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveBasicInfo(JcrFsItem.java:284) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveModifiedInfo(JcrFsItem.java:294)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:190) [artifactor

y-core-2.0.6.jar:na]

        ... 22 common frames omitted

Caused by: javax.jcr.ItemNotFoundException: 330112b7-1e26-464d-8bbc-4aa1dd8c3050

 

        at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager

.java:566) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)

[jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:638) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.removeChildNode(NodeImpl.java:603

) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:876)

 [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1060) [jackr

abbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:354) [artifactory-core-2.0.6.jar:na]

        ... 37 common frames omitted

 

Regards,

 

Randall


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in log file... Datasource record notfound

Randall Fidler

Yoav,

 

            I can give it a try with 2.0.7 but will try to gather a bit more information on 2.0.6 first.  How often does the indexer run?  Is it time based or event based?

 

Regards,

 

Randall

 


From: Yoav Landman [mailto:[hidden email]]
Sent: Wednesday, August 12, 2009 9:06 AM
To: [hidden email]
Subject: Re: [Artifactory-users] Error in log file... Datasource record notfound

 

Randall,

Looks like the execption happened when the indexer was being saved. Do you keep seeing this error every time the indexer task runs?
Is it also reproducible in 2.0.7?

Yoav

On Wed, Aug 12, 2009 at 1:10 AM, Randall Fidler <[hidden email]> wrote:

Hello,

 

            I’m seeing record not found error in the Artifactory log file, any suggestions to resolve?  This is on v2.0.6 running on Ubuntu.

 

2009-08-11 15:08:05,740 [WARN ] (o.a.j.j.ArtifactoryDbDataStoreImpl:675) - Can n

ot read identifier 9146bf5c6b14cd21382b6ee595cfc94b7cec966f:Record not found: 91

46bf5c6b14cd21382b6ee595cfc94b7cec966f

2009-08-11 15:08:05,775 [WARN ] (o.a.j.c.v.BLOBInDataStore:94) - getLength for 9

146bf5c6b14cd21382b6ee595cfc94b7cec966f failed

org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not foun

d: 9146bf5c6b14cd21382b6ee595cfc94b7cec966f

        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(A

rtifactoryDbDataStoreImpl.java:547) [artifactory-update-2.0.6.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBIn

DataStore.java:136) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getLength(BLOBInData

Store.java:92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:1

92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:6

89) [jackrabbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:1

28) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifact

ory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:112) [artifactory-

core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:342)

 [artifactory-core-2.0.6.jar:na]

        at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) [na:na]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy19.getFsItem(Unknown Source) [na:na]

        at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRe

poBase.java:774) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.ja

va:327) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetLockedJcrFsItem(JcrRe

poBase.java:713) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFile(JcrRepoBase.jav

a:280) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:166) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

2009-08-11 15:08:06,030 [ERROR] (o.a.r.i.IndexerServiceImpl:192) - Saving index

files failed.

java.lang.RuntimeException: Failed to save index file for repo 'libs-releases-lo

cal'.

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:176) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed

 to create file node resource at '/repositories/libs-releases-local/.index/nexus

-maven-repository-index.zip'.

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:192) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:171) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:168) [artifactory-core-2.0.6.jar:na]

        ... 20 common frames omitted

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Unable

 to remove existing xml data 'org.apache.jackrabbit.core.NodeImpl@83cc5c'

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:356) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataSer

viceImpl.java:149) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy21.setXmlMetadata(Unknown Source) [na:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveBasicInfo(JcrFsItem.java:284) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveModifiedInfo(JcrFsItem.java:294)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:190) [artifactor

y-core-2.0.6.jar:na]

        ... 22 common frames omitted

Caused by: javax.jcr.ItemNotFoundException: 330112b7-1e26-464d-8bbc-4aa1dd8c3050

 

        at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager

.java:566) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)

[jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:638) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.removeChildNode(NodeImpl.java:603

) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:876)

 [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1060) [jackr

abbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:354) [artifactory-core-2.0.6.jar:na]

        ... 37 common frames omitted

 

Regards,

 

Randall


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in log file... Datasource record notfound

Yoav  Landman
It is interval (cron) based, and can be configured under Admin->Services->Indexer. If you don't use it (it is used for generating offline indexes, downloadable by IDE integrations), you can leave the cron field blank and exclude all repositories.

Yoav
On Fri, Aug 14, 2009 at 5:00 PM, Randall Fidler <[hidden email]> wrote:

Yoav,

 

            I can give it a try with 2.0.7 but will try to gather a bit more information on 2.0.6 first.  How often does the indexer run?  Is it time based or event based?

 

Regards,

 

Randall

 


From: Yoav Landman [mailto:[hidden email]]
Sent: Wednesday, August 12, 2009 9:06 AM
To: [hidden email]
Subject: Re: [Artifactory-users] Error in log file... Datasource record notfound

 

Randall,

Looks like the execption happened when the indexer was being saved. Do you keep seeing this error every time the indexer task runs?
Is it also reproducible in 2.0.7?

Yoav

On Wed, Aug 12, 2009 at 1:10 AM, Randall Fidler <[hidden email]> wrote:

Hello,

 

            I’m seeing record not found error in the Artifactory log file, any suggestions to resolve?  This is on v2.0.6 running on Ubuntu.

 

2009-08-11 15:08:05,740 [WARN ] (o.a.j.j.ArtifactoryDbDataStoreImpl:675) - Can n

ot read identifier 9146bf5c6b14cd21382b6ee595cfc94b7cec966f:Record not found: 91

46bf5c6b14cd21382b6ee595cfc94b7cec966f

2009-08-11 15:08:05,775 [WARN ] (o.a.j.c.v.BLOBInDataStore:94) - getLength for 9

146bf5c6b14cd21382b6ee595cfc94b7cec966f failed

org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not foun

d: 9146bf5c6b14cd21382b6ee595cfc94b7cec966f

        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(A

rtifactoryDbDataStoreImpl.java:547) [artifactory-update-2.0.6.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBIn

DataStore.java:136) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.value.BLOBInDataStore.getLength(BLOBInData

Store.java:92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:1

92) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.PropertyImpl.getLength(PropertyImpl.java:6

89) [jackrabbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:1

28) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149) [artifact

ory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:112) [artifactory-

core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:342)

 [artifactory-core-2.0.6.jar:na]

        at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) [na:na]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy19.getFsItem(Unknown Source) [na:na]

        at org.artifactory.repo.jcr.JcrRepoBase$JcrFsItemLocator.getFsItem(JcrRe

poBase.java:774) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetFsItem(JcrRepoBase.ja

va:327) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.internalGetLockedJcrFsItem(JcrRe

poBase.java:713) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFile(JcrRepoBase.jav

a:280) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:166) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

2009-08-11 15:08:06,030 [ERROR] (o.a.r.i.IndexerServiceImpl:192) - Saving index

files failed.

java.lang.RuntimeException: Failed to save index file for repo 'libs-releases-lo

cal'.

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:176) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerS

erviceImpl.java:199) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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.in

voke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5]

        at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:78)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy26.saveIndexFiles(Unknown Source) [na:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:190) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExec

ute(IndexerServiceImpl.java:183) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.j

ava:42) [artifactory-core-2.0.6.jar:na]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.j

ar:1.6.3]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650) [na:1.5.0_15]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675) [na:1.5.0_15]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_15]

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Failed

 to create file node resource at '/repositories/libs-releases-local/.index/nexus

-maven-repository-index.zip'.

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:192) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:171) [artifactor

y-core-2.0.6.jar:na]

        at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexer

Data.java:168) [artifactory-core-2.0.6.jar:na]

        ... 20 common frames omitted

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Unable

 to remove existing xml data 'org.apache.jackrabbit.core.NodeImpl@83cc5c'

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:356) [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataSer

viceImpl.java:149) [artifactory-core-2.0.6.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0

_15]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39) [na:1.5.0_15]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25) [na:1.5.0_15]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_15]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(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:80)

[artifactory-core-2.0.6.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(JdkDynami

cAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5]

        at $Proxy21.setXmlMetadata(Unknown Source) [na:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveBasicInfo(JcrFsItem.java:284) [a

rtifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFsItem.saveModifiedInfo(JcrFsItem.java:294)

 [artifactory-core-2.0.6.jar:na]

        at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:190) [artifactor

y-core-2.0.6.jar:na]

        ... 22 common frames omitted

Caused by: javax.jcr.ItemNotFoundException: 330112b7-1e26-464d-8bbc-4aa1dd8c3050

 

        at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager

.java:566) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)

[jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:638) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:639) [jack

rabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.NodeImpl.removeChildNode(NodeImpl.java:603

) [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:876)

 [jackrabbit-core-1.4.9.jar:na]

        at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1060) [jackr

abbit-core-1.4.9.jar:na]

        at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(Met

adataServiceImpl.java:354) [artifactory-core-2.0.6.jar:na]

        ... 37 common frames omitted

 

Regards,

 

Randall


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users