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" when customer error section missing

SA-20330

Summary



Log file shows "Unhandled exception executing JSP: Failed to find instance" errors

Error Messages



2016-02-17 13:59:00,857 [ WebContainer : 8] [WorkThread] [your_ruleset:01.01.01] (ternal.mgmt.StreamBuilderTools) ERROR your_hostname|127.0.0.1 your_operator- Problem appending stream null
com.pega.pegarules.pub.PRRuntimeException: Unhandled exception executing JSP: Failed to find instance MY-FW-Data.MyErrorSection for non personal RSLH f6885a0198883721c48e3f1c075dc50d Top App Hash
. . .
Caused by:
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance MY-FW-Data.MyErrorSection for non personal RSLH f6885a0198883721c48e3f1c075dc50d Top App Hash WorkflowFinal!en_US_!Workflow:User!1.7.1$04949993b06b9bfdff717a1c6072fe4b of type Rule-HTML-Section.
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2652)
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2445)
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getClassSource(FUAInstance.java:2813)
at com.pega.pegarules.generation.external.assembly.Assembler.getClassSource(Assembler.java:1003)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.assembleRule(AssemblyCacheBase.java:1501)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.buildAndOrLoadJavaClass(AssemblyCacheBase.java:1800)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.getGeneratedJava(AssemblyCacheBase.java:3205)
at com.pega.pegarules.generation.internal.cache.RACacheImpl.addEntryToMemoryCache(RACacheImpl.java:5590)
at com.pega.pegarules.generation.internal.cache.RACacheImpl.find(RACacheImpl.java:1031)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheWrapper.find(AssemblyCacheWrapper.java:781)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(FUAManagerImpl.java:1315)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(FUAManagerImpl.java:1245)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:265)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3596)
... 71 more

Steps to Reproduce



Specify a custom error secton on the Display Options tab of the harness rule without including that section on the design-time layout.

Root Cause



The Display Options tab of the harness rule indicates that if a customer error section is specified, it needs to be included on the design-time layout, and for this case it wasn't.

Resolution



If specifying a custom error section on the Display Options tab of the harness rule,  also include that section on the layout.

Published March 5, 2016 - 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