org.artifactory.sapi.common.RepositoryRuntimeException: Failed to convert string to maven model

JFrog JIRA | Mirko Friedenhagen | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    * I had deployed one SNAPSHOT version of a maven plugin to the local libs-snapshot-local repository. * I have searched for all artifacts of this version, saved the search ("Use Version-level artifacts" was checked) and decided to delete it. * Afterwards the following exception showed up in {{artifactory.log}} {code} 2012-09-15 22:06:54,677 [art-exec-35] [ERROR] (o.a.r.s.RepositoryServiceImpl:1638) - Failed to calculate plugin maven metadata on repo 'libs-snapshot-local': 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 common frames omitted {code}

    JFrog JIRA | 5 years ago | Mirko Friedenhagen
    org.artifactory.sapi.common.RepositoryRuntimeException: Failed to convert string to maven model
  2. 0

    * I had deployed one SNAPSHOT version of a maven plugin to the local libs-snapshot-local repository. * I have searched for all artifacts of this version, saved the search ("Use Version-level artifacts" was checked) and decided to delete it. * Afterwards the following exception showed up in {{artifactory.log}} {code} 2012-09-15 22:06:54,677 [art-exec-35] [ERROR] (o.a.r.s.RepositoryServiceImpl:1638) - Failed to calculate plugin maven metadata on repo 'libs-snapshot-local': 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 common frames omitted {code}

    JFrog JIRA | 5 years ago | Mirko Friedenhagen
    org.artifactory.sapi.common.RepositoryRuntimeException: Failed to convert string to maven model
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. java.io.EOFException

    input contained no data

    at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf()
  2. Plexus Common Utilities
    MXParser.next
    1. org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:3005)[plexus-utils-2.0.5.jar:na]
    2. org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3048)[plexus-utils-2.0.5.jar:na]
    3. org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1422)[plexus-utils-2.0.5.jar:na]
    4. org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407)[plexus-utils-2.0.5.jar:na]
    5. org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)[plexus-utils-2.0.5.jar:na]
    5 frames
  3. Maven
    MavenXpp3Reader.read
    1. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3911)[maven-model-2.2.1.jar:2.2.1]
    2. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3926)[maven-model-2.2.1.jar:2.2.1]
    2 frames
  4. org.artifactory.maven
    MavenPluginsMetadataCalculator.calculate
    1. org.artifactory.maven.MavenModelUtils.stringToMavenModel(MavenModelUtils.java:227)[artifactory-common-2.6.4.jar:na]
    2. org.artifactory.maven.MavenPluginsMetadataCalculator.calculate(MavenPluginsMetadataCalculator.java:89)[artifactory-core-2.6.4.jar:na]
    2 frames
  5. org.artifactory.repo
    RepositoryServiceImpl.calculateMavenPluginsMetadataAsync
    1. org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenPluginsMetadataAsync(RepositoryServiceImpl.java:1636)[artifactory-core-2.6.4.jar:na]
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_32]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_32]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_32]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_32]
    4 frames
  7. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    3 frames
  8. org.artifactory.schedule
    AsyncAdvice$TraceableMethodInvocation.proceed
    1. org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:320)[artifactory-core-2.6.4.jar:na]
    1 frame
  9. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    1 frame
  10. org.artifactory.jcr
    LockingAdvice.invoke
    1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)[artifactory-jcr-storage-2.6.4.jar:na]
    1 frame
  11. org.artifactory.schedule
    AsyncAdvice$1.call
    1. org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198)[artifactory-core-2.6.4.jar:na]
    2. org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145)[artifactory-core-2.6.4.jar:na]
    2 frames
  12. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_32]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_32]
    2 frames
  13. org.artifactory.schedule
    ArtifactoryConcurrentExecutor$RunnableWrapper.run
    1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)[artifactory-jcr-storage-2.6.4.jar:na]
    1 frame
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_32]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_32]
    3. java.lang.Thread.run(Thread.java:680)[na:1.6.0_32]
    3 frames