Error: java.lang.String cannot be cast to java.math.BigDecimal

Getting this error when opening a bunch of rule machine 3.0 rules that were working for a long time.
Until I updated to 2.1.4.121 I also updated to 2.1.4.123 with the same results. I rolled back to 2.1.4.119 and still no joy. Any ideas?

Error: java.lang.String cannot be cast to java.math.BigDecimal

You will find another report of this error with more information, and possibly a solution, in this thread:

I haven’t found a solution, but I did just rewrite the 8 rules that broke to 4.0 so it is what it is I guess. I kept the rules to see if they would come back to life but as of 2.1.4.125 they have not. I kept the same global variables and connectors when I rewrote the rules so I’m not sure why 3.0 broke but I just call it forced motivation.