You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a hard crash randomly when somebody is opening the default Timepicker(TimePickerAndroid) on android(release version). It happens on random phone. I can't reproduce it myself. On genymotion I can't seem to launch the picker it always make the emulator crash. But google developer console was able to track people having crash and here's the log.
android.view.InflateException: Binary XML file line #20: Binary XML file line #20: Error inflating class android.widget.TimePicker
at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.app.TimePickerDialog.<init>(TimePickerDialog.java:121)
at android.app.TimePickerDialog.<init>(TimePickerDialog.java:81)
at com.facebook.react.modules.timepicker.DismissableTimePickerDialog.<init>(DismissableTimePickerDialog.java:38)
at com.facebook.react.modules.timepicker.TimePickerDialogFragment.createDialog(TimePickerDialogFragment.java:55)
at com.facebook.react.modules.timepicker.TimePickerDialogFragment.onCreateDialog(TimePickerDialogFragment.java:36)
at android.app.DialogFragment.getLayoutInflater(DialogFragment.java:408)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:973)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:482)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5551)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
Caused by: android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.TimePicker
at android.view.LayoutInflater.createView(LayoutInflater.java:645)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
... 20 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
... 25 more
Caused by: android.view.InflateException: Binary XML file line #29: Binary XML file line #29: Error inflating class android.widget.RadialTimePickerView
at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.widget.TimePickerClockDelegate.<init>(TimePickerClockDelegate.java:140)
at android.widget.TimePicker.<init>(TimePicker.java:83)
at android.widget.TimePicker.<init>(TimePicker.java:70)
at android.widget.TimePicker.<init>(TimePicker.java:66)
... 27 more
Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class android.widget.RadialTimePickerView
at android.view.LayoutInflater.createView(LayoutInflater.java:645)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
... 33 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
... 38 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.res.ColorStateList.getColorForState(int[], int)' on a null object reference
at android.widget.RadialTimePickerView.<init>(RadialTimePickerView.java:338)
at android.widget.RadialTimePickerView.<init>(RadialTimePickerView.java:300)
at android.widget.RadialTimePickerView.<init>(RadialTimePickerView.java:296)
... 40 more
Additional Information
React Native version: 0.42
Platform: Android
Operating System:Windows
The text was updated successfully, but these errors were encountered:
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!
For the two informations. I didn't included them as I don't have to say anything about that anyway. I can't reproduce the error and I don't have a proper solutions instead of giving the user a basic time picker for now. But anyway here's a new issue #13057
Description
It's a hard crash randomly when somebody is opening the default Timepicker(
TimePickerAndroid
) on android(release version). It happens on random phone. I can't reproduce it myself. On genymotion I can't seem to launch the picker it always make the emulator crash. But google developer console was able to track people having crash and here's the log.Additional Information
The text was updated successfully, but these errors were encountered: