Skip to content

metro-symbolicate return always null:null:null from line/column search #1021

Description

@Aure77

Do you want to request a feature or report a bug?
bug

What is the current behavior?
metro-symbolicate return always null:null:null from line/column search

I got stacktrace ike this:

Non-fatal Exception: io.invertase.firebase.crashlytics.a: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.
       at .<unknown>(ErrorBoundary)
       at .renderWithHooks(address at index.android.bundle:1:237392)
...

I try:

➤ npx metro-symbolicate@0.72.3 index.android.bundle.packager.map 1 237392
null:null:null

or

➤ npx metro-symbolicate@0.72.3 index.android.bundle.packager.map 1
null:null:null

But it always return null:null:null

Did I miss something ?
Il also tried
npx metro-symbolicate@0.72.3 index.android.bundle.packager.map < stacktrace.txt but I got:
TypeError: Line must be greater than or equal to 1, got 0

What is the expected behavior?
should return function associated to line or column...

Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system.
metro 0.72.3
react-native@0.70.8
node@16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions