question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in Hammerhead.js - New Contacts in Salesforce Lighting Experience '22

See original GitHub issue

What is your Scenario?

Issue: When User logs into Salesforce, selects new Contact button, they are met with the following hammerhead.js error.

Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33

What is the Current behavior?

After selecting Contacts tab, or New Contact Button, the following error message is being returned.

Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33

What is the Expected behavior?

After Selecting the Contact tab, or new Contact button, the user should be presented with a contact modal that allows users to input contact data.

What is your public website URL? (or attach your complete example)

For our website there is no public URL, however you will be able to reproduce the error using the Trailhead Lightning Demo Site. https://trailblazer.me/trailblazerlogin https://resilient-shark-wlmrgy-dev-ed.lightning.force.com/lightning/o/Contact/list?filterName=Recent

What is your TestCafe test code?

This is being recreated using the testcafe-hammerhead project and is reproducible through selections in the Trailhead site.

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Setup free Trailhead User at: https://trailblazer.me/trailblazerlogin , using email.
  2. Installed the ‘testcafe-hammerhead’ project
  3. Run Command Line : node node_modules/gulp/bin/gulp http-playground
  4. In the field on the localhost:1400 page, we enter: https://trailhead.salesforce.com/en/content/learn/modules/accounts_contacts_lightning_experience/accounts-and-contacts-lightning
  5. Select ‘Proxy!’ button
  6. Select ‘Log In’ on salesforce / trailhead site.
  7. Select ‘Email’ icon
  8. Enter Email for account set up in ‘Step 1’
  9. Select ‘Log in’ Button.
  10. Retrieve your Single use code from email sent to email address used in ‘Step 1 / Step 8’
  11. Select ‘Continue’ Button
  12. Select ‘Skip for Now’ link
  13. Confirm Page: https://trailhead.salesforce.com/en/content/learn/modules/accounts_contacts_lightning_experience/accounts-and-contacts-lightning loads successfully
  14. Scroll to the bottom of the page and select the ‘Launch’ Button (note. On the initial run this step took a while for the launch button to become active, it eventually did however and was able to proceed)
  15. Wait for Salesforce Lightning Env to load: https://resilient-shark-wlmrgy-dev-ed.lightning.force.com/lightning/page/home
  16. *At this point you may hit the error. If not { Select the dot grid in the top left, then select ‘Sales’ from the ddl. If Sales is not visible search ‘Sales’ in the ‘Search apps and items…’ field. image
  17. Once Sales Dashboard is loaded Select the ‘Contacts’ tab.
  18. *At this point you will see the error message, if not select ‘New’ Contact button. image Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33

TestCafe version

1.19.0

Node.js version

v16.15.1

Command-line arguments

node node_modules/gulp/bin/gulp http-playground

Browser name(s) and version(s)

Version 102.0.5005.115 (Official Build) (64-bit)

Platform(s) and version(s)

No response

Other

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12

github_iconTop GitHub Comments

4reactions
Aleksey28commented, Jun 21, 2022

Thank you for the example. I reproduced the issue. We will update this thread once we have any news. Let us know if you have additional information about the issue.

2reactions
Aleksey28commented, Sep 2, 2022

Hi @aozomaro ,

Unfortunately, we don’t have any news yet and we cannot give you a precise date. Any estimate may be misleading.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error occurs when viewing record in Lightning Experience
When viewing the record in Lightning Experience, the user receives the error:Unfortunately, there was a problem. Please try again.
Read more >
Not able to use lightning because error message keeps ...
Hi Joel, This is mainly caused by the Company Information being inaccurate. ... 2. Confirm if Primary Contact is Active. If not, replace...
Read more >
Blank Navigation Menu for users in lightning experience
There may be an error message in the center of the screen stating: "You don't have access to any items. Please contact your...
Read more >
Supported Browsers and Devices for Lightning Experience
See the supported browsers and devices for Lightning Experience. Where: Lightning Experience is available in Essentials, Group, Professional, Enterprise,...
Read more >
Returning Errors from an Apex Server-Side Controller
Create and throw a System.AuraHandledException from your Apex controller to return a custom error message to a JavaScript controller. Errors happen. Sometimes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found