org.mozilla.javascript.EvaluatorException: Cannot convert undefined to boolean
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:980)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1035)
at org.mozilla.javascript.Context.reportRuntimeError2(Context.java:1005)
at org.mozilla.javascript.NativeJavaObject.reportConversionError(NativeJavaObject.java:863)
at org.mozilla.javascript.NativeJavaObject.coerceTypeImpl(NativeJavaObject.java:495)
at org.mozilla.javascript.Context.jsToJava(Context.java:1856)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:142)
at org.mozilla.javascript.InterfaceAdapter$1.run(InterfaceAdapter.java:83)
at org.mozilla.javascript.Context.call(Context.java:526)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:86)
at org.mozilla.javascript.jdk13.VMBridge_jdk13$1.invoke(VMBridge_jdk13.java:132)
at java.lang.reflect.Proxy.invoke(Proxy.java:913)
at $Proxy11.onLongClick(Unknown Source)
at android.view.View.performLongClickInternal(View.java:6374)
at android.view.View.performLongClick(View.java:6332)
at android.widget.TextView.performLongClick(TextView.java:11191)
at android.view.View.performLongClick(View.java:6350)
at android.view.View$CheckForLongPress.run(View.java:24895)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7425)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Description:
org.mozilla.javascript.EvaluatorException: Cannot convert undefined to boolean at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:980) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1035) at org.mozilla.javascript.Context.reportRuntimeError2(Context.java:1005) at org.mozilla.javascript.NativeJavaObject.reportConversionError(NativeJavaObject.java:863) at org.mozilla.javascript.NativeJavaObject.coerceTypeImpl(NativeJavaObject.java:495) at org.mozilla.javascript.Context.jsToJava(Context.java:1856) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:142) at org.mozilla.javascript.InterfaceAdapter$1.run(InterfaceAdapter.java:83) at org.mozilla.javascript.Context.call(Context.java:526) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:86) at org.mozilla.javascript.jdk13.VMBridge_jdk13$1.invoke(VMBridge_jdk13.java:132) at java.lang.reflect.Proxy.invoke(Proxy.java:913) at $Proxy11.onLongClick(Unknown Source) at android.view.View.performLongClickInternal(View.java:6374) at android.view.View.performLongClick(View.java:6332) at android.widget.TextView.performLongClick(TextView.java:11191) at android.view.View.performLongClick(View.java:6350) at android.view.View$CheckForLongPress.run(View.java:24895) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:101) at android.os.Looper.loop(Looper.java:166) at android.app.ActivityThread.main(ActivityThread.java:7425) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Device info: