Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Changing background color on Android causing crash with java.lang.nullpointerexception?

WinterCloudWinterCloud GBMember ✭✭✭
edited October 2016 in Xamarin.Forms

This issue is causing a big headache for me.

I have a LabelView which is putting Label in a Frame to achieve rounded corner effect. I have a page to display an item which have a few of those LabelView. And an Item Selection page to select item.

Background first set is no problem, however, when I'm trying to change to another item which requires background color change for those LabelViews, always crash at OnPropertyChanged with java.lang.nullpointerexception and with no description or details or anything.

I have been looking for a work around for days without any luck, I have found a few bug reports and forum threads, and tried a few fixes mentioned, still with no luck.

Any suggestion is welcome. Thanks in advance.

My previous thread regarding this issue.


Sign In or Register to comment.