Error creating tag binding - unhelpful error message

I’m getting the following error in the client console whenever the client receives an update to the fpmi/client_tags resource. That is, whenever anyone holding an edit lock on fpmi/client_tags presses save in the designer.

ERROR [ProjectTag-ProjectUpdater] Error creating tag binding.
java.lang.RuntimeException: Type mismatch in operation 'DIVIDE': expected 'Number', found 'String'
	at com.inductiveautomation.ignition.common.expressions.AbstractExpression.typeMismatch(
	at com.inductiveautomation.ignition.common.expressions.ArithmeticExpression.<init>(
	at com.inductiveautomation.ignition.common.expressions.parsing.CUP$ELParser$actions.CUP$ELParser$do_action(
	at com.inductiveautomation.ignition.common.expressions.parsing.ELParser.do_action(
	at java_cup.runtime.lr_parser.parse(
	at com.inductiveautomation.ignition.common.expressions.parsing.ELParserHarness.parse(
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.createTagBinding(
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBindingImpl(
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBinding(
	at com.inductiveautomation.factorypmi.application.sqltags.ClientTagFolder.startBinding(
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.setRoot(
	at com.inductiveautomation.factorypmi.application.FPMIApp.applyDiff(
	at com.inductiveautomation.factorypmi.application.runtime.UpdateProjectPane$

It’s almost certainly a problem with one of my tags. However, the error message does not tell me which tag is causing the problem. Please can this be fixed?


Unfortunately there is no easy way to determine which tag is causing the issue right now. The logger has been changed for future versions to include the tag path in the message. The only thing you can really do right now is examine any Client Expression tags you may have to see if you can determine which one is causing the issue.

The log message have the tag path in it in the final release of 7.5.4.


Excellent. Thanks Colby.