Question

Error When Queuing to agent

I have a standard agent to which we queue items. The items are queued from service jms activity.

Whenever I do manual testing and run the service jms rule, I can see the following error logged in log file-

[ Application:01.45.07] (ternal.mgmt.StreamBuilderTools) ERROR site.web.com|121.0.0.1 Akash - Could not find a rule when appending a stream

com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance @baseclass.pzActivityStep of type Rule-HTML-Section.

at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2123)

at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2007)

at com.pega.pegarules.generation.internal.assembly.FUAInstance.getClassSource(FUAInstance.java:2306)

at com.pega.pegarules.generation.external.assembly.Assembler.getClassSource(Assembler.java:945)

at com.pega.pegarules.generation.internal.cache.AssemblerFunctions.assembleRule(AssemblerFunctions.java:143)

at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.buildAndOrLoadJavaClass(AssemblyCacheBase.java:1659)

at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.getGeneratedJava(AssemblyCacheBase.java:3070)

at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.addEntryToMemoryCache(RACacheAppCentricImpl.java:1142)

at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.find(RACacheAppCentricImpl.java:989)

at com.pega.pegarules.generation.internal.cache.AssemblyCacheWrapper.find(AssemblyCacheWrapper.java:799)

at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(FUAManagerImpl.java:1408)

at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(FUAManagerImpl.java:1296)

at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:476)

at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:700)

at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.getStream(IncludeStreamRuntime.java:332)

Also the standard agent does not commit the deffered saves. I have checked couple of hours after queuing the item, but the entries are not updated in table.

I have added explicit commit step in the agent but it still does not work.

If I run the agent activity directly from service activity, instead of queuing to agent, the commit works and all entries including earlier queued to agent are updated in Database.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

December 29, 2017 - 7:49am

Hi,

Could you please attach complete stack trace or rules log for analysis.

Pega
December 29, 2017 - 3:23pm

Hi Akash, 

Please verify your activity again if you are missing to create a page that you are referring to in step page and defined in the pages and classes.