com.tns.NativeScriptException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 7#250567199
    via GitHub by karan1149
    ,
  • Crashing issue #1 in 2.4 (@Next)
    via GitHub by NathanaelA
    ,
  • GitHub comment 11#250326507
    via GitHub by abolinhas
    ,
  • GitHub comment 12#263336517
    via GitHub by Daxito
    ,
  • GitHub comment 1#222086772
    via GitHub by nicHoch
    ,
  • GitHub comment 466#224882566
    via GitHub by NickIliev
    ,
    • 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
    • ativescript-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 at com.tns.Runtime.callJSMethodNative(Native Method) at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:865) at com.tns.Runtime.callJSMethodImpl(Runtime.java:730) at com.tns.Runtime.callJSMethod(Runtime.java:716) at com.tns.Runtime.callJSMethod(Runtime.java:697) at com.tns.Runtime.callJSMethod(Runtime.java:687) at com.tns.gen.android.widget.BaseAdapter_frnal_ts_helpers_l55_c38__ListViewAdapter.getView(android.widget.BaseAdapter.java) at android.widget.AbsListView.obtainView(AbsListView.java:2360) at android.widget.ListView.makeAndAddView(ListView.java:1972) at android.widget.ListView.fillDown(ListView.java:704) at android.widget.ListView.fillFromTop(ListView.java:765) at android.widget.ListView.layoutChildren(ListView.java:1716) at android.widget.AbsListView.onLayout(AbsListView.java:2161) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at org.nativescript.widgets.CommonLayoutParams.layoutChild(CommonLayoutParams.java:189) at org.nativescript.widgets.GridLayout.onLayout(GridLayout.java:353) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at org.nativescript.widgets.CommonLayoutParams.layoutChild(CommonLayoutParams.java:189) at org.nativescript.widgets.GridLayout.onLayout(GridLayout.java:353) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at org.nativescript.widgets.CommonLayoutParams.layoutChild(CommonLayoutParams.java:189) at org.nativescript.widgets.ContentLayout.onLayout(ContentLayout.java:73) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323) at android.widget.FrameLayout.onLayout(FrameLayout.java:261) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585) at android.widget.LinearLayout.onLayout(LinearLayout.java:1494) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323) at android.widget.FrameLayout.onLayout(FrameLayout.java:261) at com.android.internal.policy.DecorView.onLayout(DecorView.java:724) at android.view.View.layout(View.java:17520) at android.view.ViewGroup.layout(ViewGroup.java:5612) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2342) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6301) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871) at android.view.Choreographer.doCallbacks(Choreographer.java:683) at android.view.Choreographer.doFrame(Choreographer.java:619) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

    Users with the same issue

    Unknown visitor1 times, last one,