nativescript-vue icon indicating copy to clipboard operation
nativescript-vue copied to clipboard

Error: java.lang.NoSuchMethodError: no non-static method "Landroid/widget/TextView;.setText

Open LABCAT opened this issue 5 years ago • 1 comments
trafficstars

Version 2.4.0

Platform and OS info Android 9.0 / NativeScript 6.1.2

Steps to reproduce This is actually very difficult to reproduce and there is no set of steps that can be performed to consistently replicate the problem. The app is being used in the field and we are often receiving reports of crashing. The only way users can resolve this is to clear the app cache/data and then login again.

This issue does not happen at all in the development environment, it is only in production builds that the issue occurs: 02-10 15:09:46.352 10445 2440 2440 E AndroidRuntime: FATAL EXCEPTION: main 02-10 15:09:46.352 10445 2440 2440 E AndroidRuntime: Process: org.nativescript.vixapp, PID: 2440 02-10 15:09:46.352 10445 2440 2440 E AndroidRuntime: com.tns.NativeScriptException: Calling js method onStart failed 02-10 15:09:46.352 10445 2440 2440 E AndroidRuntime: Error: java.lang.NoSuchMethodError: no non-static method "Landroid/widget/TextView;.setText(Ljava/lang/Object;)Z"

Any advice or suggestions we can implement in order to prevent this would be greatly appreciated.

What is expected? The app never crashes .

What is actually happening? The app crashes sporadically when used in production environment.

LABCAT avatar Feb 13 '20 01:02 LABCAT

Your issue has been tagged as low priority because it did not follow our issue guidelines.

If you believe your issue should be higher priority please close this issue and create a new one using the issue helper.

Thanks for your understanding.

nativescript-vue-bot avatar Feb 13 '20 01:02 nativescript-vue-bot