archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JeremieB <jeremie.bousq...@gmail.com>
Subject Issue with "Find Artifact" : 'Unable to find a value for "versions" in object'
Date Wed, 16 Dec 2009 17:14:17 GMT

Hello,

It seems "Find artifact" feature of Archiva is broken for me, and I don't
know why... I know it used to work, but don't know if it doesn't anymore
since migrated to Archiva 1.2.2, or if some artifacts are causing it to
fail.

Symptoms :
- in "Find artifact"
- select a jar file (browse to it) in "search for"
- checksum gets calculated and is correctly displayed in "checksum" field
- clicking on search result in an internal server error (500), with
following (truncated) stacktrace :

javax.servlet.ServletException: Unable to find a value for "versions" in
object of class "org.apache.maven.archiva.model.ArchivaArtifact" using
operator "."
	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)

org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)

com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)

root cause

org.apache.jasper.JasperException: Unable to find a value for "versions" in
object of class "org.apache.maven.archiva.model.ArchivaArtifact" using
operator "."

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
[...]
root cause

javax.servlet.ServletException: Unable to find a value for "versions" in
object of class "org.apache.maven.archiva.model.ArchivaArtifact" using
operator "."

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
[...]
root cause

javax.servlet.jsp.el.ELException: Unable to find a value for "versions" in
object of class "org.apache.maven.archiva.model.ArchivaArtifact" using
operator "."
	org.apache.commons.el.Logger.logError(Logger.java:481)
	org.apache.commons.el.Logger.logError(Logger.java:498)
	org.apache.commons.el.Logger.logError(Logger.java:611)
	org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
	org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)

org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)

org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)

org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:924)

org.apache.jsp.WEB_002dINF.jsp.results_jsp._jspx_meth_archiva_005fshowArtifactLink_005f1(results_jsp.java:4215)

org.apache.jsp.WEB_002dINF.jsp.results_jsp._jspx_meth_c_005fwhen_005f13(results_jsp.java:4173)

org.apache.jsp.WEB_002dINF.jsp.results_jsp._jspx_meth_c_005fchoose_005f12(results_jsp.java:4131)

org.apache.jsp.WEB_002dINF.jsp.results_jsp._jspx_meth_c_005fforEach_005f2(results_jsp.java:4095)
[...]

I can provide full stack trace if needed.
Is it an Archiva issue ? If not, how can I investigate on my side ? (I have
a large number of artifacts in my repositories ...)

I'm using Archiva 1.2.2 on Linux RH4. I tried with different files as input,
still the same.

Thanks & regards,
Jeremie
-- 
View this message in context: http://old.nabble.com/Issue-with-%22Find-Artifact%22-%3A-%27Unable-to-find-a-value-for-%22versions%22-in-object%27-tp26814827p26814827.html
Sent from the archiva-users mailing list archive at Nabble.com.


Mime
View raw message