I am a new user of Xwiki and want to import my existing dokuwiki into xwiki.
I've followed this guide: [https://extensions.xwiki.org/xwiki/bin/view/Extension/DokuWiki/Text/]
The xwiki version is 16.2.0
When trying to import via the Filter Streams Converter page I receive the following error:
* Starting job of type [filter.converter] with identifier [filter/converter/dokuwiki+text/xwiki+instance] * Reading file [/mnt/dokuwiki/data/pages/3dprinting.txt] * *Exception java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4). [in thread "filter/converter job group daemon thread - org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob@b5c3ca5([filter, converter, dokuwiki+text, xwiki+instance])"]* class java.lang.NoClassDefFoundError: Could not initialize class org.xwiki.contrib.dokuwiki.syntax.internal.parser.DokuWikiGrammarLexer at wiki:xwiki//org.xwiki.contrib.dokuwiki.syntax.internal.parser.DokuWikiStreamParser.parse(DokuWikiStreamParser.java:89) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.parseContent(DokuWikiInputFilterStream.java:590) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.lambda$readPageRevision$13(DokuWikiInputFilterStream.java:558) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.ArrayList.forEach(Unknown Source) at java.base/java.util.stream.SortedOps$RefSortingSink.end(Unknown Source) at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source) at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readPageRevision(DokuWikiInputFilterStream.java:554) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readDocument(DokuWikiInputFilterStream.java:475) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readAllDocuments(DokuWikiInputFilterStream.java:311) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.read(DokuWikiInputFilterStream.java:189) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.read(DokuWikiInputFilterStream.java:88) at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:79) at org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:97) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246) at org.xwiki.job.AbstractJob.run(AbstractJob.java:223) at org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: class java.lang.ExceptionInInitializerError: Exception java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4). [in thread "filter/converter job group daemon thread - org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob@b5c3ca5([filter, converter, dokuwiki+text, xwiki+instance])"] at org.antlr.v4.runtime.atn.ATNDeserializer.deserialize(ATNDeserializer.java:56) at org.antlr.v4.runtime.atn.ATNDeserializer.deserialize(ATNDeserializer.java:48) at wiki:xwiki//org.xwiki.contrib.dokuwiki.syntax.internal.parser.DokuWikiGrammarLexer.<clinit>(DokuWikiGrammarLexer.java:496) at wiki:xwiki//org.xwiki.contrib.dokuwiki.syntax.internal.parser.DokuWikiStreamParser.parse(DokuWikiStreamParser.java:89) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.parseContent(DokuWikiInputFilterStream.java:590) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.lambda$readPageRevision$13(DokuWikiInputFilterStream.java:558) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.ArrayList.forEach(Unknown Source) at java.base/java.util.stream.SortedOps$RefSortingSink.end(Unknown Source) at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source) at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readPageRevision(DokuWikiInputFilterStream.java:554) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readDocument(DokuWikiInputFilterStream.java:475) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.readAllDocuments(DokuWikiInputFilterStream.java:311) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.read(DokuWikiInputFilterStream.java:189) at wiki:xwiki//org.xwiki.contrib.dokuwiki.text.internal.input.DokuWikiInputFilterStream.read(DokuWikiInputFilterStream.java:88) at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:79) at org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:97) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246) at org.xwiki.job.AbstractJob.run(AbstractJob.java:223) at org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) * Finished job of type [filter.converter] with identifier [filter/converter/dokuwiki+text/xwiki+instance]
I am runnng xwiki in a Docker container, the dokuwiki directory is mounted into the container as a volume (/mnt/dokuwiki).
As I can see Xwiki sees at least one of the files: * Reading file [/mnt/dokuwiki/data/pages/3dprinting.txt
I'd presume the basic configuration is all fine. To be honest I am not even sure I installed all necessary components: Used xwiki's extension manager, searched for Dokuwiki and installed it, then googled how to use the Filter Stream Converter function.
Could you please guide me how to troubleshoot this? Is this an incompatibility between the xwiki installation and the extension?
|
|