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) .

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

Solutions on the web

via JFrog JIRA by David Rautureau, 1 year ago
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) .
via JFrog JIRA by David Rautureau, 1 year ago
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) .
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)
at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:548)
at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:506)
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:150)
at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:421)
at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:243)
at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:358)
at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:314)
at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:89)
at org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:56)
at org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:375)
at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:112)
at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:480)
at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:150)
at sun.reflect.GeneratedMethodAccessor65.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy37.getInfo(Unknown Source)
at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:236)
at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:119)
at sun.reflect.GeneratedMethodAccessor64.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy37.process(Unknown Source)
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112)
at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)
at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)
at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:174)
at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:115)
at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)
at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

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.

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