"Cannot read property 'name' of null" in 5.6.1
See original GitHub issue- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
Version:
5.6.1
Description
Error caught in production. I don’t have any way to reproduce.
Error:
TypeError: Cannot read property 'name' of null
at _computeStackTrace(./node_modules/@sentry/browser/esm/tracekit.js:763:22)
at _traceKitWindowOnUnhandledRejection(./node_modules/@sentry/browser/esm/tracekit.js:208:30)
Source:
}
}
catch (e) { }
return {
original: ex,
>>> name: ex.name,
message: ex.message,
mode: 'failed',
};
}
computeStackTrace._augmentStackTraceWithInitialElement = _augmentStackTraceWithInitialElement;
Link to the event: https://sentry.io/share/issue/a9e9f18d850148f8bf4ef445be0840b0/
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'name' of Null in JavaScript
The "Cannot read property 'name' of null" error occurs when accessing the name property on a null value. To solve the error, conditionally...
Read more >how to fix this TypeError: Cannot read property 'name' of null
Although Role is not null , The value of Role.name is null , meaning that it has no value assigned to it. That...
Read more >TFS 2018 RC2 Cannot read property 'name' of null - error on ...
I use a filter with a specific iteration on a storyboard. For example, iteration 1. An error occurred when the administrator deleted iteration...
Read more >typeerror can not read property x of null - YouTube
Join this channel to get access to perks:https://www.youtube.com/channel/UCoSpmr2KNOxjwE_B9ynUmig/joinMy GearCamera ...
Read more >Core Technologies
The property name element refers to the name of the JavaBean property, ... The ApplicationContext lets you read bean definitions and access them, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
raven-js v3 has been changed/evolved/fixed in the timeframe of over 3 years and it had very small API surface, providing not even half of the features we have in the new version. Not to mention support for typescript, es6 modules, multiple builds and so on, so on. That’s why it was battle-tested.
Also, it was mostly used in pre-2018 (when we started to migrate toward v4+). JS changed a lot since then, and it in itself cases more and more troubles.
Anyway, this bug is not even caused by our piece of code, but that’s totally fine, as we depend on it. I’ll patch it and release on Monday.
Cheers!
/OT/
I have to say I’m flabbergasted with bugs/release ratio since
raven-js
- which was production-proven piece of stack, which could be plugged-in and forgotten for months or years to come. These days there are practically no stable releases anymoar, despite approachingv6.0
pretty soon if current trend continues…What happened to Sentry? Did fancy illustrations become more important than well-thought, quality-driven code?