Question

5
Replies
1071
Views
Shipeng_Tian Member since 2014 18 posts
MBAFC
Posted: September 28, 2015
Last activity: December 1, 2015
Closed
Solved

RuleNotFoundException

Summary:

        1.Somethimes the errors happened not always. And I don't know how to reduplicated.

        2. The Data Transorm ClearLocationCode Exist on SE-FW-CSFFW-Data-DebitCredit.

        3. Is there someone knows how to reduplicate this issue and know the cause reason for this issue.

        (Pega 7.1.6)

The Configuration

I Create a Data Transform Named ClearLocationCode on the class SE-FW-CSFFW-Data-DebitCredit.

Then Create an Section on the Class SE-DXB-CSF-Work-Journal with a Grid repeat layout. The class of the Grid repeat layout is SE-FW-CSFFW-Data-DebitCredit.

In the Item of the grid repeat layout, there was a action call data transform with auto page.

error.PNG

Error Log as follow.

Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Failed to find instance SE-DXB-CSF-Work-Journal.ClearLocationCode

at com.pega.pegarules.session.internal.mgmt.Executable.gatherModelsToExecuteFromAncestors(Executable.java:4267)

at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4150)

at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4322)

at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_4b877ef34e150117aed8fb8f315e433c.step1_circum0(ra_action_pzrunactionwrapper_4b877ef34e150117aed8fb8f315e433c.java:323)

at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_4b877ef34e150117aed8fb8f315e433c.perform(ra_action_pzrunactionwrapper_4b877ef34e150117aed8fb8f315e433c.java:69)

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)

... 45 more

Caused by: com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-MODEL' with the name 'CLEARLOCATIONCODE' that applies to 'SE-DXB-CSF-Work-Journal'. There were 0 rules with this name in the rulebase, but none matched this request.

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.useRuleResolutionToSelectRule(VirtualRuleTableDispatchImpl.java:697)

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolve(VirtualRuleTableDispatchImpl.java:613)

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolveRuleFromListOfClassNames(VirtualRuleTableDispatchImpl.java:534)

at com.pega.pegarules.generation.internal.PRGenProviderImpl.getMultipleClassRelatedInstances(PRGenProviderImpl.java:618)

at com.pega.pegarules.session.internal.mgmt.Executable.gatherModelsToExecuteFromAncestors(Executable.java:4243)

Moderation Team has archived post
Share this page LinkedIn