com.tns.NativeScriptException: Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266

GitHub | alpinparker | 3 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    TypeError: Cannot read property 'messaging' of undefined

    GitHub | 3 weeks ago | alpinparker
    com.tns.NativeScriptException: Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266
  2. 0

    Getting a TypeError: Cannot read property 'android' of undefined

    GitHub | 5 months ago | getmetorajesh
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function TypeError: Cannot read property 'android' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.testmaps/files/app/tns_modules/nativescript-google-maps-utils/index.js', line: 7, column: 34 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.testmaps/files/app/app.component.js', line: 5, column: 23 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.testmaps/files/app/main.js', line: 4, column: 23 Frame: function:'require', file:'', line: 1, column: 266
  3. 0

    Including plugin causes android app to crash

    GitHub | 9 months ago | lowe0292
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Fail to load module: /data/data/com.yourdomain.appname/files/app/app.js TypeError: Cannot read property 'client' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-websockets/websockets.js', line: 44, column: 36 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-firebase/firebase.js', line: 1, column: 70 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app/components/home/home.component.js', line: 16, column: 16 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app/components/app/app.component.js', line: 21, column: 24 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/pages/app/app.component.js', line: 25, column: 23 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app.js', line: 19, column: 23 Frame: function:'require', file:'', line: 1, column: 266
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RadSideDrawer - ui/core/view.CustomLayoutView undefined

    GitHub | 6 months ago | Farbdose
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function TypeError: Cannot read property 'extend' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'__extends', file:'/data/data/org.nativescript.EZPZEventEpp/files/internal/ts_helpers.js', line: 47, column: 13 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/content-view/content-view.js', line: 4, column: 5 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/content-view/content-view.js', line: 85, column: 2 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/page/page-common.js', line: 1, column: 82 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/page/page.js', line: 1, column: 78 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/frame/frame-common.js', line: 2, column: 14 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/frame/frame.js', line: 1, column: 79 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/application/application-common.js', line: 3, column: 13 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/application/application.js', line: 1, column: 77 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/styling/style.js', line: 1, column: 79 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/core/view-common.js', line: 2, column: 13 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/core/view.js', line: 1, column: 78 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/core/bindable.js', line: 7, column: 18 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/ui/core/proxy.js', line: 1, column: 76 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/nativescript-telerik-ui-pro/sidedrawer/sidedrawer-common.js', line: 2, column: 13 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/nativescript-telerik-ui-pro/sidedrawer/sidedrawer.js', line: 1, column: 74 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/tns_modules/nativescript-telerik-ui-pro/sidedrawer/angular/side-drawer-directives.js', line: 2, column: 20 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/app.component.js', line: 4, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.EZPZEventEpp/files/app/main.js', line: 7, column: 23 Frame: function:'require', file:'', line: 1, column: 266
  6. 0

    Not working for android NS 1.6.1

    GitHub | 12 months ago | Daxito
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: 
Error calling module function TypeError: Cannot read property 'widget' of undefined
File: "<unknown>, line: 1, column: 265 StackTrace: 
Frame: function:'', file:'/data/data/com.yyy.yy/files/app/tns_modules/nativescript-snackbar/index.js', line: 144, column: 49
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'/data/data/com.yyy.yy/files/app/service/connection-monitor.js', line: 4, column: 16
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'/data/data/com.yyy.yy/files/app/app.js', line: 4, column: 25


    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tns.NativeScriptException

      Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266

      at com.tns.Runtime.runModule()
    2. com.tns
      NativeScriptApplication.onCreate
      1. com.tns.Runtime.runModule(Native Method)
      2. com.tns.Runtime.runModule(Runtime.java:514)
      3. com.tns.Runtime.run(Runtime.java:509)
      4. com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)
      4 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1015)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4757)
      3. android.app.ActivityThread.access$1500(ActivityThread.java:160)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1381)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:135)
      7. android.app.ActivityThread.main(ActivityThread.java:5466)
      7 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:984)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
      2 frames