SAP Knowledge Base Article - Preview

2770319 - Error 500 when editing or viewing Fiori News Tile iView (ArrayIndexOutOfBoundsException)

Symptom

  • You are using Fiori Launchpad on Enterprise Portal (FLP@EP)
  • You have a News Tile iView
  • When you try and edit the News Tile iView you get an error:
    news-iview-error-500.png
    500 - Internal server error - Failed to process request. Please contact your system administrator.
  • When checking the Developer/Default Trace files, an ArrayIndexOutOfBoundsException similar to the below is recorded:

    "500 Internal Server Error is returned for HTTP request [http://<host>:<port>/webdynpro/resources/sap.com/pb/PageBuilder]:
      component [dispatcher],
      web module [webdynpro/resources/sap.com/tc~pp~adm~tls~newstileiview],
      application [sap.com/tc~pp~adm~tls~newstileiview],
      DC name [sap.com/tc~pp~adm~tls~newstileiview],
      CSN component[EP-PIN-NAV-FFP],
      problem categorization [],
      internal categorization [-1863717866].

    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session XpAEiYmXegcY9hCb_A3ngw--XT7Wa0Dpj9S13eskX3s2Dg--/pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.portal.wd_portal_content/com.sap.portal.admin.studio.configuration/actions/open/com.sap.portal.action.newsivieweditor/com.sap.portal.newsiviewEditor/sap.com/tc~pp~adm~tls~newstileiview/NewsEditor/base/-1349836909_2. The causing exception is nested. RID=e357b2904a6111e9a5810000002033f2
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:665)
    ...
    Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdDoInit: exception thrown in this user coding area
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:62)
    ...
    Caused by: java.lang.ArrayIndexOutOfBoundsException: while trying to load from index 1 of an object array with length 1, loaded from local variable 'urlAndMode'
    at com.sap.tc.pp.adm.tls.newstileiview.wd.comp.newseditor.NewsEditorView.fillFeedsTble(NewsEditorView.java:390)
    ..."
  • The news tile iView does not load/may appear blank under the Fiori Framework Page.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP NetWeaver Application Server for Java 7.50 and higher releases
  • FLP@EP

Product

SAP NetWeaver 7.5

Keywords

flp@ep, enterprise, portal, fiori, framework, page, exception, crash, news, rss, feeds, feed, cors, administration, netweaver, application, server, for, java, j2ee, xml, array, index, out, of bounds, ArrayIndexOutOfBoundsException, java, fatal, error , KBA , EP-PIN-NAV-FFP , Fiori Framework Page , EP-PIN-PRT , Portal Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.