[opencms-dev] Exception when locking & editing file

denisboutin at free.fr denisboutin at free.fr
Thu Mar 4 17:05:02 CET 2004


Hi,

I've got the following exception when I want to lock & edit a page. It was 
working very well then it throws an exception

I've got :
* tomcat 5.0
* jdk1.4.1_01
* OpenCMS v5.0.1

Have you got an idea to resolve this problem ?

Regards,
Denis.



Etat HTTP 500 - 
--------------------------------------------------------------------------------
type Rapport d'exception
message 
description Le serveur a rencontré une erreur interne () qui l'a empêché de 
satisfaire la requête.

exception 

javax.servlet.ServletException: L'exécution de la servlet a lancé une exception


cause mère 

java.lang.NoSuchMethodError: org.apache.xerces.dom.CoreDocumentImpl.getEncoding
()Ljava/lang/String;
	com.opencms.template.CmsXmlXercesParser.getOriginalEncoding
(CmsXmlXercesParser.java:193)
	com.opencms.template.CmsXmlXercesParser.getXmlText
(CmsXmlXercesParser.java:131)
	com.opencms.template.A_CmsXmlContent.getXmlText
(A_CmsXmlContent.java:684)
	com.opencms.template.A_CmsXmlContent.getXmlText
(A_CmsXmlContent.java:673)
	com.opencms.file.CmsResourceTypePage.copyResource
(CmsResourceTypePage.java:391)
	com.opencms.file.CmsObject.copyResource(CmsObject.java:684)
	com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile
(CmsXmlTemplateEditor.java:100)
	com.opencms.workplace.CmsXmlTemplateEditor.getContent
(CmsXmlTemplateEditor.java:444)
	com.opencms.template.cache.CmsElementXml.getContent
(CmsElementXml.java:171)
	com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	com.opencms.template.cache.CmsElementCache.callCanonicalRoot
(CmsElementCache.java:149)
	com.opencms.launcher.CmsXmlLauncher.generateOutput
(CmsXmlLauncher.java:285)
	com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
	com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
	com.opencms.core.OpenCms.showResource(OpenCms.java:961)
	com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


note La trace complète de la cause mère de cette erreur est disponible dans les 
fichiers journaux de Tomcat.







More information about the opencms-dev mailing list