Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Why do we get this error in service portal "Server JavaScript error Cannot read property "sys_class_name" from undefined Line number 679 Script source code logged to browser console Failing widget: 'HRJ Task Submit Order Guide' "

Yashaswini
Tera Expert

Hi,

Please can anyone suggest how to fix the error: "Server JavaScript error Cannot read property "sys_class_name" from undefined Line number 679 Script source code logged to browser console Failing widget: 'HRJ Task Submit Order Guide' " in Service Portal.

Am getting this error while trying to submit an order guide in HR task page where HR task type is Submit an Order guide.

PFA.

 

Thanks in advance,

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

refer below links for help

HR tasks with type "Submit Order Guide" throw a null pointer exception on Service Portal "hrj_ticket...

1) when was the last time it worked fine?

2) Did you recently upgrade?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

refer below links for help

HR tasks with type "Submit Order Guide" throw a null pointer exception on Service Portal "hrj_ticket...

1) when was the last time it worked fine?

2) Did you recently upgrade?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thank you for suggesting solution.

 
 
 
 
Correct Answers 50
Helpful Answers 150
 

ayushibahuguna2
Tera Contributor

Hi Yashaswini,

Did you manage to find the solution to this issue? I am also getting the exact same error. Any help would be greatly appreciated.

Thanks in Advance.

Regards,

Ayushi.

Kristian Johns3
Tera Expert

I am also seeing this issue. The link in the "correct" answer points to a different error and the fix of setting two-step checkout to true doesn't help. Do the widget updates fix the undefined sys_class_name error? And if so, how do you edit the widget the read-only widget?

Ram141
Tera Expert

I'm also getting the same error on OOB widget , Please provide your valuable suggestions to solve this.