[opencms-dev] I18N bug saving xml content --> posted stack trace

Jorge González informatico at hotelparadisepark.com
Wed Oct 26 14:04:51 CEST 2005


Hi list:

This is a bug report, it happens when saving the xmlcontent in a new
language (spanish es).

This only happens saving the xml in internet explorer, in firefox it works
ok.

java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in
escape (%) pattern - For input string: " d"
        at java.net.URLDecoder.decode(URLDecoder.java:173)
        at org.opencms.i18n.CmsEncoder.decode(CmsEncoder.java:209)
        at
org.opencms.widgets.CmsHtmlAreaWidget.setEditorValue(CmsHtmlAreaWidget.java:
187)
        at
org.opencms.workplace.editors.CmsXmlContentEditor.setEditorValues(CmsXmlCont
entEditor.java:769)
        at
org.opencms.workplace.editors.CmsXmlContentEditor.actionSave(CmsXmlContentEd
itor.java:412)
        at
org.opencms.workplace.editors.CmsXmlContentEditor.actionSave(CmsXmlContentEd
itor.java:394)
        at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.xmlcontent.e
ditor_005fform_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system
.workplace.editors.xmlcontent.editor_005fform_jsp:81)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)
        at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:193)
        at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171)
        at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:402)
        at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:417)
        at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:175)
        at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:434)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:381)
        at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:7
11)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1302)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:136)
        at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:148)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
170)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
        at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:153)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThre
ad.java:112)
        at java.lang.Thread.run(Thread.java:595)




More information about the opencms-dev mailing list