Skip to content

Crash: undefined is not an object in com.facebook.react.bridge.JavaMethodWrapper #9768

@loremattei

Description

@loremattei

This one started on 11.9 and seems to be related to React. It has been pretty common in all the subsequent version and had a weird spike a couple of days ago.

React Native side of the stacktrace:

Fatal Exception: com.facebook.react.common.JavascriptException: TypeError: undefined is not an object (evaluating 'n.url.indexOf')

This error is located at:
    in h
    in u
    in WithFilters(u)
    in F
    in RCTView
    in RCTView
    in TouchableWithoutFeedback
    in t
    in P
    in WithDispatch(t)
    in b
    in WithSelect(WithDispatch(t))
    in RCTView
    in RCTView
    in c
    in RCTView
    in c
    in RCTView
    in RCTScrollView
    in E
    in z
    in _
    in RCTView
    in _
    in f
    in c
    in RCTView
    in RCTView
    in h
    in p
    in P
    in WithDispatch(p)
    in b
    in WithSelect(WithDispatch(p))
    in S
    in h
    in WithRegistry(h)
    in P
    in WithDispatch(WithRegistry(h))
    in o
    in P
    in WithDispatch(o)
    in b
    in WithSelect(WithDispatch(o))
    in s
    in p
    in RCTView
    in RCTView
    in c, stack:
value@1308:1290
Ji@100:67747
ea@100:69782
<unknown>@100:81296
unstable_runWithPriority@178:3238
ja@100:81253
Oa@100:81007
Wa@100:80310
Aa@100:79323
sa@100:78013
Ba@100:82505
render@100:85076
exports@351:592
run@347:615
runApplication@347:2017
value@51:3311
<unknown>@51:822
value@51:2565
value@51:794

and the native side stacktrace:

#0. Crashed: mqt_native_modules
       at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
       at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
       at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
       at android.os.Looper.loop(Looper.java:154)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232)
       at java.lang.Thread.run(Thread.java:761)

5bd5cd39f8b88c29638eaf23-fabric

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions