System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method run failed
System.err: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
System.err:
System.err: StackTrace:
System.err: (file: app/webpack:/bitlims/node_modules/@nativescript-community/ui-material-core/android/utils.js:186:0)
System.err: at (file: app/webpack:/bitlims/node_modules/@nativescript-community/ui-material-core/index.android.js:276:43)
System.err: at invoke(file: app/webpack:/bitlims/node_modules/@nativescript/core/timer/index.android.js:18:0)
System.err: at run(file: app/webpack:/bitlims/node_modules/@nativescript/core/timer/index.android.js:22:0)
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1175)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1153)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1149)
System.err: at com.tns.gen.java.lang.Runnable.run(Runnable.java:17)
System.err: at android.os.Handler.handleCallback(Handler.java:789)
System.err: at android.os.Handler.dispatchMessage(Handler.java:98)
System.err: at android.os.Looper.loop(Looper.java:164)
System.err: at android.app.ActivityThread.main(ActivityThread.java:6944)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
System.err: at com.nativescript.material.core.Utils.createStateListAnimator(Utils.java:24)
System.err: ... 14 more
JS: XXX uncaughtError => Error: Calling js method run failed
JS: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
Error
package.json