Symptom
After navigating to the Universal Worklist application in the portal, the user sees message "cannot connect to provider" as shown below:
Error in the traces:
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.conn.jco.ext.JCoSessionReference.getID() of a null object loaded from local variable 'refReturned'at com.sap.engine.sessionmgmt.jco.applib.impl.SessionReferenceProviderImpl.getCurrentSessionReference(SessionReferenceProviderImpl.java:323)at com.sap.conn.jco.rt.JCoJ2EERuntime.getRuntimeContext(JCoJ2EERuntime.java:350)
at com.sap.conn.jco.rt.JCoJ2EERuntime.getRuntimeContext(JCoJ2EERuntime.java:44)
at com.sap.conn.jco.rt.RfcDestination.getCurrentContext(RfcDestination.java:1761)
at com.sap.conn.jco.rt.RfcDestination.getPartnerHost(RfcDestination.java:1809)
at com.sap.conn.jco.rt.ConnectionAttributes.getPartnerHost(ConnectionAttributes.java:86)
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1101)
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:989)
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:971)
at com.sap.conn.jco.rt.AbapRepository$DDICHelper.queryFunctionTemplate(AbapRepository.java:1894)
at com.sap.conn.jco.rt.AbapRepository.queryFunctionTemplate(AbapRepository.java:1054)
at com.sap.conn.jco.rt.AbapRepository.queryFunctionTemplate(AbapRepository.java:633)
at com.sap.conn.jco.rt.AbapRepository.getFunctionTemplate(AbapRepository.java:895)
at com.sap.conn.jco.rt.BasicRepository.getFunction(BasicRepository.java:167)
at com.sap.security.core.server.destinations.service.RFCCIMDestinationProviderFactory.ping(RFCCIMDestinationProviderFactory.java:67)
... 84 more
How to collect traces in the UWL - Check SAP Knowledge Base Article 2261632
Read more...
Environment
- SAP Universal Worklist (UWL)
- SAP Enterprise Portal
- SAP NetWeaver Application Server Java
Product
SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 3 for SAP NetWeaver 7.0
Keywords
JCo session, JCo Scope type, isSessionAlive, universal worklist, uwl, cannot connect to provider, connection, jco, webflowconnector, refReturned, object, function , KBA , EP-BC-UWL , Universal Worklist , 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.