javax.faces.FacesException: javax.servlet.ServletException: java.lang.InternalError: name is too long to represent

Java.net JIRA | Kevin Angus | 4 years ago
  1. 0

    Running an ADF app from JDeveloper in debug mode, when navigating to an ADF jpsx page over a certain size the following error appears: {code} <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6 javax.faces.FacesException: javax.servlet.ServletException: java.lang.InternalError: name is too long to represent at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) {code} Browser is blank. When the same actions are performed not in debug mode, no error appears and the page works as expected. According to MOS note 1076679.1, {quote} This is a bug in the Sun JDK, and, as such, there is not a specific fix from Weblogic. There are a few suggestions for workarounds: - Break up the large JSP to compile separately and put together with 'include' tags - Compile with JRockit, which does not have this issue - Compile without -Xdebug {quote} I believe JRockit is not recommended to be used in development. I resolved the issue by partitioning my page using jsp:include and fragments, reducing its size.

    Java.net JIRA | 4 years ago | Kevin Angus
    javax.faces.FacesException: javax.servlet.ServletException: java.lang.InternalError: name is too long to represent
  2. 0

    db:: 3.02::ADFC-10001 Error while creating user in oim xs

    hivmr.com | 5 months ago
    javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'oracle.iam.consoles.orgmgmt.tf.createorg.OrganizationCreateBean'
  3. 0

    Error while creating organization in OIM 11.1.1.5.6

    Oracle Community | 4 years ago | ishkee
    javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'oracle.iam.consoles.orgmgmt.tf.createorg.OrganizationCreateBean'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot instantiate class 'oracle.iam.identitytaskflow.backing.taskflows.modifyuser.ModifyUserView'

    Oracle Community | 3 years ago | Shiry
    javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'oracle.iam.identitytaskflow.backing.taskflows.modifyuser.ModifyUserView'
  6. 0

    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unre

    Oracle Community | 5 years ago | VijayPingale
    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'currentServicesBean' returned null

    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. javax.faces.FacesException

      javax.servlet.ServletException: java.lang.InternalError: name is too long to represent

      at com.sun.faces.context.ExternalContextImpl.dispatch()
    2. JSF
      ExternalContextImpl.dispatch
      1. com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
      1 frame
    3. Apache MyFaces Trinidad API
      ExternalContextDecorator.dispatch
      1. org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      2. org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      2 frames
    4. oracle.adfinternal.view
      RecordRequestAttributesDuringDispatch.dispatch
      1. oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
      1 frame
    5. Apache MyFaces Trinidad API
      ExternalContextDecorator.dispatch
      1. org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      2. org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      3. org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      3 frames
    6. org.apache.myfaces
      FacesContextFactoryImpl$OverrideDispatch.dispatch
      1. org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
      1 frame
    7. JSF
      ViewHandlerImpl.renderView
      1. com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
      2. com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
      2 frames
    8. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
      1 frame
    9. org.apache.myfaces
      ViewHandlerImpl.renderView
      1. org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      1 frame
    10. oracle.adfinternal.view
      LifecycleImpl.render
      1. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
      2. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
      3. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
      3 frames
    11. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      1 frame
    12. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    13. oracle.adf.share
      ServletADFFilter.doFilter
      1. oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
      1 frame
    14. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    15. oracle.adf.model
      ADFBindingFilter.doFilter
      1. oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      1 frame