Tried creating a third hub var & hub blew up

I had previously created 2 hub variables and it worked perfectly. I was trying to add a 3rd and when I tried to create the connector the hub variables section blew up. Can't access it at all. I've attached the variable page error below as well as the log. Please advise as rebooting in safe mode did nothing as well as a simple reboot did nothing. I'm dead in the water. My last backup does not include what I created today (not related to hub variables.) Restoring back up would be infuriating. Help!

app:1292023-03-04 06:52:22.911 PMerrorjava.lang.NullPointerException: Cannot get property 'id' on null object on line 438 (method hubVar)

dev:3282023-03-04 06:52:22.889 PMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: virtualThermostat.createConnector() is applicable for argument types: (java.lang.String, java.lang.String) values: [SwingTemp, Connector Variable] (method createConnector)
dev:3282023-03-04 06:52:22.858 PMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: virtualThermostat.updateVariableConnectors() is applicable for argument types: () values: [] (method updateVariableConnectors)
dev:3282023-03-04 06:52:22.790 PMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: virtualThermostat.updateVariableConnectors() is applicable for argument types: () values: [] (method updateVariableConnectors)

Try making a new varible with different name maybe seemd like something was corrupted when you made the variable

I can't get to the Hub Variables page to do that. This the error I get when clicking on Hub Variables on Settings page:

Unexpected Error

An unexpected error has occurred trying to load the app. Check [Logs](http://[my ip addr]/logs) for more information.

Error: Cannot get property 'id' on null object

Try this to recover:

When you try to open Hub Variables, even though it throws an error, it shows a URL in your browser like this:

http://192.168.0.162/installedapp/configure/25043/hubVar

Except it will start with your hub's IP address, and have some other number than 25043.

Enter this URL:

http://192.168.0.162/installedapp/status/25043

Again with your hub IP and whatever number you have instead of 25043.

That will bring up the App Status page for Hub Variables. Remove Hub Variables in the lower right corner of that page. That should clear up this problem for you.

1 Like

Thank you so much for the quick response! Your fix worked perfectly. I'm back up and running with my new apps. Is there anyway I could have discovered this fix through the documentation?

If you consider this venue and this problem as the documentation, then yes, it is now documented. :smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.