How to track down ComponentModel Errors?

I’m getting many ComponentModel errors while a particular View is open, but I’m not sure how to find what the error is referring to in the View.
How would I go about diagnosing this?

This is the full error:

java.lang.IllegalArgumentException: Cannot set value of valuenode to a Object










at com.inductiveautomation.perspective.gateway.model.ComponentModel.onPropertySync(

at com.inductiveautomation.perspective.gateway.model.ViewModel.lambda$onPropSync$5(

at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(

at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(

at com.inductiveautomation.perspective.gateway.model.ViewModel.onPropSync(

at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$onPropSync$18(

at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source)

at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source)

at java.base/java.util.concurrent.CompletableFuture.thenAccept(Unknown Source)

at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$onPropSync$19(

at com.inductiveautomation.perspective.gateway.api.LoggingContext.lambda$mdcWrap$0(

at com.inductiveautomation.ignition.common.util.ExecutionQueue$

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$ Source)

at java.base/ Source)

valuenode is something from a tag

PropertyTree is the props.

Seems like you might be trying to write a tagObject to the properties instead of a “valueObject” or something idk
maybe its the qualified value? And is the quality bad?

I think I’ve narrowed it down to a specific component from a module developed for us for QR scanning. It’s out of the box config of the component and as soon as that component is on the page I get 2 errors every 2 seconds while the view is open, so it must be something in the module code. I’ve reached out to the dev for assistance, but still intrigued how you would diagnose it regardless

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)