Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Some screens not rendering with SSO

SA-8959

Summary



Using SSO, some screens do not render with pyMyProcessActions for Bulk actions, an empty screen is returned.  The same error occurs when viewing the list of data tables.

Error Messages



Empty screen shown in Portal. Errors in the log file.

18:41:40,218 [ttp-/0.0.0.0:8080-14] (ternal.mgmt.StreamBuilderTools) ERROR servname|127.0.0.1 <user> - Problem appending stream null
com.pega.pegarules.pub.PRRuntimeException: Section 'ListView' execution error on page 'NewQueryResultPage' of class 'Code-Pega-List'. : null
at com.pegarules.generated.html_property.ra_stream_listview_37d5d32b60f82a4fd6c69949a27e0608.execute(ra_stream_listview_37d5d32b60f82a4fd6c69949a27e0608.java:245)
at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:717)
at com.pega.pegarules.jsptags.ReferenceTag.appendFormattedProperty(ReferenceTag.java:708)
at com.pega.pegarules.jsptags.ReferenceTag.applyFormat(ReferenceTag.java:559)
at com.pega.pegarules.jsptags.ReferenceTag.doEndTag(ReferenceTag.java:408)
at com.pegarules.generated.html.ra_stream_pzbulkprocessinglist_4bd393caf6a588abe9846656b95b3a20.execute(ra_stream_pzbulkprocessinglist_4bd393caf6a588abe9846656b95b3a20.java:592)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3908)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3736)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:662)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:435)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3252)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:384)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1188)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:811)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:330)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:839)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:485)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389)
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134)
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99)
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92)
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64)
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:272)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:465)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.pegarules.generated.html_property.ra_stream_listview_37d5d32b60f82a4fd6c69949a27e0608.execute(ra_stream_listview_37d5d32b60f82a4fd6c69949a27e0608.java:218)


Steps to Reproduce



1. Use the section pyMyProcessActions for Bulk processing.
2.Run the following activity through a browser session. This returns empty screen when SSO is used but works fine with PRServlet.

https://server.myco.com/prweb/sso?pyActivity=Assign-.BulkProcessAssignments&ListName=WorkList&TaskStatus=Transfer&ID=kalra&ClassName=&skipActionCheck=true

Note:The same behavior can be observed with Data Tables. Designer Studio -> Data Model -> Data Tables. In SSO mode, Data Tables do not show up and no option is given to view/convert.


Root Cause



The root cause of this problem is a defect in customer application code/rules. 

When creating the Data-Admin-AuthService Login activity the the Code-Security.IACAuthentication activity is copied. This activity contains a property set step that should only be used when working with IAC.




Resolution



When creating a new Data-Admin-AuthService for Single Sign-on, do not copy the IACAuthentication activity.
Instead start with Code-Security.AuthenticationLDAP and Code-Security.AuthenticationLDAPVerfiyCredential even when not using LDAP as they contain the proper steps and parameters for a proper working PRCustom style login activity.

If you do see the above "Set pxClientMode" in your login activity and you are seeing some strange behavior after, you have logged into the application simply remove this step. 


 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us