com.tns.NativeScriptException: Calling js method animationsFinished failed TypeError: Cannot read property 'class' of undefined File: "/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js, line: 33, column: 149 StackTrace: Frame: function:'com.viksaa.sssplash.lib.activity.AwesomeSplash.extend.animationsFinished', file:'/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js', line: 33, column: 150

GitHub | abolinhas | 2 months ago
  1. 0

    GitHub comment 11#250326507

    GitHub | 2 months ago | abolinhas
    com.tns.NativeScriptException: Calling js method animationsFinished failed TypeError: Cannot read property 'class' of undefined File: "/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js, line: 33, column: 149 StackTrace: Frame: function:'com.viksaa.sssplash.lib.activity.AwesomeSplash.extend.animationsFinished', file:'/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js', line: 33, column: 150
  2. 0

    GitHub comment 7#250567199

    GitHub | 2 months ago | karan1149
    com.tns.NativeScriptException: Calling js method getView failed EXCEPTION: Error in pages/groups/groups.html:5:8 ORIGINAL EXCEPTION: TypeError: Cannot set property 'width' of null ORIGINAL STACKTRACE: TypeError: Cannot set property 'width' of null at StylePropertyChangedHandler.ViewStyler.setNativeLayoutParamsProperty [as _applyProperty] (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/core/view.js:489:18) at StylePropertyChangedHandler.applyProperty (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:1238:14) at Style._applyStyleProperty (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:1003:25) at Style._applyProperty (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:966:14) at Style._onPropertyChanged (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:947:14) at Style.DependencyObservable._setValueInternal (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/core/dependency-observable.js:305:18) at Style.DependencyObservable._setValue (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/core/dependency-observable.js:138:14) at onLayoutParamsChanged (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:150:11) at Style.DependencyObservable._onPropertyChanged (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/core/dependency-observable.js:211:13) at Style._onPropertyChanged (/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/styling/style.js:945:45) ERROR CONTEXT: [object Object] File: "/data/data/org.nativescript.squadstats/files/app/tns_modules/@angular/core/src/linker/view.js, line: 365, column: 16 StackTrace: Frame: function:'DebugAppView._rethrowWithContext', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/@angular/core/src/linker/view.js', line: 365, column: 17 Frame: function:'DebugAppView.create', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/@angular/core/src/linker/view.js', line: 311, column: 18 Frame: function:'TemplateRef_.createEmbeddedView', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/@angular/core/src/linker/template_ref.js', line: 64, column: 14 Frame: function:'ViewContainerRef_.createEmbeddedView', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/@angular/core/src/linker/view_container_ref.js', line: 106, column: 35 Frame: function:'ListViewComponent.onItemLoading', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/nativescript-angular/directives/list-view-comp.js', line: 71, column: 35 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/data/observable/observable.js', line: 155, column: 32 Frame: function:'ListViewAdapter.getView', file:'/data/data/org.nativescript.squadstats/files/app/tns_modules/ui/list-view/list-view.js', line: 162, column: 28
  3. 0

    Calling js method onClick failed

    GitHub | 3 weeks ago | jaffarhussain1011
    com.tns.NativeScriptException: Calling js method onClick failed TypeError: Cannot read property 'FLASH_MODE_TORCH' of undefined File: "/data/data/org.nativescript.jkflashlight/files/app/tns_modules/nativescript-flashlight/flashlight.js, line: 16, column: 42 StackTrace: Frame: function:'flashlight.on', file:'/data/data/org.nativescript.jkflashlight/files/app/tns_modules/nativescript-flashlight/flashlight.js', line: 16, column: 43 Frame: function:'flashlight.toggle', file:'/data/data/org.nativescript.jkflashlight/files/app/tns_modules/nativescript-flashlight/flashlight-common.js', line: 7, column: 15 Frame: function:'viewModel.toggleFlashlight', file:'/data/data/org.nativescript.jkflashlight/files/app/main-page.js', line: 21, column: 20 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.jkflashlight/files/app/tns_modules/data/observable/observable.js', line: 146, column: 32 Frame: function:'Observable._emit', file:'/data/data/org.nativescript.jkflashlight/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'_android.setOnClickListener.android.view.View.OnClickListener.onClick', file:'/data/data/org.nativescript.jkflashlight/files/app/tns_modules/ui/button/button.js', line: 33, column: 32
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nativescript: Strange error after app gets deployed

    Stack Overflow | 1 week ago | user2094257
    com.tns.NativeScriptException: Calling js method onCreateView failed Error: File /data/data/org.nativescript.barcodescanner/files/app/.components/information/information.component.html does not exist. Resolved from: .components/information/information.component.html. File: "/data/data/org.nativescript.barcodescanner/files/app/tns_modules/nativescript-angular/resource-loader.js, line: 22, column: 12 StackTrace: Frame: function:'FileSystemResourceLoader.get', file:'/data/data/org.nativescript.barcodescanner/files/app/tns_modules/nativescript-angular/resource-loader.js', line: 22, column: 19 Frame: function:'DirectiveNormalizer._fetch', file:'/data/data/org.nativescript.barcodescanner/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 13661, column: 45 Frame: function:'DirectiveNormalizer.normalizeTemplateAsync', file:'/data/data/org.nativescript.barcodescanner/files/ And the last few lines of my command prompt: BUILD SUCCESSFUL Total time: 1 mins 9.45 secs Project successfully built Successfully deployed on device with identifier '192.168.8.101:5555'.
  6. 0

    GitHub comment 12#263336517

    GitHub | 5 days ago | Daxito
    com.tns.NativeScriptException: Calling js method onRelease failed TypeError: Cannot read property 'notify' of null File: "/data/data/ddddddd/files/app/tns_modules/nativescript-fresco/nativescript-fresco.js, line: 370, column: 38 StackTrace: Frame: function:'com.facebook.drawee.controller.ControllerListener.onRelease', file:'/data/data/ddddd/files/app/tns_modules/nativescript-fresco/nativescript-fresco.js', line: 370, column: 39

    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 animationsFinished failed TypeError: Cannot read property 'class' of undefined File: "/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js, line: 33, column: 149 StackTrace: Frame: function:'com.viksaa.sssplash.lib.activity.AwesomeSplash.extend.animationsFinished', file:'/data/data/org.nativescript.articamonitor/files/app/SplashScreen.js', line: 33, column: 150

      at com.tns.Runtime.callJSMethodNative()
    2. com.tns
      Runtime.callJSMethod
      1. com.tns.Runtime.callJSMethodNative(Native Method)
      2. com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:865)
      3. com.tns.Runtime.callJSMethodImpl(Runtime.java:730)
      4. com.tns.Runtime.callJSMethod(Runtime.java:716)
      5. com.tns.Runtime.callJSMethod(Runtime.java:697)
      6. com.tns.Runtime.callJSMethod(Runtime.java:687)
      6 frames
    3. co.fitcom
      SplashScreen.animationsFinished
      1. co.fitcom.SplashScreen.animationsFinished(com.viksaa.sssplash.lib.activity.AwesomeSplash.java)
      1 frame
    4. com.viksaa.sssplash
      AwesomeSplash$4.onAnimationEnd
      1. com.viksaa.sssplash.lib.activity.AwesomeSplash$4.onAnimationEnd(AwesomeSplash.java:214)
      1 frame
    5. Nine Old Androids
      ValueAnimator$AnimationHandler.handleMessage
      1. com.nineoldandroids.animation.AnimatorSet$AnimatorSetListener.onAnimationEnd(AnimatorSet.java:756)
      2. com.nineoldandroids.animation.ValueAnimator.endAnimation(ValueAnimator.java:1034)
      3. com.nineoldandroids.animation.ValueAnimator.access$900(ValueAnimator.java:43)
      4. com.nineoldandroids.animation.ValueAnimator$AnimationHandler.handleMessage(ValueAnimator.java:669)
      4 frames
    6. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.app.ActivityThread.main(ActivityThread.java:5461)
      3 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames