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

Connect-Java doesnt work when run in parallel is checked

SA-550

Summary



Connect-java fails with error pyStatusMessage ' couldn't resolve required java object ' when using RunInParallel mode

Error Messages



In the clipboard page:
pyStatusMessage=' couldn't resolve required java object '

in the Pega.log

java.lang.Throwable
at com.pegarules.generated.activity.ra_action_getdisputesforservicelog_b70f8669421a8d37f9589ab5a8237add.step41_circum0(ra_action_getdisputesforservicelog_b70f8669421a8d37f9589ab5a8237add.java:3588)
at com.pegarules.generated.activity.ra_action_getdisputesforservicelog_b70f8669421a8d37f9589ab5a8237add.perform(ra_action_getdisputesforservicelog_b70f8669421a8d37f9589ab5a8237add.java:798)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
at com.pegarules.generated.activity.ra_action_getdisputesummariesmain_ea41bac5c105374686d1f0143c15b20a.step3_circum0(ra_action_getdisputesummariesmain_ea41bac5c105374686d1f0143c15b20a.java:446)
at com.pegarules.generated.activity.ra_action_getdisputesummariesmain_ea41bac5c105374686d1f0143c15b20a.perform(ra_action_getdisputesummariesmain_ea41bac5c105374686d1f0143c15b20a.java:112)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
at com.pegarules.generated.activity.ra_action_servicehandler_a36c31c6b5e2b009134582ce9bd0ac0d.step10_circum0(ra_action_servicehandler_a36c31c6b5e2b009134582ce9bd0ac0d.java:1138)
at com.pegarules.generated.activity.ra_action_servicehandler_a36c31c6b5e2b009134582ce9bd0ac0d.perform(ra_action_servicehandler_a36c31c6b5e2b009134582ce9bd0ac0d.java:233)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:617)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:584)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1548)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:394)
at sun.reflect.GeneratedMethodAccessor144.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.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:328)
at com.pega.pegarules.integration.engine.internal.services.soap.SOAPService.invoke(SOAPService.java:462)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:221)
at sun.reflect.GeneratedMethodAccessor127.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:349)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168)
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.invokeEngine(Unknown Source)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:277)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:222)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:383)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:271)
at sun.reflect.GeneratedMethodAccessor141.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:349)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3750)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


Steps to Reproduce



Create an activity with the following: 
- The first Connect-Java step that calls the constructor with "Create a new object every time" as the Initialize Object option 
- The second Connect-Java step that uses the same Java Class with "Require use of a valid object handle" as the Initialize Object option and enable the RunInParallel mode

Root Cause



The root cause of this problem is a defect in Pegasystems’ code.

While copying “pyObject” of primary page in BatchRequestorTask module the references of Java wrapper objects are not properly retained in RunInParallel mode

Resolution



HFix-9780 is provided and resolved the issue in PRPC 6.3 SP1
Suggest Edit

Published March 27, 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