[opencms-dev] Problems with History- OpenCms 7.03

Gaith Bader gaithb at cse.unsw.edu.au
Mon Jan 7 05:24:38 CET 2008


Hi,

I have just encountered a new error message I never got before when I  
try to view the history of a web-page in
the offline section of the VFS, instead of giving me the usual list  
of history I instead receive the following error:

Error
Error while filling the list "History".
Reason: Error reading all available historical versions of resource "/ 
search.html".
Reason: fromIndex(0) > toIndex(-1)

I have no idea why this happens all of a sudden. I had an issue with  
history before that forced me to
reinstall OpenCms 7.03 from scratch instead as an upgrade from 6.2.3  
which fixed the problem.
However, now and all of a sudden a new problem with History has  
occurred that I do not know how
to fix or the cause of it.

I would really appreciate any feedback or help with this issue.

our setup is:

-       OpenCms v 7.0.3  from scratch
- 	OCEE v2.0.2
-       mySQL v 5.0. 30x
-       Apache Tomcat v 5.5.25x
-       Java JDK 1.5.0x
-       Debian as the underline OS

Below you will find the more detailed error message from the  
opencms.log file:

Thank you for your help,

Gaith Bader
---------------------------------------------------

ERROR [ina.core.ApplicationDispatcher: 723] Servlet.service() for  
servlet jsp threw exception
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
         at java.util.SubList.<init>(AbstractList.java:707)
         at java.util.RandomAccessSubList.<init>(AbstractList.java:861)
         at java.util.AbstractList.subList(AbstractList.java:570)
         at org.opencms.db.CmsDriverManager.readAllAvailableVersions 
(CmsDriverManager.java:5245)
         at org.opencms.db.CmsSecurityManager.readAllAvailableVersions 
(CmsSecurityManager.java:3075)
         at org.opencms.file.CmsObject.readAllAvailableVersions 
(CmsObject.java:2476)
         at org.opencms.workplace.commons.CmsHistoryList.getListItems 
(CmsHistoryList.java:432)
         at org.opencms.workplace.list.A_CmsListDialog.fillList 
(A_CmsListDialog.java:883)
         at org.opencms.workplace.list.A_CmsListDialog.refreshList 
(A_CmsListDialog.java:628)
         at org.opencms.workplace.list.A_CmsListDialog.actionDialog 
(A_CmsListDialog.java:364)
         at org.opencms.workplace.list.A_CmsListDialog.displayDialog 
(A_CmsListDialog.java:411)
         at  
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.explorer.history 
.index_jsp._jspService(index_jsp.java:57)
         at org.apache.jasper.runtime.HttpJspBase.service 
(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service 
(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile 
(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service 
(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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.opencms.flex.CmsFlexRequestDispatcher.forward 
(CmsFlexRequestDispatcher.java:117)
         at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:572)
         at org.opencms.loader.CmsResourceManager.loadResource 
(CmsResourceManager.java:948)
         at org.opencms.main.OpenCmsCore.showResource 
(OpenCmsCore.java:1492)
         at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java: 
171)
         at org.opencms.main.OpenCmsServlet.doPost 
(OpenCmsServlet.java:183)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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.opencms.flex.CmsFlexRequestDispatcher.forward 
(CmsFlexRequestDispatcher.java:117)
         at org.opencms.util.CmsRequestUtil.forwardRequest 
(CmsRequestUtil.java:458)
         at org.opencms.workplace.tools.CmsToolManager.jspForwardPage 
(CmsToolManager.java:482)
         at  
org.opencms.workplace.administration.CmsAdminDialog.displayDialog 
(CmsAdminDialog.java:100)
         at  
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.views.admin.admi 
n_002dmain_jsp._jspService(admin_002dmain_jsp.java:46)
         at org.apache.jasper.runtime.HttpJspBase.service 
(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service 
(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile 
(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service 
(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:572)
         at org.opencms.loader.CmsResourceManager.loadResource 
(CmsResourceManager.java:948)
         at org.opencms.main.OpenCmsCore.showResource 
(OpenCmsCore.java:1492)
         at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java: 
171)
         at org.opencms.main.OpenCmsServlet.doPost 
(OpenCmsServlet.java:183)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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.StandardWrapperValve.invoke 
(StandardWrapperValve.java:213)
         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:874)
         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:689)
         at java.lang.Thread.run(Thread.java:595)








More information about the opencms-dev mailing list