Skip to content

exception.values.0.stacktrace.frames: Missing value for required attribute #2429

@zeusstl

Description

@zeusstl

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 4.2.3

react-native version: 0.65.1

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

let sentryDebug = (APP_ENV == 'zzzzz') ? false : true; <<<<Obscured for privacy
let sentryInitObj: Sentry.ReactNativeOptions = {
		dsn: SENTRY_DSN,
		debug: sentryDebug,
		environment: APP_ENV,
		release: version,
		dist: 'vxxxxx', <<<<Obscured for privacy
	};
	if ( APP_ENV == "zzzzz") { <<<<Obscured for privacy
		// Prevent console logs from being sent to Sentry on zzzzz <<<<Obscured for privacy
		sentryInitObj.integrations = [new Sentry.BrowserIntegrations.Breadcrumbs({ console: false })];
	}
	Sentry.init(sentryInitObj);

I have following issue:

Error messages that have been in place for years are suddenly having this red message box with:

There was 1 problem processing this event
exception.values.0.stacktrace.frames: Missing value for required attribute

Effectively this doesn't break the app, but it creates an unknown error that the team does not understand. We are concerned that this could have other adverse effects.

[Description]

Steps to reproduce:

  • Run react native app
  • Error occurs somewhere in the app
  • View error in Sentry Issues interface online

Actual result:

  1. The issue in the Sentry issue has this message in a red box:
There was 1 problem processing this event
exception.values.0.stacktrace.frames: Missing value for required attribute
  1. There is also a more strange case of this where the error exception itself is the following:
    Sentry Logger [error]:
    https://sentry.io/organizations/grapevine/issues/3512638624/?project=2682797&query=is%3Aunresolved

Expected result:
To understand why these errors are happening and how to avoid them. It is unclear what Missing value for required attribute is referring to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions