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

With URL encryption enabled, certain work types cannot be loaded

SA-239

Summary



With URL encryption enabled, certain work types cannot be loaded.

Error Messages



2014-06-09 13:50:09,300 [ WebContainer : 10] (ngineinterface.service.HttpAPI) ERROR <xxxx> com.pega.pegarules.pub.PRRuntimeError
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:683)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:593)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:2841)
.................
Caused by:
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance @baseclass. for non personal RSLH <xxxx> of type Rule-Obj-Activity.
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:1646)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.buildAndOrLoadJavaClass(AssemblyCacheBase.java:1945)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.getGeneratedJava(AssemblyCacheBase.java:3336)
at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.addEntryToMemoryCache(RACacheAppCentricImpl.java:1049)
at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.find(RACacheAppCentricImpl.java:910)
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:264)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3091)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:617)
... 48 more


Steps to Reproduce



Dynamically compose the URL based on various work types (WorkCaseKey), as shown in the example below:

< script>

function StartFlow(FlowKey)
{
parent.openWorkByURL(FlowKey);
}

function helloWorld(WorkCaseKey)
{
FlowKey = "pyActivity=Work-.New&InsClass="+WorkCaseKey+"&FlowType=NewWork&FolderType=pyDefault&HarnessPurpose=New";
StartFlow(FlowKey);
}

< /script>


Root Cause



SafeURL_createFromURL is currently not able to handle partially encrypted URL. It assumes that the URL it passes is fully encrypted.


Resolution



Apply HFix-9616.
Suggest Edit

Published April 12, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

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