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

Unable to Switch Threads Context From Clipboard Viewer

SA-2720

Summary


On Switch of threads from Clipboard viewer a null pointer exception is encountered. On tracing the logs there is a null pointer exception coming from ReferencePropertyLinkImpl.java:539 line.

Error Messages


2014-09-23 09:17:54,634 [http-apr-8080-exec-3] [TABTHREAD1] [ ] [ CPMCFW:07.13.01] (ngineinterface.service.HttpAPI) ERROR vfwappdb2052|10.225.114.75 Kokala - 10.225.114.75: com.pega.pegarules.pub.PRRuntimeError

com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError

at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:706)

at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:433)

at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3427)

at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)

at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:930)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:815)

at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:348)

at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:789)

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.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.GeneratedMethodAccessor70.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:419)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:460)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)

at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NullPointerException

at com.pega.pegarules.data.internal.clipboard.ReferencePropertyLinkImpl.getSourceProperty(ReferencePropertyLinkImpl.java:539)

at com.pega.pegarules.data.internal.clipboard.ReferencePropertyLinkImpl.getSourceProperty(ReferencePropertyLinkImpl.java:436)

at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.establishNewReference(ReferencePropertyDuplicator.java:263)

at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.establishNewReferenceToNewSourceProperty(ReferencePropertyDuplicator.java:246)

at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.execute(ReferencePropertyDuplicator.java:227)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:625)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:593)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.copy(ClipboardPageBase.java:1724)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:478)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.copy(ClipboardPageBase.java:1720)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:478)

at com.pega.pegarules.session.internal.mgmt.Executable.getPageToBeReturned(Executable.java:10735)

at com.pega.pegarules.session.internal.mgmt.Executable.executeActivityInContext(Executable.java:10671)

at com.pegarules.generated.pzGetPageInMultiThreadedContext_071013__jLmc_FqwsvlH7S0jlcuaQ.pzGetPageInMultiThreadedContext07_10_13(pzGetPageInMultiThreadedContext_071013__jLmc_FqwsvlH7S0jlcuaQ.java:114)

at com.pegarules.generated.pzGetPageInMultiThreadedContext_071013__jLmc_FqwsvlH7S0jlcuaQ.invoke(pzGetPageInMultiThreadedContext_071013__jLmc_FqwsvlH7S0jlcuaQ.java:72)

at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)

at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8633)

at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)

at com.pegarules.generated.pega_wb_clipboardviewer.pzGetPageInMultiThreadedContext(pega_wb_clipboardviewer.java:292)

at com.pegarules.generated.pzGetTopLevelPages_071013_k0UhrRMmVt2Dn16CYEWpfA.pzGetTopLevelPages07_10_13(pzGetTopLevelPages_071013_k0UhrRMmVt2Dn16CYEWpfA.java:185)

at com.pegarules.generated.pzGetTopLevelPages_071013_k0UhrRMmVt2Dn16CYEWpfA.invoke(pzGetTopLevelPages_071013_k0UhrRMmVt2Dn16CYEWpfA.java:71)

at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)

at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8633)

at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)

at com.pegarules.generated.pega_wb_clipboardviewer.pzGetTopLevelPages(pega_wb_clipboardviewer.java:310)

at com.pegarules.generated.activity.ra_action_pzgetpagedetails_7fc2c537282f111af8389407ba7973ba.step3_circum0(ra_action_pzgetpagedetails_7fc2c537282f111af8389407ba7973ba.java:365)

at com.pegarules.generated.activity.ra_action_pzgetpagedetails_7fc2c537282f111af8389407ba7973ba.perform(ra_action_pzgetpagedetails_7fc2c537282f111af8389407ba7973ba.java:110)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10265)

at com.pegarules.generated.activity.ra_action_pzgetclipboardpages_cf1bf8bf694ad4dff9f651a6144bf6ad.step4_circum0(ra_action_pzgetclipboardpages_cf1bf8bf694ad4dff9f651a6144bf6ad.java:410)

at com.pegarules.generated.activity.ra_action_pzgetclipboardpages_cf1bf8bf694ad4dff9f651a6144bf6ad.perform(ra_action_pzgetclipboardpages_cf1bf8bf694ad4dff9f651a6144bf6ad.java:141)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)

at com.pegarules.generated.activity.ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.step4_circum0(ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.java:666)

at com.pegarules.generated.activity.ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.perform(ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.java:120)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)

at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)


Resolution


HFix-10197 resolves the reported issue.
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