Details
-
Bug
-
Resolution: Inactive
-
Major
-
None
-
8.5
-
None
-
XWiki 9.10.1 / Jira Macro 8.5 / Java 1.8.0
-
Unknown
-
N/A
-
N/A
-
Description
Jira Macro and config work as expected when installed on main root wiki. I installed the macro and admin application on a sub-wiki, configured the Jira instance to match the working configurations on the main wiki.
When using the macro on a sub-wiki page, the following error occurs:
java.lang.ClassCastException: org.xwiki.contrib.jira.config.JIRAServer cannot be cast to org.xwiki.contrib.jira.config.JIRAServer at org.xwiki.contrib.jira.macro.internal.source.AbstractJIRADataSource.getJIRAServer(AbstractJIRADataSource.java:141) at org.xwiki.contrib.jira.macro.internal.source.JQLJIRADataSource.getData(JQLJIRADataSource.java:50) at org.xwiki.contrib.jira.macro.internal.JIRAMacro.execute(JIRAMacro.java:87) at org.xwiki.contrib.jira.macro.internal.JIRAMacro.execute(JIRAMacro.java:46) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
[Full stack trace attached]