Hi,
When I select the year in the calendar multiple times , the app crashes and I am getting the below error:
Unhandled exception - Java.Lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference
--- End of managed Java.Lang.NullPointerException stack trace ---
java.lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewGroup.dispatchCollectViewAttributes(ViewGroup.java:1687)
at android.view.ViewRootImpl.collectViewAttributes(ViewRootImpl.java:2698)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3263)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2669)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10092)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1010)
at android.view.Choreographer.doCallbacks(Choreographer.java:809)
at android.view.Choreographer.doFrame(Choreographer.java:744)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:995)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:247)
at android.app.ActivityThread.main(ActivityThread.java:8656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130).
Could you please help me with a solution.
Thanks
Sonal
Hi,
It happens when we select the same year multiple times.
I have changed the Xamarin form and Syncfusion version in the sample application you shared and I am able to reproduce the issue.
Note: We need to select the year multiple times to reproduce the issue.
Xamarin form version - 5.0.0.1874
Syncfusion verion - 19.3.0.56
Device - Redmi Note 7S Android 10 API 29
Thanks
Sonal
Attachment: AppCrash_cfd167bc.zip
Hi SaiGanesh,
Could you please let me know the estimated time on fixing the bug.
Thanks
Sonal
Hi SaiGanesh,
Any update on this bug?
Thanks
Sonal
Hi SaiGanesh,
Any update on this bug?
Thanks
Sonal
Hi SaiGanesh,
Could you please let me know the exact timeframe to resolve this bug. This has been going on for a while now and there are no updates.
Thanks
Sonal
Hi SaiGanesh,
Can we connect to discuss the progress on this bug and how much time is required to fix this.
We need to update our end customers accordingly.
Please let me know your availability and how can I connect with you.
Thanks
Sonal
Hi SaiGanesh,
Could you please let me know the temporary fix for this bug until it gets resolved.
Thanks
Sonal
Hi SaiGanesh,
We are the Microsoft Partners and can connect you directly to Microsoft representative regarding your issue with Xamarin framework.
Please let us know when can we connect to discuss about the call setup with Microsoft.
Thanks
Sonal
Hi Sonal,
This is not Syncfusion's issue. Our obligation is to report this issue to Microsoft, and we have done so. If you need to follow up on this issue, you can contact the Microsoft team separately. If you need any other assistance related to Syncfusion controls, please let us know. We will be happy to assist you.
Regards,
Sangavi