Question
Infosys
AU
Last activity: 19 Aug 2018 1:33 EDT
Error when trying to display harness
I am facing a display error in the portal when i click on any of links in the pyCaseManagerLinks navigation menu.This error started showing up only after i added a made some changes to the ootb pyCaseManagerLinks to add a link called "Config Rules". The Config Rules has two actions onclick - launch harness and run script. Please find the screenshots attached for reference.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Anuj,
There is a PDN article with a similar error, please go through the resolution suggested and let us know if it helps:
https://community.pega.com/support/support-articles/section-execution-error-page-pydisplayharness-0
Regards,
Evita.
Infosys
AU
The article has a similar error but the cause is different. It states the occurrence of the error when the portal is opened and kept idle for 10 mins, after which the pyCaseManagerLinks is clicked on. I don't see this error after keeping the portal idle for 10 mins and then accessing it. I see it when :
1.open the portal for the first time
2.Click on all the four links each once.
3.Close the portal and reopen it.
Pegasystems Inc.
IN
Hi Anuj,
For testing purpose, remove the "Run Script" action and check if you get the error in Harness.
Regards,
Evita.
Infosys
AU
Tried this. Doesn't change anything. The error still persists
Pegasystems Inc.
US
Can you attach the stack trace from the log?
Updated: 16 Nov 2017 5:20 EST
Infosys
AU
2017-11-14 04:38:27,622 [fault (self-tuning)'] [TABTHREAD4] [psNavigator:01.01.01] (essWithClass._baseclass.Action) ERROR ibpm-dev.xx.com| Proprietary information hiddenanewreka - Failed Show Harness action running on pyDisplayHarness page.
2017-11-14 04:38:27,622 [fault (self-tuning)'] [TABTHREAD4] [psNavigator:01.01.01] (essWithClass._baseclass.Action) ERROR ibpm-dev.xx.com| Proprietary information hidden anewreka - These are parameters received:
2017-11-14 04:38:27,622 [fault (self-tuning)'] [TABTHREAD4] [psNavigator:01.01.01] (essWithClass._baseclass.Action) ERROR ibpm-dev.xx.com| Proprietary information hidden anewreka - ReadOnly:0
bPersist:true
headerButtonsAdded:false
portalThreadName:OpenPortal
tabIndex:5
FieldError:
pzAKey:
pzULabel:Cancel
inStandardsMode:true
bExcludeLegacyJS:true
threadFamilyName:
pyStreamName:pyDashboard7
action:display
key:Dashboard
pyCustomError:
label:Dashboard
AJAXTrackID:1
pyActivity:@baseclass.doUIAction
pzPrimaryHarnessPageName:pyDisplayHarness
LAYOUT_METHOD_NAME:simpleLayout_2
pzPrimaryPage:pyDisplayHarness
ErrorMessage:Section 'pyDashboard7' execution error on page 'pyDisplayHarness' of class ''. : Problem in JSP fragment
dynamicContainerID:f9e64470-c4fa-4e63-b814-0a50f75d0647
Purpose:pyDashboard7
harnessName:pyDashboard7
pzPrimaryPageName:pyDisplayHarness
threadID:PS1__TABTHREAD4
pzHarnessID:HIDB8762D3AC9C032D7EFEDBFCF2D6B6967
model:pyDefault
pega_attributes:
FormError:
pyRecordKey:
RenderSingle:
section_base_ref: NAME='BASE_REF' BASE_REF=''
className:
pzPrimaryHarnessPageClass:
pyPrimaryPage:pyDeveloper
portalName:OpsNavigatorCaseManager7
OUT:{pyClassName=Data-Portal, pyStreamName=pyDashboard7, pzInput=InputEnabled, pxObjClass=Rule-HTML-Harness}
contentID:39cc3f00-b70f-f711-4e27-a74cf1e50c27
pyContentType:
AlwaysShowFormLevelErrors:false
preActivity:pyUpdatePortalContext
KeepFixedVisible:true
iconPath:
readOnly:0
InHarness:true
performPreProcessing:true
portalThread:OpenPortal
elementAction:OPEN
IgnoreDirty:false
Pegasystems Inc.
US
It looks like it could be similar to this issue since you mentioned closing the portal and opening it again. What version are you using?
-
Prashanth S
Infosys
AU
I am working on version 7.2.1. This is the same issue and i've seen this link before. But we have kept installing the hotfix as the last option and i want to make sure we have run out of all the possible alternatives to fix this before we proceed on installing the hotfix.
I can see the replaceCurrent parameter in the params required for the function pega.desktop.showharness used in the navigation menu and i have set it to true. But this happens only onclick. So the error still appears when i open the portal and then vanishes only after i click on the link.
Please see the below screenshot for reference:
I believe setting this parameter before click on the links is a permanent fix, but i don't see how it can be done.
TSPi
US
Hi ,
We also have a similar requirement,Just try to remove the value of replace current harness . and add one more script with the function name as "removeScreenLayoutMask". Hope this would work.
Thanks
Karim
CollabPartnerz
IN
-
Kyle MacArthur