Notifications

125 views

Description

Receiving a blank page when opening a Publication from Targeted Communication > Publications (view_pub.do page).

Cause

The debug logs will show the following errors:

Macro missing: 90c9e6a00a0a0bf000e5e55c217ac1d5
Premature end of file.: org.xml.sax.SAXParseException; Premature end of file.: org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:340)
com.glide.ui.jelly.GlideJellyContext.compileScript(GlideJellyContext.java:995)
com.glide.ui.jelly.GlideJellyContext.getCompiledScript(GlideJellyContext.java:939)
com.glide.ui.jelly.GlideJellyContext.runScript(GlideJellyContext.java:737)
com.glide.ui.jelly.GlideJellyContext.runScript(GlideJellyContext.java:1060)
com.glide.ui.jelly.JellyRunner.run(JellyRunner.java:214)
com.glide.ui.jelly.JellyRunner.executeScript(JellyRunner.java:159)

null:698:141: <g2:content_inline_grid> String index out of range: -6: java.lang.StringIndexOutOfBoundsException: String index out of range: -6: java.lang.String.substring(String.java:1967)
com.glideapp.home.Layout.toXML(Layout.java:189)
com.glide.cms.InlineGridTag.doTag(InlineGridTag.java:43)
org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
com.glide.ui.jelly.tags.FileinfoTag2.doTag(FileinfoTag2.java:44)
org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:66)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:66)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)


The issue is due to the OOB UI Macro "CMS single section" (sys_id=90c9e6a00a0a0bf000e5e55c217ac1d5) being missing on the instance.

Resolution

Import XML the attached UI Macro "CMS single section".

Article Information

Last Updated:2020-04-22 13:59:43
Published:2020-04-22
sys_ui_macro_90c9e6a00a0a0bf000e5e55c217ac1d5 (CMS single section).xml