Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Error: "o is null" Function Name: ShowContactCardOnFormWeb Resource Name: SalesPro/Common/msdynce_Common.js

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I get the error message below when I try to save an opportunity. First I thought that it has something to do with my custom onload script but I removed the script from the event handler and I still get the error.

What can I do to debug or resolve this issue?

Thank you for your support

----


One of the scripts for this record has caused an error. For more details, download the log file.

o is null
Session Id: ce918d9a-9edd-4df0-9a6c-beb83e1046c4
Correlation Id: 44728843-f91a-42a3-b82d-ea51a130f99d
Event Name: onload
Function Name: ShowContactCardOnFormWeb
Resource Name: SalesPro/Common/msdynce_Common.js
Solution Name: msdyn_SalesPro
Publisher Name: microsoftdynamics
Time: Wed Aug 04 2021 14:18:00 GMT+0200 (Central European Summer Time)

---

ShowContactCardOnForm@https://<url>.crm4.dynamics.com/%7b637636743130000142%7d/webresources/SalesPro/Common/msdynce_Common.js:1:13095
_executeFunctionInternal@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:4612
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:3824
_executeIndividualEvent/<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:24008
i@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:286:88
_executeIndividualEvent@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:23982
_executeEventHandler@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:21124
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:18605
_executeSyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:692
_executeSync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:419
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:201
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
execute@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:22455
_executeSyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:692
_executeSync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:419
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:201
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1235
k/</</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19211
promise callback*k/</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19201
promise callback*k/</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:18761
promise callback*k/<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:18731
k@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19325
he@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19655
le/e</</</</s<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:14392
promise callback*le/e</</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:14334
le/e</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15633
le/e</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15672
promise callback*le/e<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:11534
le@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15699
execute@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:24299
_executeAsyncAction/i<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1367
_executeAsyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1068
_executeAsync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:912
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:177
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
nt@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:169:30149
save@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:169:26805
SaveLibrary/this.saveForm@https://<url>.crm4.dynamics.com/%7b637636743130000142%7d/webresources/Main_system_library.js:1:305696
_executeFunctionInternal@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:4612
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:3824
execute/</p</<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:4130
i@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:286:88
execute/</p<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:4120
execute/<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:3105
promise callback*execute@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:3079
_executeAsyncAction/i<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1367
_executeAsyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1068
_executeAsync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:912
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:177
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
K/<@https://<url>.crm4.dynamics.com/uclient/scripts/3.js?v=1.4.2951-2107.1:47:19850
g@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:3826:1062
S@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:3826:1205


Error Details:
Event Name: onload
Function Name: ShowContactCardOnForm
Web Resource Name: SalesPro/Common/msdynce_Common.js
Solution Name: msdyn_SalesPro
Publisher Name: microsoftdynamics

  • Suggested answer
    Dima M. Profile Picture
    Dima M. 44 on at
    Error: "o is null" Function Name: ShowContactCardOnFormWeb Resource Name: SalesPro/Common/msdynce_Common.js
    Hi. If this is still an issue, see my reply in the following thread for a possible solution: https://community.dynamics.com/forums/thread/details/?threadid=95cc16b2-d82e-ef11-840a-0022482e3bd5
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: "o is null" Function Name: ShowContactCardOnFormWeb Resource Name: SalesPro/Common/msdynce_Common.js

    Hi,

    Have you checked whether the bound js is correct? It may be that the wrong js is bound and the method cannot be found.

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: "o is null" Function Name: ShowContactCardOnFormWeb Resource Name: SalesPro/Common/msdynce_Common.js

    Hi,

    After you remove the onload event in the event handler, do you save and publish it again?

    If the event is successfully removed, this error should no longer occur.

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans