java.lang.ClassCastException: com.icesoft.faces.webapp.http.portlet.PortletExternalContext$4

Icesoft | mladen.babic | 8 years 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

    Messages posted by mladen.babic

    icesoft.org | 1 year ago
    java.lang.ClassCastException: com.icesoft.faces.webapp.http.portlet.PortletExternalContext$4
  2. 0

    Getting user from liferay portal?

    Icesoft | 8 years ago | mladen.babic
    java.lang.ClassCastException: com.icesoft.faces.webapp.http.portlet.PortletExternalContext$4

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.icesoft.faces.webapp.http.portlet.PortletExternalContext$4

      at com.xxx.security.UserFactoryHandler.getUserEmailFromSession()
    2. com.xxx.security
      UserFactoryHandler.createUser
      1. com.xxx.security.UserFactoryHandler.getUserEmailFromSession(UserFactoryHandler.java:47)
      2. com.xxx.security.UserFactoryHandler.createUser(UserFactoryHandler.java:39)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. org.jboss.seam
      JavaBeanInterceptor.invoke
      1. org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      4. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      6. org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      7. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      8. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      9. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      10. org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
      11. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      12. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      13. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
      14. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
      14 frames