This message was deleted.
# helpdesk
s
This message was deleted.
e
hey can you provide what os you’re seeing this on, as well as crash logs?
n
Hey, sure
the bug happens on both ios and android when opening the app in release mode
here are the logs
Copy code
2023-06-18 18:24:42.067 27745-27813/? E/ReactNativeJS: TypeError: undefined is not an object (evaluating 'r(d[8]).Room')
    
    This error is located at:
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in PanGestureHandler
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in RCTView
        in Unknown
        in G
        in Unknown
        in RNSScreen
        in f
        in Unknown
        in M
        in P
        in Unknown
        in RNSScreenContainer
        in ScreenContainer
        in Unknown
        in D
        in T
        in Unknown
        in RCTView
        in Unknown
        in Unknown
        in H
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in PanGestureHandler
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in RCTView
        in Unknown
        in G
        in Unknown
        in RNSScreen
        in f
        in Unknown
        in M
        in P
        in Unknown
        in RNSScreenContainer
        in ScreenContainer
        in Unknown
        in D
        in T
        in Unknown
        in RCTView
        in Unknown
        in Unknown
        in H
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in k
        in RNSScreen
        in f
        in Unknown
        in M
        in P
        in Unknown
        in RNSScreenContainer
        in ScreenContainer
        in Unknown
        in H
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in PanGestureHandler
        in Unknown
        in RCTView
        in Unknown
        in f
        in Unknown
        in RCTView
        in Unknown
        in G
        in Unknown
        in RNSScreen
        in f
        in Unknown
        in M
        in P
        in Unknown
        in RNSScreenContainer
        in ScreenContainer
        in Unknown
        in D
        in T
        in Unknown
        in GestureHandlerRootView
        in Unknown
        in H
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in Unknown
        in c
        in RNCSafeAreaProvider
        in Unknown
        in s
        in C
        in n
        in Unknown
        in RCTView
        in Unknown
        in RCTView
        in Unknown
        in C
2023-06-18 18:24:42.070 27745-27813/? I/ReactNativeJS: { error: 
       { [TypeError: undefined is not an object (evaluating 'r(d[8]).Room')]
         componentStack: '\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in PanGestureHandler\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in RCTView\n    in Unknown\n    in G\n    in Unknown\n    in RNSScreen\n    in f\n    in Unknown\n    in M\n    in P\n    in Unknown\n    in RNSScreenContainer\n    in ScreenContainer\n    in Unknown\n    in D\n    in T\n    in Unknown\n    in RCTView\n    in Unknown\n    in Unknown\n    in H\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in PanGestureHandler\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in RCTView\n    in Unknown\n    in G\n    in Unknown\n    in RNSScreen\n    in f\n    in Unknown\n    in M\n    in P\n    in Unknown\n    in RNSScreenContainer\n    in ScreenContainer\n    in Unknown\n    in D\n    in T\n    in Unknown\n    in RCTView\n    in Unknown\n    in Unknown\n    in H\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in k\n    in RNSScreen\n    in f\n    in Unknown\n    in M\n    in P\n    in Unknown\n    in RNSScreenContainer\n    in ScreenContainer\n    in Unknown\n    in H\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in PanGestureHandler\n    in Unknown\n    in RCTView\n    in Unknown\n    in f\n    in Unknown\n    in RCTView\n    in Unknown\n    in G\n    in Unknown\n    in RNSScreen\n    in f\n    in Unknown\n    in M\n    in P\n    in Unknown\n    in RNSScreenContainer\n    in ScreenContainer\n    in Unknown\n    in D\n    in T\n    in Unknown\n    in GestureHandlerRootView\n    in Unknown\n    in H\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in Unknown\n    in c\n    in RNCSafeAreaProvider\n    in Unknown\n    in s\n    in C\n    in n\n    in Unknown\n    in RCTView\n    in Unknown\n    in RCTView\n    in Unknown\n    in C',
         isComponentError: true,
         line: 2257,
         column: 1065,
         sourceURL: 'index.android.bundle' } }
second error
Copy code
2023-06-18 18:24:42.840 27745-27813/? E/ReactNativeJS: TypeError: this.methodFactory is not a function. (In 'this.methodFactory(a,t,n)', 'this.methodFactory' is undefined)
    
    --------- beginning of crash
2023-06-18 18:24:42.850 27745-27814/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
    Process: io.uhubs.development, PID: 27745
    com.facebook.react.common.JavascriptException: TypeError: this.methodFactory is not a function. (In 'this.methodFactory(a,t,n)', 'this.methodFactory' is undefined), stack:
    n@2258:1061
    setLevel@2258:2040
    r@2258:2577
    i@2258:2595
    <unknown>@2258:3019
    d@2258:3033
    <unknown>@2258:395714
    h@2:1585
    d@2:958
    <unknown>@2257:1058
    Nr@81:45962
    RoomPage@2257:1034
    wr@81:42144
    Hl@81:89901
    Ba@81:79143
    Oa@81:79045
    ja@81:78810
    Ia@81:75972
    Ia@-1
    <unknown>@81:26350
    unstable_runWithPriority@144:3806
    ht@81:26297
    pt@81:26232
    Pa@81:73345
    Vr@81:47944
    Vr@-1
    <unknown>@903:465
    <unknown>@914:548
    <unknown>@914:548
    <unknown>@914:548
    <unknown>@920:747
    t@918:289
    k@916:477
    <unknown>@916:611
    <unknown>@2113:2520
    generatorResume@-1
    n@281:68
    v@281:279
    f@92:154
    <unknown>@92:863
    p@98:497
    b@98:895
    callImmediates@98:2990
    value@48:2779
    <unknown>@48:937
    value@48:2459
    value@48:907
    value@-1
    value@-1
    
        at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:942)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
        at android.os.Looper.loopOnce(Looper.java:226)
        at android.os.Looper.loop(Looper.java:313)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
        at java.lang.Thread.run(Thread.java:1012)
e
this only happens on release?
n
Yes, on debug works w/o any issue
e
gotcha, I’ll check it out
n
Ok, thank you very much. I am not sure why this is happening since when in debug works fine but in release once I reach the screen with the room logic the app crashes
Hey, @eager-raincoat-52616, sorry for bothering you but did you had a look over my issue?