org.artifactory.sapi.common.RepositoryRuntimeException: Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JFrog JIRA by Dror Bereznitsky, 1 year ago
Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'.
via JFrog JIRA by Dror Bereznitsky, 1 year ago
Could not set string 'maven-metadata.xml' on '/repositories/xxx/xxx/xxx/xxx/xxx/xxx/xxx-SNAPSHOT/artifactory:metadata'.
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.jackrabbit.ArtifactoryDataStore.convert(ArtifactoryDataStore.java:614)
at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:300)
at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:247)
at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124)
at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619)
at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369)
at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94)
at org.artifactory.jcr.JcrServiceImpl.setStream(JcrServiceImpl.java:764)
at org.artifactory.jcr.JcrServiceImpl.setString(JcrServiceImpl.java:710)
at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at undefined.$Proxy32.setString(Unknown Source)
at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.setXml(AbstractXmlContentPersistenceHandler.java:83)
at org.artifactory.jcr.md.AbstractXmlContentPersistenceHandler.update(AbstractXmlContentPersistenceHandler.java:164)
at org.artifactory.jcr.fs.JcrFsItem.setXmlMetadata(JcrFsItem.java:1180)
at org.artifactory.jcr.fs.JcrFsItem.saveDirtyState(JcrFsItem.java:142)
at org.artifactory.jcr.fs.JcrFolder.save(JcrFolder.java:214)
at org.artifactory.jcr.lock.SessionLockEntry.save(SessionLockEntry.java:136)
at org.artifactory.jcr.lock.InternalLockManager.save(InternalLockManager.java:142)
at org.artifactory.jcr.lock.SessionLockManager.onSessionSave(SessionLockManager.java:48)
at org.artifactory.tx.SessionResourceManagerImpl.onSessionSave(SessionResourceManagerImpl.java:60)
at org.artifactory.jcr.JcrSession.save(JcrSession.java:217)
at org.artifactory.jcr.JcrTransactionManager.beforeCommit(JcrTransactionManager.java:136)
at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:924)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198)
at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184)
at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.