Skip to content

Event exception stacktrace selected frame (0) has incorrect abs_path (valid url is required). Found native #2921

Closed as not planned
@Eden-Eliel

Description

@Eden-Eliel

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

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

SDK version: 5.2.0

react-native version: 0.70.5

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)

Sentry.init({
      dsn: config.SENTRY_DSN,
      release: getVersion(),
      dist: getBuildNumber(),
      environment: config.ENV_NAME === "Production"
          ? "production"
          : "qa",
      integrations: [
          new Sentry.ReactNativeTracing({
              routingInstrumentation
          }),
      ],
});

I have following issue:

Hey,
I'm trying to get the iOS on our app to work with source maps, however, I encounter some errors when trying to look at the error.
The output of the explain of this:

✔ Fetched data for event: a257684de1db4630b69475cc212bba02
✔ Event has release name: 7.2.3
✔ Event has a valid exception present
✔ Event has a valid stacktrace present
✖ Event exception stacktrace selected frame (0) has incorrect abs_path (valid url is required). Found native

I assume it relates to some issues mentioned here:
#2891
#2683 (comment)

One of the frames in the issue is:
{"function":"apply","filename":"native","abs_path":"native","in_app":true}

which I assume is the cause of this issue, but I thought the new version (5.2.0) should fix it.
Any suggestion?

Actual result:

✔ Fetched data for event: a257684de1db4630b69475cc212bba02
✔ Event has release name: 7.2.3
✔ Event has a valid exception present
✔ Event has a valid stacktrace present
✖ Event exception stacktrace selected frame (0) has incorrect abs_path (valid url is required). Found native

Expected result:

✔ Fetched data for event: 091e863ca2724cb6995b030e65e918ec
✔ Event has release name: 7.2.3
✔ Event has a valid exception present
✔ Event has a valid stacktrace present
⚠ Exception is already source mapped and first resolved frame points to:

                       handleComponent={handleComponent}
                       onAnimate={onSheetAnimate}
                       {...props}
          >
              <RectButton onPress={() => {
>                 throw new Error("Some Flaysh Error!!!")
              }}>
                  Eden
              </RectButton>
              <RectButton onPress={() => {
                  JSON.parse("Flaysh")

Thanks ahead, Eden.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions