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

Failed to find instance CPMPortalRecent

SA-68633

Summary



An exception occurs for Failed to Find Instance @baseclass.CPMPortalRecent of Rule-HTML-Section type.


Error Messages



Error in the log file:

com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance @baseclass.CPMPortalRecent of type Rule-HTML-Section
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2176) 
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2058) 
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getClassSource(FUAInstance.java:2358) 
at com.pega.pegarules.generation.external.assembly.Assembler.getClassSource(Assembler.java:943) 
at com.pega.pegarules.generation.internal.cache.AssemblerFunctions.assembleRule(AssemblerFunctions.java:143)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.buildAndOrLoadJavaClass(AssemblyCacheBase.java:1671) 
at 
com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.getGeneratedJava(AssemblyCacheBase.java:3100) 
at 
com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.addEntryToMemoryCache(RACacheAppCentricImpl.java:1165) 
at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.find(RACacheAppCentricImpl.java:1013) 
at 
com.pega.pegarules.generation.internal.cache.AssemblyCacheWrapper.find(AssemblyCacheWrapper.java:797) 
at
com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(FUAManagerImpl.java:1414) 
at
com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(FUAManagerImpl.java:1303) 
at
com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:500)
at 
com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:762) at 
com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.getStream(IncludeStreamRuntime.java:332) 
at 
com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.emitIncludeStreamReference(IncludeStreamRuntime.java:252) 
at 
com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.emitIncludeStreamReference(AutoStreamRuntimeImpl.java:409) 
at 
com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.ContextProcessor.emitIncludeStream(ContextProcessor.java:1210)
.
.
.
at 
com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.json.AbstractUIComponent.endComponent(AbstractUIComponent.java:87) 
at 
com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.pzTemplateRDL_1(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:1467) 
at com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.simpleLayout_3(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:1495) 
at 
com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.pzLayoutBody_3(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:1055)
at com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.pzLayoutContainer_3(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:1586) 
at 
com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.pzLayout_4(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:1601) 
at com.pegarules.generated.html_section.ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.simpleLayoutTemplateCell_5(ra_stream_cpmportalrecents_10cc5c4588d764b1d351e1a9e2f5aee1.java:2590)



Steps to Reproduce



Unknown


Root Cause



A defect in Pegasystems’ code or rules. During a command that removes the current context (for example, Wrapup), a section refresh is triggered. Due to a race condition, by the time the refresh executes, the owning Harness is removed along with the step page.


Resolution



Perform the following local-change:

Create a custom version of @baseclass.CPMPortalRecent that has no content.


 

Published December 19, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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