Skip to content

Instantly share code, notes, and snippets.

@madmas
Created July 15, 2020 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madmas/66bb6c3ad26b6bf0e75988a87e96518c to your computer and use it in GitHub Desktop.
Save madmas/66bb6c3ad26b6bf0e75988a87e96518c to your computer and use it in GitHub Desktop.
Stacktrace for NativeScript java.lang.NoSuchMethodError: no static method error
07-14 22:33:12.270 4836 4836 E AndroidRuntime: com.tns.NativeScriptException: Calling js method onStart failed
07-14 22:33:12.270 4836 4836 E AndroidRuntime: Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.callJSMethodNative(Native Method)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:1160)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:1138)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:1134)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:29)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1432)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:7848)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3294)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
07-14 22:33:12.270 4836 4836 E AndroidRuntime: Caused by: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.270 4836 4836 E AndroidRuntime: ... 21 more
07-14 22:33:12.274 4836 4836 W System.err: An uncaught Exception occurred on "main" thread.
07-14 22:33:12.274 4836 4836 W System.err: Calling js method onStart failed
07-14 22:33:12.274 4836 4836 W System.err: Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.274 4836 4836 W System.err:
07-14 22:33:12.274 4836 4836 W System.err: StackTrace:
07-14 22:33:12.274 4836 4836 W System.err: onBackgroundOrBorderPropertyChanged(file:///data/data/com.sample.app/files/app/vendor.js:121358:20)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view/view.js.View._redrawNativeBackground(file:///data/data/com.sample.app/files/app/vendor.js:111474:29)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view/view.js.View.<computed>(file:///data/data/com.sample.app/files/app/vendor.js:111454:14)
07-14 22:33:12.274 4836 4836 W System.err: at applyAllNativeSetters(file:///data/data/com.sample.app/files/app/vendor.js:108492:37)
07-14 22:33:12.274 4836 4836 W System.err: at initNativeView(file:///data/data/com.sample.app/files/app/vendor.js:108419:9)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase.onResumeNativeUpdates(file:///data/data/com.sample.app/files/app/vendor.js:109299:22)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase._resumeNativeUpdates(file:///data/data/com.sample.app/files/app/vendor.js:108930:18)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase.onLoaded(file:///data/data/com.sample.app/files/app/vendor.js:108884:14)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view/view.js.View.onLoaded(file:///data/data/com.sample.app/files/app/vendor.js:110946:35)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/frame/frame-common.js.FrameBase.onLoaded(file:///data/data/com.sample.app/files/app/vendor.js:113865:35)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/frame/frame.js.Frame.onLoaded(file:///data/data/com.sample.app/files/app/vendor.js:114639:35)
07-14 22:33:12.274 4836 4836 W System.err: at (file:///data/data/com.sample.app/files/app/vendor.js:108969:90)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase.callFunctionWithSuper(file:///data/data/com.sample.app/files/app/vendor.js:108962:9)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase.callLoaded(file:///data/data/com.sample.app/files/app/vendor.js:108969:14)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/frame/frame.js.ActivityCallbacksImplementation.onStart(file:///data/data/com.sample.app/files/app/vendor.js:115341:22)
07-14 22:33:12.274 4836 4836 W System.err: at push.../node_modules/@nativescript/core/ui/frame/activity.js.NativeScriptActivity.onStart(file:///data/data/com.sample.app/files/app/vendor.js:113103:25)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1160)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1138)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1134)
07-14 22:33:12.274 4836 4836 W System.err: at com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:29)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1432)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.Activity.performStart(Activity.java:7848)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3294)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
07-14 22:33:12.274 4836 4836 W System.err: at android.os.Handler.dispatchMessage(Handler.java:107)
07-14 22:33:12.274 4836 4836 W System.err: at android.os.Looper.loop(Looper.java:214)
07-14 22:33:12.274 4836 4836 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7356)
07-14 22:33:12.274 4836 4836 W System.err: at java.lang.reflect.Method.invoke(Native Method)
07-14 22:33:12.274 4836 4836 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
07-14 22:33:12.274 4836 4836 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
07-14 22:33:12.274 4836 4836 W System.err: Caused by: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.274 4836 4836 W System.err: ... 21 more
07-14 22:33:12.280 4836 4836 E JS : Error: *** NativeScriptError *** : Error: Calling js method onStart failed
07-14 22:33:12.280 4836 4836 E JS : Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.301 4836 4836 E JS : Error: *** StackTrace *** : onBackgroundOrBorderPropertyChanged(file:///data/data/com.sample.app/files/app/vendor.js:121358:20)
07-14 22:33:12.301 4836 4836 E JS : at push.../node_modules/@nativescript/core/ui/core/view/view.js.View._redrawNativeBackground(file:///data/data/com.sample.app/files/app/vendor.js:111474:29)
07-14 22:33:12.301 4836 4836 E JS : at push.../node_modules/@nativescript/core/ui/core/view/view.js.View.<computed>(file:///data/data/com.sample.app/files/app/vendor.js:111454:14)
07-14 22:33:12.301 4836 4836 E JS : at applyAllNativeSetters(file:///data/data/com.sample.app/files/app/vendor.js:108492:37)
07-14 22:33:12.301 4836 4836 E JS : at initNativeView(file:///data/data/com.sample.app/files/app/vendor.js:108419:9)
07-14 22:33:12.301 4836 4836 E JS : at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase.onResumeNativeUpdates(file:///data/data/com.sample.app/files/app/vendor.js:109299:22)
07-14 22:33:12.301 4836 4836 E JS : at push.../node_modules/@nativescript/core/ui/core/view-base/view-base.js.ViewBase._resumeNativeUpdates(file:///data/data/com.sample.app/files/app/vendor.js:108930:18)
07-14 22:33:12.301 4836 4836 E JS : at push.../node_modules/@nativescript/core/ui/core/view-bas...
07-14 22:33:12.310 4836 4836 E JS : Error: *** NativeScriptError *** : com.tns.NativeScriptException: Calling js method onStart failed
07-14 22:33:12.310 4836 4836 E JS : Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V"
07-14 22:33:12.317 1452 5819 I ActivityTaskManager: START u0 {flg=0x14008000 cmp=com.sample.app/com.tns.ErrorReportActivity (has extras)} from uid 10501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment