Symptom
- 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:
"[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Application name : com.sap.portal.appintegrator.sap
Component : pcd:portal_content/<SAPUI5 iView pcd location>
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : <user_id>
at com.sap.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:776)
at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:235)
...
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(AbstractIntegratorComponent.java:216)
...
Caused by: com.sapportals.portal.appintegrator.ApplicationIntegratorException: Exception occured in layer UI5/UI5URLLayer
at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:209)
...
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(UI5URLLayer.java:18)
at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:175)
..."
Read more...
Environment
- SAP NetWeaver Application Server for Java 7.3x and higher releases
- Enterprise Portal
Product
SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3
Keywords
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.
SAP Knowledge Base Article - Preview