com.tns.NativeScriptException: Calling js method onLocationChanged failed TypeError: Cannot set property 'latitude' of undefined File: "/data/data/org.nativescript.elektra/files/app/app.component.js, line: 44, column: 30 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.elektra/files/app/app.component.js', line: 44, column: 31 Frame: function:'android.location.LocationListener.onLocationChanged', file:'/data/data/org.nativescript.elektra/files/app/tns_modules/nativescript-geolocation/nativescript-geolocation.js', line: 25, column: 17

Stack Overflow | Julisch | 4 months ago
  1. 0

    Nativescript Angular: cannot read property of undefined

    Stack Overflow | 4 months ago | Julisch
    com.tns.NativeScriptException: Calling js method onLocationChanged failed TypeError: Cannot set property 'latitude' of undefined File: "/data/data/org.nativescript.elektra/files/app/app.component.js, line: 44, column: 30 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.elektra/files/app/app.component.js', line: 44, column: 31 Frame: function:'android.location.LocationListener.onLocationChanged', file:'/data/data/org.nativescript.elektra/files/app/tns_modules/nativescript-geolocation/nativescript-geolocation.js', line: 25, column: 17
  2. 0

    App keeps crashing.

    GitHub | 6 months ago | SP1966
    com.tns.NativeScriptException: JavaScript object for Java ID 435884 not found. Attempting to call method draw
  3. 0

    onRelease called when .get() is null

    GitHub | 4 months ago | Ivshti
    com.tns.NativeScriptException: Calling js method onRelease failed TypeError: Cannot read property 'notify' of null File: \"/data/data/org.nativescript.stremio/files/app/tns_modules/nativescript-fresco/nativescript-fresco.js, line: 282, column: 34 StackTrace: Frame: function:'com.facebook.drawee.controller.ControllerListener.onRelease', file:'/data/data/org.nativescript.stremio/files/app/tns_modules/nativescript-fresco/nativescript-fresco.js', line: 282, column: 35
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception happened when running on device

    GitHub | 5 months ago | Zetazzz
    com.tns.NativeScriptException: Calling js method onInfo failed TypeError: Cannot read property 'msg' of undefined File: "/data/data/org.nativescript.audio/files/app/main-view-model.js, line: 119, column: 50 StackTrace: Frame: function:'playerOptions.infoCallback', file:'/data/data/org.nativescript.audio/files/app/main-view-model.js', line: 119, column: 51 Frame: function:'_this.player.setOnInfoListener.MediaPlayer.OnInfoListener.onInfo', file:'/data/data/org.nativescript.audio/files/app/tns_modules/nativescript-audio/src/android/player.js', line: 45, column: 37
  6. 0

    GitHub comment 1#222086772

    GitHub | 6 months ago | nicHoch
    com.tns.NativeScriptException: Failed to find module: "nativescript-svg", relative to: /app/tns_modules/

    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

      Calling js method onLocationChanged failed TypeError: Cannot set property 'latitude' of undefined File: "/data/data/org.nativescript.elektra/files/app/app.component.js, line: 44, column: 30 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.elektra/files/app/app.component.js', line: 44, column: 31 Frame: function:'android.location.LocationListener.onLocationChanged', file:'/data/data/org.nativescript.elektra/files/app/tns_modules/nativescript-geolocation/nativescript-geolocation.js', line: 25, column: 17

      at com.tns.Runtime.callJSMethodNative()
    2. com.tns
      Runtime.callJSMethod
      1. com.tns.Runtime.callJSMethodNative(Native Method)
      2. com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:861)
      3. com.tns.Runtime.callJSMethodImpl(Runtime.java:726)
      4. com.tns.Runtime.callJSMethod(Runtime.java:712)
      5. com.tns.Runtime.callJSMethod(Runtime.java:693)
      6. com.tns.Runtime.callJSMethod(Runtime.java:683)
      6 frames
    3. com.tns.gen
      LocationListener.onLocationChanged
      1. com.tns.gen.android.location.LocationListener.onLocationChanged(LocationListener.java:11)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:255)
      2. android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:184)
      3. android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:200)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:176)
      6. android.app.ActivityThread.main(ActivityThread.java:5419)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame