java.lang.ClassCastException

Atlassian JIRA | Nick Faiz [OLD] | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    See http://confluence.atlassian.com/display/DOC/Redirect+users+straight+to+space+home+page+after+successful+login . It gives: [ERROR] Mon Apr 25 21:40:36 CDT 2005 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: java.lang.ClassCastException Throwable: java.lang.ClassCastException at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:97) at com.atlassian.renderer.v2.macro.DefaultMacroManager.getEnabledMacro(DefaultMacroManager.java:48) at com.atlassian.renderer.v2.components.MacroRendererComponent.getMacroByName(MacroRendererComponent.java:177) at com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:95) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:74) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:38) at com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:53) at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy23.convertWikiToXHtml(Unknown Source) at com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:110) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Nick Faiz [OLD]
    java.lang.ClassCastException
  2. 0

    See http://confluence.atlassian.com/display/DOC/Redirect+users+straight+to+space+home+page+after+successful+login . It gives: [ERROR] Mon Apr 25 21:40:36 CDT 2005 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: java.lang.ClassCastException Throwable: java.lang.ClassCastException at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:97) at com.atlassian.renderer.v2.macro.DefaultMacroManager.getEnabledMacro(DefaultMacroManager.java:48) at com.atlassian.renderer.v2.components.MacroRendererComponent.getMacroByName(MacroRendererComponent.java:177) at com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:95) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:74) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:38) at com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:53) at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy23.convertWikiToXHtml(Unknown Source) at com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:110) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Nick Faiz [OLD]
    java.lang.ClassCastException

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro()
    2. com.atlassian.confluence
      UserMacroLibrary.getMacro
      1. com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:97)
      1 frame
    3. com.atlassian.renderer
      V2RendererFacade.convertWikiToXHtml
      1. com.atlassian.renderer.v2.macro.DefaultMacroManager.getEnabledMacro(DefaultMacroManager.java:48)
      2. com.atlassian.renderer.v2.components.MacroRendererComponent.getMacroByName(MacroRendererComponent.java:177)
      3. com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:95)
      4. com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:74)
      5. com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:38)
      6. com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:53)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      3 frames
    6. com.atlassian.confluence
      SpringProfilingInterceptor.invoke
      1. com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
      2 frames
    8. Unknown
      $Proxy23.convertWikiToXHtml
      1. $Proxy23.convertWikiToXHtml(Unknown Source)
      1 frame
    9. com.atlassian.confluence
      ViewPageAction.execute
      1. com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:110)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      1 frame