java.lang.ClassCastException: com.revere.confluence.dynamictable.model.Table

Atlassian JIRA | Anatoli Kazatchkov [Atlassian] | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Encountered very strange behavior when Dynamic Table Macros was reporting this exception: {noformat} java.lang.ClassCastException: com.revere.confluence.dynamictable.model.Table at com.revere.confluence.dynamictable.TableManager.getTable(TableManager.java:28) at com.revere.confluence.dynamictable.DynamicTableMacro.execute(DynamicTableMacro.java:74) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:297) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:255) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:151) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:126) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:114) {noformat} Dynamic Table Macros were installed on qa-eac before m5 was deployed and worked fine initially after m5 was deployed. However the problem started happening after I uninstalled/installed this plugin through confluence plugin repository. Uninstalling and then re-installing the plugin though "Manage Plugins" interface did not help. I am creating this issue to investigate and make sure it is not an atlassian-plugins-2.1.x problem.

    Atlassian JIRA | 8 years ago | Anatoli Kazatchkov [Atlassian]
    java.lang.ClassCastException: com.revere.confluence.dynamictable.model.Table
  2. 0

    Encountered very strange behavior when Dynamic Table Macros was reporting this exception: {noformat} java.lang.ClassCastException: com.revere.confluence.dynamictable.model.Table at com.revere.confluence.dynamictable.TableManager.getTable(TableManager.java:28) at com.revere.confluence.dynamictable.DynamicTableMacro.execute(DynamicTableMacro.java:74) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:297) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:255) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:151) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:126) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:114) {noformat} Dynamic Table Macros were installed on qa-eac before m5 was deployed and worked fine initially after m5 was deployed. However the problem started happening after I uninstalled/installed this plugin through confluence plugin repository. Uninstalling and then re-installing the plugin though "Manage Plugins" interface did not help. I am creating this issue to investigate and make sure it is not an atlassian-plugins-2.1.x problem.

    Atlassian JIRA | 8 years ago | Anatoli Kazatchkov [Atlassian]
    java.lang.ClassCastException: com.revere.confluence.dynamictable.model.Table

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.revere.confluence.dynamictable.model.Table

      at com.revere.confluence.dynamictable.TableManager.getTable()
    2. com.revere.confluence
      DynamicTableMacro.execute
      1. com.revere.confluence.dynamictable.TableManager.getTable(TableManager.java:28)
      2. com.revere.confluence.dynamictable.DynamicTableMacro.execute(DynamicTableMacro.java:74)
      2 frames
    3. com.atlassian.renderer
      WikiMarkupParser.makeMacro
      1. com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
      2. com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:297)
      3. com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:255)
      4. com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:151)
      5. com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
      6. com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:126)
      7. com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:114)
      7 frames