Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 4.4
-
Fix Version/s: 4.4.1
-
Component/s: Search - Generic
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:
-
Similar issues:
Description
The error is:
Caused by: java.lang.IncompatibleClassChangeError: org/parboiled/transform/ParserClassNode at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43) at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38) at org.parboiled.Parboiled.createParser(Parboiled.java:54) at org.pegdown.PegDownProcessor.<init>(PegDownProcessor.java:66) at org.pegdown.PegDownProcessor.<init>(PegDownProcessor.java:57) at org.xwiki.rendering.internal.parser.markdown.MarkdownParser.parse(MarkdownParser.java:75)
And the problem is that in WEB-INF/lib we have both ASM 4.0 and ASM 3.1 listed.
Analysis of the problem:
- Our Markdown parser uses pegdown which uses parboiled which requires ASM 4.0
- Our Lucene search uses Tika Parsers which uses ASM 3.1
- ASM 4.0 is not backward compatible with ASM 3.1
- Tika Parsers uses ASM to parse class files. In term of XWiki features this means the ability to index class files attached to wiki pages
Attachments
Issue Links
- relates to
-
XWIKI-8656 Add support again for indexing java class files as attachments
-
- Closed
-