The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
It works on UWP but crashes on Android with this exception after opening and closing it then trying to open it (or any other expander) again:
09-28 18:32:41.633 E/AndroidRuntime(16267): java.lang.IllegalStateException: Unable to create layer for ExpanderContent, size 1088x0 max size 16384 color type 4 has context 1
09-28 18:32:41.633 E/AndroidRuntime(16267): at android.os.MessageQueue.nativePollOnce(Native Method)
09-28 18:32:41.633 E/AndroidRuntime(16267): at android.os.MessageQueue.next(MessageQueue.java:326)
09-28 18:32:41.633 E/AndroidRuntime(16267): at android.os.Looper.loop(Looper.java:160)
09-28 18:32:41.633 E/AndroidRuntime(16267): at android.app.ActivityThread.main(ActivityThread.java:6898)
09-28 18:32:41.633 E/AndroidRuntime(16267): at java.lang.reflect.Method.invoke(Native Method)
09-28 18:32:41.633 E/AndroidRuntime(16267): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
09-28 18:32:41.633 E/AndroidRuntime(16267): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
**Java.Lang.IllegalStateException:** 'Unable to create layer for ExpanderContent, size 1088x0 max size 16384 color type 4 has context 1'
There are multiple expanders on the page but all of them seem to cause the crash. The layout is something like this:
EDIT: the forum ate my XAML, dunno how to format it properly. Here is a pastebin instead: https://pastebin.com/1tvN1fW9
SRSangeetha Raju Syncfusion Team September 30, 2019 12:41 PM UTC
Hi George,
Thank you for contacting Syncfusion support.
We can able to reproduce the reported issue “Application gets crashed in Android” and logged issue report for the same. We will fix the issue and include the issue fix in our next Weekly Nuget release update which is planned to roll out on October 15, 2019. We will appreciate your patience until then.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, you need to login to view this feedback.
Regards,
Sangeetha Raju.
SRSangeetha Raju Syncfusion Team October 8, 2019 09:14 AM UTC
Hi George,
We have checked the reported issue in our source, the issue occurs in Xamarin Forms Native control. It had been reported to the concern team already. But they have informed that the provided information is insufficient. So, we have reported with the issue replicating sample in the comment section. So, you can track the status of this report through the following link. MeanWhile, you can overcome the reported issue by using Grid instead of StackLayout in Expander Content.
Once, Xamarin team updated with workable solution, we will update you the further status of this issue fix if included in our future releases.
Kindly let us know in case of any queries related to this.
Regards,
Sangeetha Raju.
SHShreyans replied to Sangeetha Raju November 6, 2019 01:16 PM UTC
Hi George,
We have checked the reported issue in our source, the issue occurs in Xamarin Forms Native control. It had been reported to the concern team already. But they have informed that the provided information is insufficient. So, we have reported with the issue replicating sample in the comment section. So, you can track the status of this report through the following link. MeanWhile, you can overcome the reported issue by using Grid instead of StackLayout in Expander Content.
Once, Xamarin team updated with workable solution, we will update you the further status of this issue fix if included in our future releases.
Kindly let us know in case of any queries related to this.
Regards,
Sangeetha Raju.
Any update on this issue ? Facing the same issue in my code.
SRSangeetha Raju Syncfusion Team November 7, 2019 09:24 AM UTC
Hi Shreyans,
We would like to inform you that the issue occurs from Xamarin framework and we already logged bug report to Xamarin team. For now, you can overcome the reported issue by using Grid instead of StackLayout in Expander Content. We will update you the further status of this issue, once, Xamarin team updated with a workable solution. We will appreciate your patience until then.
Regards,
Sangeetha Raju.
GPGnana Priya Namasivayam Syncfusion Team December 25, 2019 04:24 AM UTC
Hi Shreyans,
Thank you for your patience.
On further analysis with the development team, we have fixed the reported issue “Application gets crashed in android when expand collapse the expander” in our side and included the issue fix in our latest Weekly NuGet release update version 17.4.0.40 which is available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
Gnana Priya N
Need More Help?
Get personalized assistance from our support team.