SAP Knowledge Base Article - Preview

2639069 - SAPUI5 iview Portal Runtime Error: NullPointerException of a null object loaded from local variable 's'


  • You are using a SAPUI5 iView in the SAP NetWeaver Enterprise Portal
  • When you try to access the iView, you receive a Portal Runtime Error, and the SAPUI5 Application will not load
  • Checking the Developer Default Trace files, you observe an error similar to the below:
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Application name :
    Component : pcd:portal_content/<SAPUI5 iView pcd location>
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : <user_id>
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Exception occured in layer UI5/UI5URLLayer
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(
    Caused by: com.sapportals.portal.appintegrator.ApplicationIntegratorException: Exception occured in layer UI5/UI5URLLayer
    at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(
    Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.String.startsWith(java.lang.String) of a null object loaded from local variable 's'
    at com.sapportals.portal.sapapplication.ui5.UI5URLLayer.processLayer(
    at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(



  • SAP NetWeaver Application Server for Java 7.3x and higher releases
  • Enterprise Portal


SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3


flp, fiori, ui5, sapui5, iviews, portalruntimeerror, portalruntimeexception, error, ep, portal, runtime, flp@ep, fiori, launchpad, web ,resource, repository, wrr, embed, embedding, embedded, UI5URLLayer , KBA , EP-PIN-PRT , Portal Runtime , EP-PIN-AI , Application Integration , EP-PIN-NAV , Navigation , EP-PIN-NAV-FFP , Fiori Framework Page , 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.