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.

Cannot read property 'hexData' of undefined

See original GitHub issue

Problem encountered on my.comma.ai. To reproduce the problem just click on any message and then try to select any message portion in message details area.

Just to add, after this error the page goes blank so it is a critical error as cabana is is not usable anymore.

console.js:39 TypeError: Cannot read property 'hexData' of undefined
    at MessageBytes.shouldComponentUpdate (MessageBytes.js:31)
    at gg (react-dom.production.min.js:2869)
    at Lh (react-dom.production.min.js:3870)
    at mj (react-dom.production.min.js:6116)
    at jj (react-dom.production.min.js:5101)
    at Z (react-dom.production.min.js:4958)
    at $i (react-dom.production.min.js:4817)
    at react-dom.production.min.js:2543
    at n.unstable_runWithPriority (scheduler.production.min.js:338)
    at vf (react-dom.production.min.js:2513)
    at yf (react-dom.production.min.js:2538)
    at O (react-dom.production.min.js:2528)
    at eg (react-dom.production.min.js:4773)
    at Object.enqueueSetState (react-dom.production.min.js:2840)
    at CanExplorer.D.setState (react.production.min.js:60)
    at CanExplorer._callee3$ (CanExplorer.js:763)
    at tryCatch (runtime.js:45)
    at Generator.invoke [as _invoke] (runtime.js:264)
    at Generator.forEach.e.<computed> [as next] (runtime.js:98)
    at asyncGeneratorStep (asyncToGenerator.js:3)
    at _next (asyncToGenerator.js:25)
e.<computed> @ console.js:39
di @ react-dom.production.min.js:4260
r.callback @ react-dom.production.min.js:4659
Zf @ react-dom.production.min.js:2808
Yf @ react-dom.production.min.js:2796
nj @ react-dom.production.min.js:5821
n.unstable_runWithPriority @ scheduler.production.min.js:338
vf @ react-dom.production.min.js:2513
ij @ react-dom.production.min.js:5547
$i @ react-dom.production.min.js:4817
(anonymous) @ react-dom.production.min.js:2543
n.unstable_runWithPriority @ scheduler.production.min.js:338
vf @ react-dom.production.min.js:2513
yf @ react-dom.production.min.js:2538
O @ react-dom.production.min.js:2528
eg @ react-dom.production.min.js:4773
enqueueSetState @ react-dom.production.min.js:2840
D.setState @ react.production.min.js:60
_callee3$ @ CanExplorer.js:763
tryCatch @ runtime.js:45
invoke @ runtime.js:264
forEach.e.<computed> @ runtime.js:98
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
loadMessagesFromCache @ main.2c9f4575.chunk.js:1
persistDbc @ CanExplorer.js:970
onConfirmedSignalChange @ CanExplorer.js:977
propagateUpSignalChange @ AddSignals.js:520
onBitMouseUp @ AddSignals.js:367
ka @ react-dom.production.min.js:81
qa @ react-dom.production.min.js:101
ra @ react-dom.production.min.js:105
wa @ react-dom.production.min.js:125
Aa @ react-dom.production.min.js:154
ya @ react-dom.production.min.js:143
Ba @ react-dom.production.min.js:167
Pd @ react-dom.production.min.js:1749
Ud @ react-dom.production.min.js:1813
n.unstable_runWithPriority @ scheduler.production.min.js:338
vf @ react-dom.production.min.js:2513
fj @ react-dom.production.min.js:4863
Sd @ react-dom.production.min.js:1783
wrapped @ raven.js:363
asyncToGenerator.js:6 Uncaught (in promise) TypeError: Cannot read property 'hexData' of undefined
    at MessageBytes.shouldComponentUpdate (MessageBytes.js:31)
    at gg (react-dom.production.min.js:2869)
    at Lh (react-dom.production.min.js:3870)
    at mj (react-dom.production.min.js:6116)
    at jj (react-dom.production.min.js:5101)
    at Z (react-dom.production.min.js:4958)
    at $i (react-dom.production.min.js:4817)
    at react-dom.production.min.js:2543
    at n.unstable_runWithPriority (scheduler.production.min.js:338)
    at vf (react-dom.production.min.js:2513)
    at yf (react-dom.production.min.js:2538)
    at O (react-dom.production.min.js:2528)
    at eg (react-dom.production.min.js:4773)
    at Object.enqueueSetState (react-dom.production.min.js:2840)
    at CanExplorer.D.setState (react.production.min.js:60)
    at CanExplorer._callee3$ (CanExplorer.js:763)
    at tryCatch (runtime.js:45)
    at Generator.invoke [as _invoke] (runtime.js:264)
    at Generator.forEach.e.<computed> [as next] (runtime.js:98)
    at asyncGeneratorStep (asyncToGenerator.js:3)
    at _next (asyncToGenerator.js:25)
