TimePicker error

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.widget.EditText.hasFocus()' on a null object reference at android.widget.TimePickerSpinnerDelegate.updateInputState(TimePickerSpinnerDelegate.java:480) at android.widget.TimePickerSpinnerDelegate.-$$Nest$mupdateInputState(Unknown Source:0) at android.widget.TimePickerSpinnerDelegate$1.onValueChange(TimePickerSpinnerDelegate.java:91) at android.widget.NumberPicker.notifyChange(NumberPicker.java:2097) at android.widget.NumberPicker.setValueInternal(NumberPicker.java:1867) at android.widget.NumberPicker.changeValueByOne(NumberPicker.java:1896) at android.widget.NumberPicker.-$$Nest$mchangeValueByOne(Unknown Source:0) at android.widget.NumberPicker$1.onClick(NumberPicker.java:727) at android.view.View.performClick(View.java:8052) at android.view.View.performClickInternal(View.java:8029) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:31419) at android.os.Handler.handleCallback(Handler.java:1001) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loopOnce(Looper.java:268) at android.os.Looper.loop(Looper.java:384) at android.app.ActivityThread.main(ActivityThread.java:8936) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:907)
Note: You will not see another error reported for 5 seconds.

I changed the category, and please send your aia for debug.

What version of the Companion do you use?

Also, check for empty sockets in all your screens' blocks.

If that doesn't help,

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

Esto sucede en cualquier proyecto. solo con temática clásica y solo con mi teléfono Motorola g55. Sucede usando el Companion o instalando el archivo APK. Lo he probado con otro teléfono Motorola G52, y funciona sin problemas.

timepicker.aia (1.1 KB)

This happens in any project. only with classic theme and only with my Motorola g55 phone. It happens using the Companion or installing the APK file. I've tried it with another Motorola G52 phone, and it works smoothly.

No issue for us
image

El error sucede en el momento que quiero cambiar el horario. El selector se abre, pero no deja hacer modificaciones. El gatillo nunca se activa.

The error occurs when I try to change the time. The selector opens, but it doesn't allow any changes. The trigger never activates.

Is it happening even if you have not added any blocks like the one i did in the above?

I got no error after picking the time. I am showing the above after picking only.

Did you test in fresh project? Or still checking in your old project?

Lo comprobé en un proyecto nuevo donde solo puse el TimePicker y en mi proyecto anterior. Desde el companion e instalando el apk. El error se produce al intentar modificar el horario. La ejecución se paraliza unos segundos y luego aparece el error. Sin bloques. Esto me sucede solo con uno de los teléfonos que uso.

I tested it in a new project where I only installed the TimePicker and in my previous project. From the companion and installing the APK too. The error occurs when trying to modify the schedule. Execution freezes for a few seconds, then the error appears. No blocks. This only happens to me with one of the phones I use.

I tested in both apk aswellas companion, it does good. I am unable to shate the apk here.

No te preocupes, probablemente sea un problema con mi teléfono Motorola g55. Igual seguiré investigando. Muchas gracias!!

Don't worry, it's probably a problem with my Motorola G55 phone. I'll keep investigating, though. Thanks so much!