org.artifactory.sapi.common.RepositoryRuntimeException

Failed to convert string to maven model

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via JFrog JIRA by Mirko Friedenhagen, 10 months ago
    Failed to convert string to maven model
  • via JFrog JIRA by Mirko Friedenhagen, 1 year ago
    Failed to convert string to maven model
  • 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'.
  • Stack trace

    • org.artifactory.sapi.common.RepositoryRuntimeException: Failed to convert string to maven model at org.artifactory.maven.MavenModelUtils.stringToMavenModel(MavenModelUtils.java:229)[artifactory-common-2.6.4.jar:na] at org.artifactory.maven.MavenPluginsMetadataCalculator.calculate(MavenPluginsMetadataCalculator.java:89)[artifactory-core-2.6.4.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenPluginsMetadataAsync(RepositoryServiceImpl.java:1636)[artifactory-core-2.6.4.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_32] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_32] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_32] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_32] 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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:320)[artifactory-core-2.6.4.jar:na] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[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.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198)[artifactory-core-2.6.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145)[artifactory-core-2.6.4.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_32] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_32] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)[artifactory-jcr-storage-2.6.4.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_32] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_32] at java.lang.Thread.run(Thread.java:680)[na:1.6.0_32] Caused by: java.io.EOFException: input contained no data at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:3005)[plexus-utils-2.0.5.jar:na] at org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3048)[plexus-utils-2.0.5.jar:na] at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1422)[plexus-utils-2.0.5.jar:na] at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407)[plexus-utils-2.0.5.jar:na] at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)[plexus-utils-2.0.5.jar:na] at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3911)[maven-model-2.2.1.jar:2.2.1] at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3926)[maven-model-2.2.1.jar:2.2.1] at org.artifactory.maven.MavenModelUtils.stringToMavenModel(MavenModelUtils.java:227)[artifactory-common-2.6.4.jar:na] ... 20 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago