Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
1.13
-
None
-
None
-
Ubuntu 20.04/Xwiki13.7
-
Unknown
-
Description
Import fails due crashing. I have no experiance how to debug xwiki. Maybe I could enable some option so I could see at what line, in the dump.xml (600MB), it fails ?.
Exception thrown during job execution
class org.xwiki.filter.FilterException: Failed to parse XML
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:344)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:84)
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:243)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:220)
at org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: class org.xwiki.filter.FilterException: Failed to convert content page
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.convertToXWiki21(MediaWikiInputFilterStream.java:701)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readPageRevision(MediaWikiInputFilterStream.java:628)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readPage(MediaWikiInputFilterStream.java:481)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readMediaWiki(MediaWikiInputFilterStream.java:385)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:373)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:342)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:84)
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:243)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:220)
at org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: class java.lang.NullPointerException: null
at java.base/java.io.StringReader.<init>(StringReader.java:50)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.GalleryEventGenerator.createContent(GalleryEventGenerator.java:39)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.MacroEventGenerator.getContent(MacroEventGenerator.java:88)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.MacroEventGenerator.traverse(MacroEventGenerator.java:110)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:421)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:389)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:367)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:356)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:374)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.WPTableBlockEventGenerator.traverse(WPTableBlockEventGenerator.java:83)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.WPTableBlockEventGenerator.traverse(WPTableBlockEventGenerator.java:59)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.WPTableBlockEventGenerator.traverse(WPTableBlockEventGenerator.java:46)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:421)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:389)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:367)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.traverse(EventConverter.java:356)
at org.xwiki.contrib.mediawiki.syntax.internal.parser.converter.EventConverter.nodesToText(EventConverter.java:232)
at info.bliki.wiki.model.AbstractWikiModel.render(AbstractWikiModel.java:1245)
at org.xwiki.contrib.mediawiki.syntax.internal.input.MediaWikiSyntaxInputFilterStream.read(MediaWikiSyntaxInputFilterStream.java:104)
at org.xwiki.contrib.mediawiki.syntax.internal.input.MediaWikiSyntaxInputFilterStream.read(MediaWikiSyntaxInputFilterStream.java:47)
at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:79)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.convertToXWiki21(MediaWikiInputFilterStream.java:699)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readPageRevision(MediaWikiInputFilterStream.java:628)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readPage(MediaWikiInputFilterStream.java:481)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.readMediaWiki(MediaWikiInputFilterStream.java:385)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:373)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:342)
at org.xwiki.contrib.mediawiki.xml.internal.input.MediaWikiInputFilterStream.read(MediaWikiInputFilterStream.java:84)
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:243)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:220)
at org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Attachments
Issue Links
- duplicates
-
MEDIAWIKI-108 <gallery/> macro with no content produce a NullPointerException
-
- Closed
-
- is related to
-
MEDIAWIKI-109 Don't stop the build for a failing refactor a link reference
-
- Closed
-