How to track down ComponentModel Errors?

i had something kinda similar, but for me it was just a warning, so i just ignored it xd
Maybe it contains something usefull, i was not able to remove the warnings in my code tho xd just from the logs

this is the function that seems to be triggering your error. So it seems its trying to set an object while this function only support primitives (int, string, bool... not array/object)