<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are using OpenCms 7.5.2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a xml content based on this schema which used to work in both locales : French and English.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When we edit the content (by default, the locale is fr), we can switch to English using the local dropdown menu.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The problem is that we can’t switch back to French.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are getting the following error : <o:p>
</o:p></span></p>
<p class="MsoNormal">11 juin 2012 17:17:34 org.apache.catalina.core.ApplicationDispatcher invoke<o:p></o:p></p>
<p class="MsoNormal">SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception<o:p></o:p></p>
<p class="MsoNormal">java.lang.NullPointerException<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.file.CmsResource.getName(CmsResource.java:641)<o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">at org.opencms.workplace.editors.CmsEditor.showErrorPage(CmsEditor.java:979)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.editors.CmsXmlContentEditor.initWorkplaceRequestValues(CmsXmlContentEditor.java:1302)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.java:1955)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:259)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.tools.CmsToolDialog.<init>(CmsToolDialog.java:101)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:269)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.editors.CmsEditorBase.<init>(CmsEditorBase.java:59)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.editors.CmsEditor.<init>(CmsEditor.java:205)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.workplace.editors.CmsXmlContentEditor.<init>(CmsXmlContentEditor.java:206)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.xmlcontent.editor_005fform_jsp._jspService(editor_005fform_jsp.java:60)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<o:p></o:p></p>
<p class="MsoNormal"> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<o:p></o:p></p>
<p class="MsoNormal"> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)<o:p></o:p></p>
<p class="MsoNormal"> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)<o:p></o:p></p>
<p class="MsoNormal"> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:829)<o:p></o:p></p>
<p class="MsoNormal"> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:512)<o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1052)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1490)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<o:p></o:p></p>
<p class="MsoNormal"> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at java.lang.Thread.run(Thread.java:619)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I thought is was something strangely declared in the English local part, so I manually created an xml content with the same content in English and French (based on the working French version), and the problem is still
here.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Anyone got something like this ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Siegfried Ehret<o:p></o:p></span></p>
</div>
</body>
</html>