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

Atlassian JIRA | Kah Loun Foong [Atlassian] | 5 years ago
  1. 0

    *Steps to reproduce* # Create a page and add 'Activity Stream' macro to the page # Save the page and add a comment with a character 'È' The following error will appear in the log: {noformat} 2012-04-24 22:26:23,455 WARN [StreamsCompletionService::thread-1] [streams.confluence.renderer.ContentEntityRendererFactory] stripGadgetMacros Unable to parse content for entity 'Re: È' at /pages/viewpage.action?pageId=589831&focusedCommentId=589832#comment-589832 -- url: /rest/activity-stream/1.0/config | userName: kahloun.foong | referer: http://localhost:8421/plugins/servlet/gadgets/ifr?container=atlassian&mid=34360197120&country=GB&lang=en&view=default&view-params=%7B%22writable%22%3A%22true%22%7D&st=atlassian%3ABWFDK%2FmZtJpLrFxIEnme0VNW2mfm4gi%2BigP%2BPQtmuRMFbuSoBRrPyXbNh11NzCE8T9eSTWPvS36ICCfzXrQEtkPhiKucapiC%2BIsGg2bwoh1fogqWglo6QzJmk3aEzmdrkcJBebcyE%2FmchWqaeWO5jEzb37np4vxt4S4ktMm6wdjJuGkDywzhmeL2i7MwP4OKPL8cI9Pcbz5GWAQ6%2FgNEhGChGtVO54NXz5nFYH%2FnWGdKwv5pD5%2BYW1xz76l59CYa5%2FcXQz%2B5Y3FN3o7AgEZbzkmJ33dbfXFTfZ8RaPK00rbU3HsDWa3vS6W91L9oJwwku2g9%2B1tZkOjotv04AYVgenLRjSkX1g62TkHFpbN0%2BxqyFr81HONq20a%2FplD%2Bzx9IN8Nw5Q%3D%3D&up_isConfigured=true&up_isReallyConfigured=false&up_title=Activity+Stream&up_titleRequired=true&up_numofentries=10&up_refresh=false&up_maxProviderLabelCharacters=50&up_rules=&up_renderingContext=&up_keys=&up_itemKeys=&up_username=&url=http%3A%2F%2Flocalhost%3A8421%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.atlassian.streams.confluence%3Aactivitystream-gadget%2Fgadgets%2Fconf-activitystream-gadget.xml&libs=auth-refresh org.xml.sax.SAXParseException: The entity "Egrave" 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:124) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.stripGadgetMacros(ContentEntityRendererFactory.java:253) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.content(ContentEntityRendererFactory.java:225) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.access$400(ContentEntityRendererFactory.java:96) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:198) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:194) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:163) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:160) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.renderContentAsHtml(ContentEntityRendererFactory.java:109) {noformat}

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    org.xml.sax.SAXParseException: The entity "Egrave" was referenced, but not declared.
  2. 0

    *Steps to reproduce* # Create a page and add 'Activity Stream' macro to the page # Save the page and add a comment with a character 'È' The following error will appear in the log: {noformat} 2012-04-24 22:26:23,455 WARN [StreamsCompletionService::thread-1] [streams.confluence.renderer.ContentEntityRendererFactory] stripGadgetMacros Unable to parse content for entity 'Re: È' at /pages/viewpage.action?pageId=589831&focusedCommentId=589832#comment-589832 -- url: /rest/activity-stream/1.0/config | userName: kahloun.foong | referer: http://localhost:8421/plugins/servlet/gadgets/ifr?container=atlassian&mid=34360197120&country=GB&lang=en&view=default&view-params=%7B%22writable%22%3A%22true%22%7D&st=atlassian%3ABWFDK%2FmZtJpLrFxIEnme0VNW2mfm4gi%2BigP%2BPQtmuRMFbuSoBRrPyXbNh11NzCE8T9eSTWPvS36ICCfzXrQEtkPhiKucapiC%2BIsGg2bwoh1fogqWglo6QzJmk3aEzmdrkcJBebcyE%2FmchWqaeWO5jEzb37np4vxt4S4ktMm6wdjJuGkDywzhmeL2i7MwP4OKPL8cI9Pcbz5GWAQ6%2FgNEhGChGtVO54NXz5nFYH%2FnWGdKwv5pD5%2BYW1xz76l59CYa5%2FcXQz%2B5Y3FN3o7AgEZbzkmJ33dbfXFTfZ8RaPK00rbU3HsDWa3vS6W91L9oJwwku2g9%2B1tZkOjotv04AYVgenLRjSkX1g62TkHFpbN0%2BxqyFr81HONq20a%2FplD%2Bzx9IN8Nw5Q%3D%3D&up_isConfigured=true&up_isReallyConfigured=false&up_title=Activity+Stream&up_titleRequired=true&up_numofentries=10&up_refresh=false&up_maxProviderLabelCharacters=50&up_rules=&up_renderingContext=&up_keys=&up_itemKeys=&up_username=&url=http%3A%2F%2Flocalhost%3A8421%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.atlassian.streams.confluence%3Aactivitystream-gadget%2Fgadgets%2Fconf-activitystream-gadget.xml&libs=auth-refresh org.xml.sax.SAXParseException: The entity "Egrave" 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:124) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.stripGadgetMacros(ContentEntityRendererFactory.java:253) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.content(ContentEntityRendererFactory.java:225) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.access$400(ContentEntityRendererFactory.java:96) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:198) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:194) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:163) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:160) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.renderContentAsHtml(ContentEntityRendererFactory.java:109) {noformat}

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    org.xml.sax.SAXParseException: The entity "Egrave" was referenced, but not declared.
  3. 0

    Re: MCF: XML parsing Error

    incubator-connectors-user | 6 years ago | Karl Wright
    org.xml.sax.SAXParseException: The element type "HR" must be terminated by the matching end-tag "</HR>".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.xml.sax.SAXParseException: Premature end of file

    Stack Overflow | 5 years ago | Dave
    org.xml.sax.SAXParseException: Premature end of file.
  6. 0

    Ignoring strange Parsing errors with Xerces

    Stack Overflow | 4 years ago | Luuk D. Jansen
    org.xml.sax.SAXParseException: The entity "acirc" was referenced, but not declared.

    33 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      The entity "Egrave" was referenced, but not declared.

      at org.apache.xerces.parsers.DOMParser.parse()
    2. Xerces2-j
      DocumentBuilderImpl.parse
      1. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      2. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      2 frames
    3. Java RT
      DocumentBuilder.parse
      1. javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
      1 frame
    4. com.atlassian.streams
      ContentEntityRendererFactory$ContentEntityRenderer.renderContentAsHtml
      1. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.stripGadgetMacros(ContentEntityRendererFactory.java:253)
      2. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.content(ContentEntityRendererFactory.java:225)
      3. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.access$400(ContentEntityRendererFactory.java:96)
      4. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:198)
      5. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:194)
      6. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:163)
      7. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$2.apply(ContentEntityRendererFactory.java:160)
      8. com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.renderContentAsHtml(ContentEntityRendererFactory.java:109)
      8 frames