org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) .

JFrog JIRA | David Rautureau | 7 years ago
  1. 0

    I'm facing the following issue when trying to get the maven-clean-plugin:2.4 from an Artifactory that serves 0 artifacts. using artifactory in standalone with storage filesystem-mysql everything is working fine when I'm not using artifactory (getting artifacts directly from repo1) 2010-02-03 15:13:31,599 [btpool0-1] [ERROR] (o.a.r.v.i.PomInterceptor:59) - Failed to transform pom file org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) . at org.artifactory.maven.MavenModelUtils.validatePomTargetPath(MavenModelUtils.java:115) [artifactory-common-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:548) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:506) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:150) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:421) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:243) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:358) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1188) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy21.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:314) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1224) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy21.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:89) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:56) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:375) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:112) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:480) [artifactory-core-2.1.3.jar:na] at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:150) [artifactory-core-2.1.3.jar:na] at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy37.getInfo(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:236) [artifactory-core-2.1.3.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:119) [artifactory-core-2.1.3.jar:na] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy37.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:174) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:115) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.Server.handle(Server.java:326) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) [jetty-6.1.22.jar:6.1.22] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) [jetty-6.1.22.jar:6.1.22] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) [jetty-util-6.1.22.jar:6.1.22] any idea?

    JFrog JIRA | 7 years ago | David Rautureau
    org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) .
  2. 0

    I'm facing the following issue when trying to get the maven-clean-plugin:2.4 from an Artifactory that serves 0 artifacts. using artifactory in standalone with storage filesystem-mysql everything is working fine when I'm not using artifactory (getting artifacts directly from repo1) 2010-02-03 15:13:31,599 [btpool0-1] [ERROR] (o.a.r.v.i.PomInterceptor:59) - Failed to transform pom file org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) . at org.artifactory.maven.MavenModelUtils.validatePomTargetPath(MavenModelUtils.java:115) [artifactory-common-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:548) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:506) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:150) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:421) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:243) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:358) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1188) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy21.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:314) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1224) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy21.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:89) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:56) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:375) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:112) [artifactory-core-2.1.3.jar:na] at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:480) [artifactory-core-2.1.3.jar:na] at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:150) [artifactory-core-2.1.3.jar:na] at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.3.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy37.getInfo(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:236) [artifactory-core-2.1.3.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:119) [artifactory-core-2.1.3.jar:na] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66) [artifactory-core-2.1.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy37.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:174) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:115) [artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54) [artifactory-web-application-2.1.3.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.Server.handle(Server.java:326) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) [jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) [jetty-6.1.22.jar:6.1.22] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) [jetty-6.1.22.jar:6.1.22] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) [jetty-util-6.1.22.jar:6.1.22] any idea?

    JFrog JIRA | 7 years ago | David Rautureau
    org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) .

    Root Cause Analysis

    1. org.artifactory.api.repo.exception.maven.BadPomException

      Failed to read POM for 'org/apache/maven/maven-parent/5/maven-parent-5.pom': only whitespace content allowed before start tag and not \u1f (position: START_DOCUMENT seen \u1f... @1:1) .

      at org.artifactory.maven.MavenModelUtils.validatePomTargetPath()
    2. org.artifactory.maven
      MavenModelUtils.validatePomTargetPath
      1. org.artifactory.maven.MavenModelUtils.validatePomTargetPath(MavenModelUtils.java:115)[artifactory-common-2.1.3.jar:na]
      1 frame
    3. org.artifactory.jcr
      JcrFile.fillData
      1. org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:548)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:506)[artifactory-core-2.1.3.jar:na]
      3. org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:150)[artifactory-core-2.1.3.jar:na]
      3 frames
    4. org.artifactory.repo
      RepositoryServiceImpl.downloadAndSave
      1. org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:421)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:243)[artifactory-core-2.1.3.jar:na]
      3. org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:358)[artifactory-core-2.1.3.jar:na]
      4. org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1188)[artifactory-core-2.1.3.jar:na]
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_11]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_11]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_11]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_11]
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6]
      3 frames
    7. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.3.jar:na]
      2 frames
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    9. Unknown
      $Proxy21.downloadAndSave
      1. $Proxy21.downloadAndSave(Unknown Source)[na:na]
      1 frame
    10. org.artifactory.repo
      RepositoryServiceImpl.getResourceStreamHandle
      1. org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:314)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1224)[artifactory-core-2.1.3.jar:na]
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_11]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_11]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_11]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_11]
      4 frames
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6]
      3 frames
    13. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.3.jar:na]
      2 frames
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    15. Unknown
      $Proxy21.getResourceStreamHandle
      1. $Proxy21.getResourceStreamHandle(Unknown Source)[na:na]
      1 frame
    16. org.artifactory.repo
      VirtualRepo.getInfo
      1. org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:89)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:56)[artifactory-core-2.1.3.jar:na]
      3. org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:375)[artifactory-core-2.1.3.jar:na]
      4. org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:112)[artifactory-core-2.1.3.jar:na]
      5. org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:480)[artifactory-core-2.1.3.jar:na]
      5 frames
    17. org.artifactory.engine
      DownloadServiceImpl.getInfo
      1. org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:150)[artifactory-core-2.1.3.jar:na]
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_11]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_11]
      3 frames
    19. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6]
      3 frames
    20. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.6.jar:2.5.6]
      1 frame
    21. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.3.jar:na]
      2 frames
    22. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    23. Unknown
      $Proxy37.getInfo
      1. $Proxy37.getInfo(Unknown Source)[na:na]
      1 frame
    24. org.artifactory.engine
      DownloadServiceImpl.process
      1. org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:236)[artifactory-core-2.1.3.jar:na]
      2. org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:119)[artifactory-core-2.1.3.jar:na]
      2 frames
    25. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_11]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_11]
      3 frames
    26. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6]
      3 frames
    27. org.artifactory.request
      RequestAdvice.invoke
      1. org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66)[artifactory-core-2.1.3.jar:na]
      1 frame
    28. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    29. Unknown
      $Proxy37.process
      1. $Proxy37.process(Unknown Source)[na:na]
      1 frame
    30. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112)[artifactory-web-application-2.1.3.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.1.3.jar:na]
      2 frames
    31. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22]
      1 frame
    32. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)[artifactory-web-application-2.1.3.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:174)[artifactory-web-application-2.1.3.jar:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:115)[artifactory-web-application-2.1.3.jar:na]
      4. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)[artifactory-web-application-2.1.3.jar:na]
      4 frames
    33. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22]
      1 frame
    34. org.artifactory.webapp
      RequestFilter.doFilter
      1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.1.3.jar:na]
      1 frame
    35. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22]
      1 frame
    36. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)[artifactory-web-application-2.1.3.jar:na]
      1 frame
    37. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22]
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)[jetty-6.1.22.jar:6.1.22]
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.22.jar:6.1.22]
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)[jetty-6.1.22.jar:6.1.22]
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)[jetty-6.1.22.jar:6.1.22]
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)[jetty-6.1.22.jar:6.1.22]
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.22.jar:6.1.22]
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.22.jar:6.1.22]
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.22.jar:6.1.22]
      10. org.mortbay.jetty.Server.handle(Server.java:326)[jetty-6.1.22.jar:6.1.22]
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)[jetty-6.1.22.jar:6.1.22]
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)[jetty-6.1.22.jar:6.1.22]
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)[jetty-6.1.22.jar:6.1.22]
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)[jetty-6.1.22.jar:6.1.22]
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)[jetty-6.1.22.jar:6.1.22]
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.22.jar:6.1.22]
      16 frames
    38. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.22.jar:6.1.22]
      1 frame