Search
 
 

OOPS An error occurred Message: could not create document container

Issue

 

When you click the Change History link for Collection objects the following error is displayed.

 

Example:

 

OOPS - An error occurred.

Message:

could not create document container

 

6.5.2 Server Stack Trace:

 

org.chiba.xml.xforms.exception.XFormsException: could not create document container

        at org.chiba.xml.xforms.ChibaBean.setXMLContainer(ChibaBean.java:322)

        at org.chiba.adapter.AbstractChibaAdapter.setXForms(AbstractChibaAdapter.java:149)

        at org.chiba.web.session.impl.AbstractXFormsSession.setXForms(AbstractXFormsSession.java:298)

        at org.chiba.web.filter.XFormsFilterB.doFilter(XFormsFilterB.java:114)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.xerox.docushare.amber.util.UTF8Filter.doFilter(UTF8Filter.java:28)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

        at java.lang.Thread.run(Thread.java:595)

Caused by: org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not declared.

        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)

        at org.chiba.xml.xforms.ChibaBean.setXMLContainer(ChibaBean.java:319)

        ... 18 more

 

DS 6.00.01 Stack Trace:

 

jp.co.fujixerox.docushare.amber.DSWebSystemException: The entity "nbsp" was referenced, but not declared.

org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not declared.

        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)

        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)

        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)

        at com.xerox.docushare.util.DOMUtil.domParse(DOMUtil.java:31)

        at jp.co.fujixerox.docushare.amber.WebRequest.doChibaGet(WebRequest.java:846)

        at jp.co.fujixerox.docushare.amber.WebRequest.printVDF(WebRequest.java:656)

        at jp.co.fujixerox.docushare.amber.DSWebServlet.processVDF(DSWebServlet.java:3780)

        at jp.co.fujixerox.docushare.amber.DSWebServlet.runHtml(DSWebServlet.java:945)

        at jp.co.fujixerox.docushare.amber.DSWebServlet.service(DSWebServlet.java:483)

        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 com.xerox.docushare.amber.util.UTF8Filter.doFilter(UTF8Filter.java:47)

        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:595)

 

Reason

 

When the WYSIWYG editor is enabled it automatically populates the WYSIWYG fields such as Description with an attribute of <p mce_keep="true">&nbsp;</p>. It is this attribute that is causing the errors.

 

Solution

 

To resolve this issue you can use Option A or Option B listed below.

 

Note:  Option A should almost always be set to yes

 

 

Option A:  To Select Yes to Block unsafe HTML markup in object property displays

1.     Click Admin Home | Site Management | Site Configuration.  The Site Configuration page will be displayed.

2.     Next to Block unsafe HTML markup in object property displays click Yes.

3.     Click the Apply button to save the changes.

 

Option B:  To set enable WYSIWG Editor to No

1.     Click Admin Home | Site Management | Site Configuration.  The Site Configuration page displays

2.     Next to Enable WYSIWYG Editor select No

3.     Click the Apply button to save the changes.

 

Solution Updated:  January 13th, 2012

Solution ID:  610

 
This web store and web site powered by NetSuite ecommerce software