5 Replies Latest reply: May 29, 2013 12:31 PM by Matt J-Oracle RSS

    Unhandled Error on Print of FRM spec

    dmccall
      Should I enter a ticket for this?

      ErrorType: First| ErrorCount: 0| App: GSM| SessionId: b44ffd6b-6b14-3d24-b5dd-cbac9a232d79| UserId: mccallda| IsNewSession: False| ServerID: 10.31.11.20| Misc: Spec 5213179-001 ; Spec Name Removed for Security| Exception: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Xml.XmlException: The 'li' start tag on line 6 does not match the end tag of 'ul'. Line 7, position 57. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at Xeno.Prodika.PrintObjects.ExportHandlers.Common.HtmlToFoHandler.Format(RenderingContext ctx) at Xeno.Data.XML.Delegates.Factories.LeafTagTypeDelegateFactory.XMLLeafDelegateHandler.GetSafeString(RenderingContext ctx, IXMLTagMetaInfo tag) at Xeno.Data.XML.Delegates.Factories.LeafTagTypeDelegateFactory.XMLLeafDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.CollectionTagTypeDelegateFactory.XMLCollectionDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo parentTag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.CollectionTagTypeDelegateFactory.XMLCollectionDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.RenderChildren(Object root, IXMLTagMetaInfo tag, TextWriter output, Object dataObject) at Xeno.Data.XML.Delegates.Factories.StandardTagTypeDelegateFactory.XMLStandardDelegateHandler.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render(RenderingContext ctx, TextWriter output) at Xeno.Data.XML.XMLRendererDispatcher.Render_Internal(IXMLMetaModel model, TextWriter output, Object dataObject) at Xeno.Data.XML.XMLRendererDispatcher.Render(IXMLMetaModel model, TextWriter output, Object dataObject) at Xeno.Prodika.Printing.PrintPipes.XmlPrintPipe.Process(IPrintManager printManager) at Xeno.Prodika.Printing.PrintManager.Process(Stream stream) at Xeno.Web.UI.Printing.StandardPrintPage.Print(Object printObject, String configId, String templateId, IPrintOptions printOptions, String filename) at prodika.frmPrint.ctlSpecPrintViewer_PrintClick(Object sender, EventArgs e) at Xeno.Prodika.PrintObjects.WebViewer.PrintConfigHtmlViewer.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.print_frmprint_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
        • 1. Re: Unhandled Error on Print of FRM spec
          Matt J-Oracle
          This issue has been reported as part of SR 3-5829446661. A bug was subsequently submitted and is targeted for 6.1.1.0.0.

          The problem is the rich text in your spec. in some situations where there is bold text, underlined text, and a list; the <li tag does not close properly. so, as a workaround, you can reformat the rich text in order to get it to print.

          Edited by: Matt J on Dec 11, 2012 9:20 AM
          • 2. Re: Unhandled Error on Print of FRM spec
            Trey
            Matt, any chance we can get some sql to rip through the HtmlData table and fix the missing list </li> tags?
            Im having to do this one step at a time. Very time consuming...
            --Trey                                                                                                                                                                                                                                                                                                                                                                       
            • 3. Re: Unhandled Error on Print of FRM spec
              dmccall
              trey posted another question, thanks!
              • 4. Re: Unhandled Error on Print of FRM spec
                Matt J-Oracle
                I only spent 15 minutes or so on this, so it's not the greatest query; but you could use the below to narrow down the specs that match the criteria that I think leads to this issue. you could also remove the
                <strong>
                and see how many that returns.
                select specnumber 
                from specsummary 
                where SpecID in (
                     select fs.pkid 
                     from formulationSpecification fs
                          inner join DWBSpecificationRoots dsr on dsr.fkOwner = fs.pkid
                          inner join dwbSpecifications ds on ds.fkWorkingVersionParent = dsr.pkid
                          inner join gsmFormulationSteps gfs on gfs.fkParent = ds.pkid
                          inner join richTextSupportingDoc rtsd on rtsd.fkSpec = gfs.pkid
                          inner join HtmlData hd on hd.fkParent = rtsd.pkid
                     where HtmlContent like '%<strong>%<li>%'
                     )
                Edited by: Matt J on Mar 1, 2013 12:21 PM
                • 5. Re: Unhandled Error on Print of FRM spec
                  Matt J-Oracle
                  marked as assumed answered.