archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nerderman,Adam" <nerde...@oclc.org>
Subject Re: Error viewing Artifacts tab
Date Mon, 08 Sep 2014 13:08:53 GMT
I do see that now. I can’t see how this would have been copied from a local Maven repository
at all.

In fact, if I remove the file and then try to view the artifacts tab again it recreates the
file.

resolver-status.properties:


#NOTE: This is an internal implementation file, its format can be changed without prior notice.

#Mon Sep 08 09:05:56 EDT 2014

maven-metadata-sonatype-snapshots.xml.lastUpdated=1410181556245

From: Deng Ching-Mallete <oching@apache.org<mailto:oching@apache.org>>
Date: Monday, September 8, 2014 at 6:22 AM
To: "users@archiva.apache.org<mailto:users@archiva.apache.org>" <users@archiva.apache.org<mailto:users@archiva.apache.org>>
Cc: "Nerderman,Adam" <nerderma@oclc.org<mailto:nerderma@oclc.org>>, Janet Bickle
<bickle@oclc.org<mailto:bickle@oclc.org>>, "Graham,Bill" <grahamb@oclc.org<mailto:grahamb@oclc.org>>
Subject: Re: Error viewing Artifacts tab

Hi Adam,

It seems you have a resolver-status.properties file in your Archiva repository based on this
log:

Caused by: java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository,
filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

Was your artifact copied from a local Maven repository and copied to the managed repository?

Thanks,
Deng


On Sat, Sep 6, 2014 at 2:49 AM, Nerderman,Adam <nerderma@oclc.org<mailto:nerderma@oclc.org>>
wrote:
When I try to view the Artifacts tab we see the UI display: An error has happened you must
contact the administrator to check the logs

Then in the logs I see:


2014-09-05 14:37:51,865 [qtp871962456-2360] WARN  org.apache.cxf.phase.PhaseInterceptorChain
[] - Application {http://services.rest.archiva.apache.org/}DefaultPingService has thrown exception,
unwinding now

org.apache.cxf.interceptor.Fault: Not a valid artifact path in a Maven 2 repository, filename
'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

        at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:165) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:89) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:239)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:213)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:131)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:266)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:191)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [javax.servlet-3.0.0.v201112011016.jar:?]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:242)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]

Caused by: java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository,
filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator.getArtifactFromId(Maven2RepositoryPathTranslator.java:191)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.getArtifactFromFile(Maven2RepositoryStorage.java:634)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.readArtifactsMetadata(Maven2RepositoryStorage.java:611)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.DefaultMetadataResolver.resolveArtifacts(DefaultMetadataResolver.java:379)
~[metadata-repository-api-2.0.1.jar:2.0.1]

        at org.apache.archiva.rest.services.DefaultBrowseService.getArtifactDownloadInfos(DefaultBrowseService.java:689)
~[archiva-rest-services-2.0.1.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_45]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.7.0_45]

        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]

        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        ... 43 more

2014-09-05 14:37:51,867 [qtp871962456-2360] WARN  org.apache.cxf.phase.PhaseInterceptorChain
[] - Exception in handleFault on interceptor org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@2289e370

org.apache.cxf.interceptor.Fault: Not a valid artifact path in a Maven 2 repository, filename
'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

        at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:165) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:89) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:239)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:213)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:131)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:266)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:191)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [javax.servlet-3.0.0.v201112011016.jar:?]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:242)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]

Caused by: java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository,
filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator.getArtifactFromId(Maven2RepositoryPathTranslator.java:191)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.getArtifactFromFile(Maven2RepositoryStorage.java:634)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.readArtifactsMetadata(Maven2RepositoryStorage.java:611)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.DefaultMetadataResolver.resolveArtifacts(DefaultMetadataResolver.java:379)
~[metadata-repository-api-2.0.1.jar:2.0.1]

        at org.apache.archiva.rest.services.DefaultBrowseService.getArtifactDownloadInfos(DefaultBrowseService.java:689)
~[archiva-rest-services-2.0.1.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_45]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.7.0_45]

        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]

        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        ... 43 more

2014-09-05 14:37:51,868 [qtp871962456-2360] ERROR org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver
[] - Error occurred during error handling, give up!

org.apache.cxf.interceptor.Fault: Not a valid artifact path in a Maven 2 repository, filename
'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

       at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:165) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:89) ~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:239)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:213)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:131)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:266)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:191)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [javax.servlet-3.0.0.v201112011016.jar:?]

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:242)
[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
[jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
[jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]

        at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]

Caused by: java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository,
filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator.getArtifactFromId(Maven2RepositoryPathTranslator.java:191)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.getArtifactFromFile(Maven2RepositoryStorage.java:634)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.readArtifactsMetadata(Maven2RepositoryStorage.java:611)
~[maven2-repository-2.0.1.jar:?]

        at org.apache.archiva.metadata.repository.DefaultMetadataResolver.resolveArtifacts(DefaultMetadataResolver.java:379)
~[metadata-repository-api-2.0.1.jar:2.0.1]

        at org.apache.archiva.rest.services.DefaultBrowseService.getArtifactDownloadInfos(DefaultBrowseService.java:689)
~[archiva-rest-services-2.0.1.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_45]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.7.0_45]

        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]

        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
~[cxf-bundle-jaxrs-2.6.13.jar:2.6.13]

        ... 43 more

This was done in Archiva 2.0.1 and reproduced in 2.1.1. It almost seems like it works fine
until a scan runs. Right now if I look at an artifact of the same format in a different repository
that hasn't been scanned it appears to show the artifacts fine.

It could also be related to being SNAPSHOT versions. I can't seem to produce the error for
a non-snapshot version of an artifact.




--
Maria Odea "Deng" Ching-Mallete | oching@apache.org<mailto:oching@apache.org> | http://www.linkedin.com/in/oching

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message