Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
5.4.3
-
None
-
Unknown
-
Description
I got an error on Step 4 of the Distribution Wizard after migrating from 4.5.3 to 5.4.3. mflorea said this happens because the tree that should be loaded on this step was very large. This is the full stacktrace:
Failed to execute the [velocity] macro java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.javacc.XWikiScanner.macro(XWikiScanner.java:377) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.javacc.XWikiScanner.docElements(XWikiScanner.java:284) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.javacc.XWikiScanner.doParse(XWikiScanner.java:216) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.javacc.XWikiScanner.parse(XWikiScanner.java:51) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.XWikiParser.parse(XWikiParser.java:44) at org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:130) at org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:95) at org.xwiki.rendering.internal.macro.DefaultMacroContentParser.parse(DefaultMacroContentParser.java:87) at org.xwiki.rendering.macro.script.AbstractScriptMacro.parseSourceSyntax(AbstractScriptMacro.java:324) at org.xwiki.rendering.macro.script.AbstractScriptMacro.parseScriptResult(AbstractScriptMacro.java:228) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:307) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:191) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87) at org.xwiki.extension.distribution.internal.DistributionScriptService.transform(DistributionScriptService.java:276) at org.xwiki.extension.distribution.internal.DistributionScriptService.renderCurrentStepToXHTML(DistributionScriptService.java:253) at org.xwiki.extension.distribution.internal.DistributionScriptService.renderCurrentStepToXHTML(DistributionScriptService.java:237) at sun.reflect.GeneratedMethodAccessor660.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
Attachments
Issue Links
- relates to
-
XWIKI-12270 Add support for nested spaces in Distribution Wizard report
- Open
-
XWIKI-11176 Use jsTree to rewrite and improve the trees we currently have in XWiki
- Closed