We are getting the below error while trying to open a resolved Case –
"There was an error with this fields customized event."
"Field : window"
"Event: onload"
“Unable to get property 'style' of undefined or null reference” Please find the attached screenshot for the same.
Few points about our implementation and error –
1. We have installed the UR13.
2. We have rename “Case” as “Work Item”
3. We have hidden all the out of box button from the ribbon for Case and kept only one tab that is “Work Item”.
4. While opening a resolved work item some time it gives the error not all the time.
5. We have custom JavaScript for On load event but the error comes before it reach there.
6. The error has come from “PageLoader.js” file
7. The function that throws the error is also given below –
var _actionQueuePerfMarkers=[]; function executeAction(action) { var actionName=getFuncName(action); if(actionName=="") actionName="anonymous"; var st=(new Date).getTime(); try { action() } catch(e) { if(e.number!=-2146823277) throw e } }
The main road block here is in case the page has on load error it will not load the rest of the page correctly. Example: It will not load the sub grids in the page The “Next” and “Previous” button will be disabled.
Kindly suggest if there is any way around to bypass the error. Also inform if further info is required.