Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-103

NoSuchMethodError in ConfluenceXWikiGeneratorListener in XWiki 13.10.4+/14.2+

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 9.14.5
    • 9.14.4
    • Syntax - XHTML
    • None
    • Trivial

    Description

      With XRENDERING-6 API of org.xwiki.rendering.internal.parser.wikimodel.WikiModelParserUtils.java
      has been changed, method void org.xwiki.rendering.internal.parser.wikimodel.WikiModelParserUtils.parseInline(org.xwiki.rendering.parser.StreamParser, java.lang.String, org.xwiki.rendering.listener.Listener, boolean) was removed.

      When importing data from Confluence into XWiki 13.10.5 a NoSuchMethodError is thrown:

      class java.lang.NoSuchMethodError: 'void org.xwiki.rendering.internal.parser.wikimodel.WikiModelParserUtils.parseInline(org.xwiki.rendering.parser.StreamParser, java.lang.String, org.xwiki.rendering.listener.Listener, boolean)'
          at org.xwiki.contrib.confluence.parser.xhtml.internal.wikimodel.ConfluenceXWikiGeneratorListener.onReference(ConfluenceXWikiGeneratorListener.java:180)
          at org.xwiki.rendering.wikimodel.impl.InternalWikiScannerContext.onReference(InternalWikiScannerContext.java:1067)
          at org.xwiki.rendering.wikimodel.impl.WikiScannerContext.onReference(WikiScannerContext.java:538)
          at org.xwiki.contrib.confluence.parser.xhtml.internal.wikimodel.LinkTagHandler.end(LinkTagHandler.java:87)
          at org.xwiki.rendering.wikimodel.xhtml.handler.TagHandler.endElement(TagHandler.java:85)
          at org.xwiki.rendering.wikimodel.xhtml.impl.TagContext.endElement(TagContext.java:81)
          at org.xwiki.rendering.wikimodel.xhtml.impl.TagStack.endElement(TagStack.java:123)
          at org.xwiki.rendering.wikimodel.xhtml.impl.XhtmlHandler.endElement(XhtmlHandler.java:196)
          at java.xml/org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
          at org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.sendInlineEvent(XHTMLWhitespaceXMLFilter.java:302)
          at org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.sendPreviousContent(XHTMLWhitespaceXMLFilter.java:291)
          at org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.flushContent(XHTMLWhitespaceXMLFilter.java:332)
          at org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.flushContent(XHTMLWhitespaceXMLFilter.java:314)
          at org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.endElement(XHTMLWhitespaceXMLFilter.java:183)
          at org.xwiki.contrib.confluence.parser.xhtml.internal.wikimodel.ConfluenceXHTMLWhitespaceXMLFilter.endElement(ConfluenceXHTMLWhitespaceXMLFilter.java:90)
          at java.xml/org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
          at org.xwiki.rendering.wikimodel.xhtml.filter.AccumulationXMLFilter.endElement(AccumulationXMLFilter.java:86)
          at java.xml/org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
          at org.xwiki.rendering.wikimodel.xhtml.filter.DTDXMLFilter.endElement(DTDXMLFilter.java:86)
          at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      

      This is breaking Confluence import in 13.10.x (LTS) and 14.2.x

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              bbartke Bernd Bartke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: