Hub Variables page unviewable

At some point in the last few weeks, I lost the ability to view the hub variables on one of my hubitats. When navigating to that page, I get the following message:

Unexpected Error

An unexpected error has occurred trying to load the app. Check Logs for more information.

Error: No signature of method: java.lang.Long.length() is applicable for argument types: () values: Possible solutions: next(), each(groovy.lang.Closure), getAt(java.lang.String), with(groovy.lang.Closure), signum(long), wait()

When I go to the logs, I see the following:

app:1732022-09-06 10:01:15.452 am errorgroovy.lang.MissingMethodException: No signature of method: java.lang.Long.length() is applicable for argument types: () values:
Possible solutions: next(), each(groovy.lang.Closure), getAt(java.lang.String), with(groovy.lang.Closure), signum(long), wait() on line 237 (method hubVar)

I do have connectors to most, but not all, of the variables. I am able to use all of the variables from RM 5.0 without issue.

I am also able to view and change variable values on some dashboards I created previously. There are a couple string variables that are empty, but the rest are all valid values, regardless of the variable type. The issue appears to not be due to variable values, as I've seen in a previously experienced issue.

The hubitat is on version 2.3.2.141.