sentry-javascript: SentryError: An event processor returned null, will not send event
Hello, in our web application based on vue 2.6.12 and @sentry/vue 6.10.0 client SDK (we tried even with 6.11.0) we facing with the following error:
Sentry Logger [Error]: SentryError: An event processor returned null, will not send event.
Debugging a little bit the application i extracted the sentry event object that cause the error:
{
"exception": {
"values": [
{
"type": "TypeError",
"value": "Cannot read property 'unitName' of undefined",
"stacktrace": {
"frames": [
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createElm",
"in_app": true,
"lineno": 15783
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createComponent",
"in_app": true,
"lineno": 15836
},
{
"colno": 13,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "init",
"in_app": true,
"lineno": 12977
},
{
"colno": 16,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 21801
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 18904
},
{
"colno": 3,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "mountComponent",
"in_app": true,
"lineno": 13931
},
{
"colno": 12,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "new Watcher",
"in_app": true,
"lineno": 14326
},
{
"colno": 25,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "Watcher.get",
"in_app": true,
"lineno": 14337
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.updateComponent",
"in_app": true,
"lineno": 13924
},
{
"colno": 19,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.Vue._update",
"in_app": true,
"lineno": 13803
},
{
"colno": 7,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.patch [as __patch__]",
"in_app": true,
"lineno": 16331
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createElm",
"in_app": true,
"lineno": 15783
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createComponent",
"in_app": true,
"lineno": 15836
},
{
"colno": 13,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "init",
"in_app": true,
"lineno": 12977
},
{
"colno": 16,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 21801
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 18904
},
{
"colno": 3,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "mountComponent",
"in_app": true,
"lineno": 13931
},
{
"colno": 12,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "new Watcher",
"in_app": true,
"lineno": 14326
},
{
"colno": 25,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "Watcher.get",
"in_app": true,
"lineno": 14337
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.updateComponent",
"in_app": true,
"lineno": 13924
},
{
"colno": 19,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.Vue._update",
"in_app": true,
"lineno": 13803
},
{
"colno": 7,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.patch [as __patch__]",
"in_app": true,
"lineno": 16331
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createElm",
"in_app": true,
"lineno": 15812
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createChildren",
"in_app": true,
"lineno": 15911
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createElm",
"in_app": true,
"lineno": 15783
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createComponent",
"in_app": true,
"lineno": 15836
},
{
"colno": 13,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "init",
"in_app": true,
"lineno": 12977
},
{
"colno": 16,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 21801
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 18904
},
{
"colno": 3,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "mountComponent",
"in_app": true,
"lineno": 13931
},
{
"colno": 12,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "new Watcher",
"in_app": true,
"lineno": 14326
},
{
"colno": 25,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "Watcher.get",
"in_app": true,
"lineno": 14337
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.updateComponent",
"in_app": true,
"lineno": 13924
},
{
"colno": 19,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.Vue._update",
"in_app": true,
"lineno": 13803
},
{
"colno": 7,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.patch [as __patch__]",
"in_app": true,
"lineno": 16331
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createElm",
"in_app": true,
"lineno": 15783
},
{
"colno": 9,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "createComponent",
"in_app": true,
"lineno": 15836
},
{
"colno": 13,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "init",
"in_app": true,
"lineno": 12977
},
{
"colno": 16,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 21801
},
{
"colno": 10,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.webpackJsonp.7+uW.Vue.$mount",
"in_app": true,
"lineno": 18904
},
{
"colno": 3,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "mountComponent",
"in_app": true,
"lineno": 13931
},
{
"colno": 12,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "new Watcher",
"in_app": true,
"lineno": 14326
},
{
"colno": 25,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "Watcher.get",
"in_app": true,
"lineno": 14337
},
{
"colno": 21,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.updateComponent",
"in_app": true,
"lineno": 13924
},
{
"colno": 22,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.Vue._render",
"in_app": true,
"lineno": 13406
},
{
"colno": 21,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.render",
"in_app": true,
"lineno": 75431
},
{
"colno": 47,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "VueComponent.content",
"in_app": true,
"lineno": 75462
},
{
"colno": 37,
"filename": "https://uwa.demo.com/static/js/vendor.d72430d2f3abd7aae0a9.js",
"function": "Object.normalized [as Life]",
"in_app": true,
"lineno": 12449
},
{
"colno": 2114,
"filename": "https://uwa.demo.com/static/js/63.3a66cb6d6dcc5e556a5f.js",
"function": "fn",
"in_app": true,
"lineno": 890
},
{
"colno": 19,
"filename": "https://uwa.demo.com/static/js/63.3a66cb6d6dcc5e556a5f.js",
"function": "VueComponent.getMeasurementUnit",
"in_app": true,
"lineno": 643
}
]
},
"mechanism": {
"handled": true,
"type": "generic"
}
}
]
},
"level": "error",
"event_id": "f8d95a0b6a434a00b8035c8aab03d5ad",
"platform": "javascript",
"timestamp": 1630337380.814,
"environment": "prod",
"release": "v2.11.3",
"sdk": {
"integrations": [
"InboundFilters",
"FunctionToString",
"TryCatch",
"Breadcrumbs",
"GlobalHandlers",
"LinkedErrors",
"Dedupe",
"UserAgent"
],
"name": "sentry.javascript.vue",
"version": "6.10.0",
"packages": [
{
"name": "npm:@sentry/vue",
"version": "6.10.0"
}
]
},
"user": {
"id": "ckmloszb91an50n9pjjb0xejx",
"email": "a@user.com"
},
"contexts": {
"vue": {
"componentName": "<RLTableCell>",
"lifecycleHook": "render",
"trace": "\n\nfound in\n\n---> <RLTableCell>\n <VtTableCell>\n <RLTableRow>\n <VtTableRow>\n <RLTableBody>\n <VtTableBody>\n <RLTable>\n <VtTable>\n <RLClientTable>\n <VtClientTable>\n <CardPanel>\n <ToolingGrid>\n <Anonymous>\n <DefaultLayout>\n <App>\n <Root>",
"propsData": {
"column": "Life"
}
}
},
"breadcrumbs": [
{
"timestamp": 1630337324.111,
"category": "navigation",
"data": {
"from": "/machine/ckqm8767i00nl0hd0sve14xos/tooling",
"to": "/machine/ckqm8767i00nl0hd0sve14xos/tooling"
}
},
{
"timestamp": 1630337324.382,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/F9925/users/me",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.555,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/users/me/notifications?limit=10&skip=0",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.562,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/organizations/F9925",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.565,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/users/me/notifications/count",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.639,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/F9925/machines/ckqm8767i00nl0hd0sve14xos",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.721,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/v2/machines/ckqm8767i00nl0hd0sve14xos/tools?limit=1",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.727,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/F9925/machinegroups/ckmlosz5o1an30n9pqfq8eqh0/machines?skip=0&limit=1000",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.796,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/F9925/machines/ckqm8767i00nl0hd0sve14xos",
"status_code": 200
},
"type": "http"
},
{
"timestamp": 1630337324.817,
"category": "xhr",
"data": {
"method": "GET",
"url": "https://api.demo.com/api/v2/machines/ckqm8767i00nl0hd0sve14xos/tools?skip=1&limit=9",
"status_code": 200
},
"type": "http"
}
],
"request": {
"url": "https://uwa.demo.com/machine/ckqm8767i00nl0hd0sve14xos/tooling",
"headers": {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36"
}
}
}
Hope this help to understand the problem. If you need more detail let me know.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 31 (19 by maintainers)
I’m seeing a slightly different version of this error in an Electron app using the
@sentry/electronv3.0.7 npm package.I’m doing a vanilla init with just:
Since I already have a
window.onerrorhandler registered, I added aSentry.captureException(error)in there, otherwise Sentry would not pick up the error.Thereafter I am seeing the following in the console:
However, the error still seems to show up in the Sentry web app, so not a showstopper.
Through disabling default integrations one-by-one, I found that the error message was caused by the integration “EventToMain”. The following init makes the error go away:
Hope that helps.
@govind-v-natex I’d offer the same suggestion - try turning off integrations and adding them back in. The ones to try first would be
DedupeandInboundFilters. Also, do you have abeforeSenddefined? It’s another thing which can lead to that message. Are you seeing any logs before that which might give any clues?I’m happy to help debug, but it’s tough without more information or a repro.
Sentry Logger [Error]: SentryError: An event processor returned null, will not send event. Facing the same issue in react native application, it’s working fine a week ago, but now encountered with this error.
Hi, @endruuu.
I’ll bring this up with the team so we can discuss what we might be able to improve here. In the meantime, I’ll reopen the issue so we don’t lose track of it.