javax.servlet.ServletException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Oracle Community | 924997 | 3 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

    oimclient

    Oracle Community | 3 years ago | 924997
    javax.servlet.ServletException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    RE: Error with Unbundled liferay-portal-X.war + Weblogic 9.2 - Foren | Liferay

    liferay.com | 1 year ago
    javax.servlet.ServletException: Failed to compile JSP /html/portal/render_portlet.jsp render_portlet.jsp:412:119: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlConfiguration = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:434:99: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlEdit = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:457:107: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlEditDefaults = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:480:104: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlEditGuest = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:503:118: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlExportImport = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:518:99: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlHelp = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE); ^----------^ render_portlet.jsp:541:35: Type javax.portlet.PortletRequest contains no field with this name. String lifecycle = PortletRequest.RENDER_PHASE; ^----------^ render_portlet.jsp:544:29: Type javax.portlet.PortletRequest contains no field with this name. lifecycle = PortletRequest.ACTION_PHASE; ^----------^ render_portlet.jsp:558:37: Type javax.portlet.PortletRequest contains no field with this name. if (lifecycle.equals(PortletRequest.RENDER_PHASE)) { ^----------^ render_portlet.jsp:596:100: Type javax.portlet.PortletRequest contains no field with this name. PortletURLImpl urlPrint = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE); ^----------^

    Root Cause Analysis

    1. javax.servlet.ServletException

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

      at com.thortech.xl.webclient.actions.tcActionBase.execute()
    2. com.thortech.xl
      ManageITResourceAction.execute
      1. com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:913)
      2. com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
      3. com.thortech.xl.webclient.actions.ManageITResourceAction.execute(ManageITResourceAction.java:86)
      3 frames
    3. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      3 frames
    4. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      3 frames
    5. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      1 frame
    6. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      2 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    8. 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:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    9. com.thortech.xl
      CSRFFilter.doFilter
      1. com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
      1 frame
    10. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    11. oracle.iam.platform
      OIMAuthContextFilter.doFilter
      1. oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
      1 frame
    12. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    13. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      1 frame
    14. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    15. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    16. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    17. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      1 frame
    18. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      5 frames
    19. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    20. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    21. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    22. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames