java.lang.ClassCastException

Atlassian JIRA | Nick Faiz [OLD] | 1 decade ago
  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
  3. 0

    ClassCastException : PortableRemoteObject.

    Oracle Community | 1 decade ago | 403765
    java.lang.ClassCastException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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