AnsweredAssumed Answered

Version History Problem

Question asked by andreadegaetano on Nov 7, 2008
Latest reply on Nov 10, 2008 by andreadegaetano
Hi ,
    I'm new to Alfresco.
I have installed Alfresco (file: Alfresco-Labs-3b-Linux-x86-Install ) on a Linux Centos 4 with Java6 (jdk-6u10-linux-i586-rpm.bin).
I have got some error with office plugin and with the webpage.

When from the webpage  I try to go on "Details" of a Document and then click on "Version History" I got this error:

javax.faces.FacesException: Exception in JSP: /jsp/dialog/container.jsp:191

188:
189: <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
190: <f:subview id="dialog-body">
191: <jsp:include page="<%=Application.getDialogManager().getPage() %>" />
192: </f:subview>
193: <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
194: </td>


Stacktrace:
caused by:
org.apache.jasper.JasperException: Exception in JSP: /jsp/dialog/container.jsp:191

188:
189: <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
190: <f:subview id="dialog-body">
191: <jsp:include page="<%=Application.getDialogManager().getPage() %>" />
192: </f:subview>
193: <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
194: </td>


Stacktrace:
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{DialogManager.bean.versionHistory}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{DialogManager.bean.versionHistory}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property versionHistory of base of type : org.alfresco.web.bean.content.DocumentDetailsDialog
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.content.DocumentDetailsDialog, property: versionHistory
caused by:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.ClassCastException: org.alfresco.service.cmr.repository.MLText cannot be cast to java.lang.String


and in details:


javax.faces.FacesException: Exception in JSP: /jsp/dialog/container.jsp:191

188:
189: <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
190: <f:subview id="dialog-body">
191: <jsp:include page="<%=Application.getDialogManager().getPage() %>" />
192: </f:subview>
193: <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
194: </td>


Stacktrace:
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.jasper.JasperException: Exception in JSP: /jsp/dialog/container.jsp:191

188:
189: <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
190: <f:subview id="dialog-body">
191: <jsp:include page="<%=Application.getDialogManager().getPage() %>" />
192: </f:subview>
193: <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
194: </td>


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
… 21 more


Any idea on how to make it works?
I have to install another version of java or another version of alfresco?
Thanks you

Outcomes