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 when creating a contact in SalesForce lightning experience

See original GitHub issue

What is your Scenario?

Use TestCafe for testing SalesForce.

What is the Current behavior?

Attempting to click various buttons in SalesForce results in an error that results in a technical error reported as follows:

[Cannot read property 'hammerhead|event|internal-blur' of null]
_cancelInternalEvents()@http://10.1.156.24:54555/hammerhead.js:7:20424
{anonymous}()@http://10.1.156.24:54555/hammerhead.js:7:25695
HTMLElement.dispatchEvent()@http://10.1.156.24:54555/hammerhead.js:7:19465
eval()@https://<omitted>.lightning.force.com/components/lightning/inputName.js:1:4173
eval()@https://<omitted>.lightning.force.com/components/lightning/utilsPrivate.js:1:9214
e.EventEmitter.emit()@https://<omitted>.lightning.force.com/components/lightning/utilsPrivate.js:1:9195
eval()@https://<omitted>.lightning.force.com/components/lightning/inputUtils.js:1:6087

What is the Expected behavior?

No errors from hammerhead.

What is your public web site URL?

There is no public way to access this to my knowledge.

Steps to Reproduce:

Attempt to create a contact in the lightning component version of SalesForce.

Your Environment details:

  • node.js version: v12.19.0, v16.5.0
  • browser name and version: Chrome 91
  • platform and version: Windows 10
  • other: I don’t mind trying to debug this with a little bit of direction on how to set up hammerhead in such a way that it can be debugged via TestCafe, or demoing the issue to someone more familiar with debugging TestCafe/hammerhead.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
LavrovArtemcommented, Jul 28, 2021

@Asuza thank you for your willingness to help. I am planning to start working on this issue in the current sprint. So, I believe I can handle it myself soon.

1reaction
Dmitry-Ostashevcommented, Jul 20, 2021

@Asuza thank you for the detailed steps. I’ve reproduced the issue on this demo website. We will research the problem and update this thread once we have any news.

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Receives an Error after Lightning Experience is Enabled
This is mainly caused by the Company Information being inaccurate. Go to Setup. On the Quick Find box, enter Company Information and click...
Read more >
Lightning Experience Features in This Release
Experience · Lightning Components · Make Long-Running Callouts with Continuations · Einstein Platform Services · Training Requests from Paid Plans Are Prioritized.
Read more >
Not able to use lightning because error message keeps ...
This is mainly caused by the Company Information being inaccurate. 2. Confirm if Primary Contact is Active. If not, replace with an Active...
Read more >
Error 'data value too large' for field updates in Lightning ...
When you have a field update from a workflow rule that updates a text field using another text field with higher capacity, you'll...
Read more >
Error occurs when viewing record in Lightning Experience
One of the reasons a user would see this error is if related list component in Lightning page is referring to an object...
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