shouldComponentUpdate @ MessageBytes.js:31
gg @ react-dom.production.min.js:2869
Lh @ react-dom.production.min.js:3870
mj @ react-dom.production.min.js:6116
jj @ react-dom.production.min.js:5101
Z @ react-dom.production.min.js:4958
$i @ react-dom.production.min.js:4817
(anonymous) @ react-dom.production.min.js:2543
n.unstable_runWithPriority @ scheduler.production.min.js:338
vf @ react-dom.production.min.js:2513
yf @ react-dom.production.min.js:2538
O @ react-dom.production.min.js:2528
eg @ react-dom.production.min.js:4773
enqueueSetState @ react-dom.production.min.js:2840
D.setState @ react.production.min.js:60
_callee3$ @ CanExplorer.js:763
tryCatch @ runtime.js:45
invoke @ runtime.js:264
forEach.e.<computed> @ runtime.js:98
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
loadMessagesFromCache @ main.2c9f4575.chunk.js:1
persistDbc @ CanExplorer.js:970
onConfirmedSignalChange @ CanExplorer.js:977
propagateUpSignalChange @ AddSignals.js:520
onBitMouseUp @ AddSignals.js:367
ka @ react-dom.production.min.js:81
qa @ react-dom.production.min.js:101
ra @ react-dom.production.min.js:105
wa @ react-dom.production.min.js:125
Aa @ react-dom.production.min.js:154
ya @ react-dom.production.min.js:143
Ba @ react-dom.production.min.js:167
Pd @ react-dom.production.min.js:1749
Ud @ react-dom.production.min.js:1813
n.unstable_runWithPriority @ scheduler.production.min.js:338
vf @ react-dom.production.min.js:2513
fj @ react-dom.production.min.js:4863
Sd @ react-dom.production.min.js:1783
wrapped @ raven.js:363

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
kiansheikcommented, Aug 18, 2020

I created a fix, but I am not sure how reliable it is. I will test it and make a PR if it works.

1reaction
kiansheikcommented, Aug 18, 2020

I am having this same exact error. I just bought a white panda and I cannot start the process of reverse engineering my car’s CAN messages at the moment with this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property of '...' undefined [closed] - Stack Overflow
In console.log(convertToHex()). your are not passing any parameter to convertToHex , and that function expects a parameter:
Read more >
web3.utils — web3.js 1.0.0 documentation - Read the Docs
The difference between this function and the soliditySha3 function is that it will return the hash value instead of null if for example...
Read more >
Cannot read property 'fromWei' of undefined, working good in ...
I'm getting this error when I'm trying to convert Wei to Ether using the code window.web3.utils.fromWei("200000",'ether'). This error shows only ...
Read more >
asimov-wallet - npm
Transaction Hex Data. let hexTX = await wallet. ... Contract Call Hex Data ... TypeError: Cannot read property 'makeFullTupleTypeDefinition' of undefined.
Read more >
[Plugin] Web3 & MetaMask by NovaBloq - #520 by support2
... MetaMask threw the following error: TypeError: Cannot read properties of undefined (reading 'eth') at ... Action Smart Contract - Read Web3&MetaMask A....
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