Preferences Manager IllegalArgumentException - null value

Hubitat C-7 - firmware 2.2.5

I was disabling the LED Color child device option on my Inovelli switches/dimmers and received the following:

app:3822021-01-26 09:39:00.584 am errorjava.lang.IllegalArgumentException: null on line 236 (runJobs)
app:3822021-01-26 09:39:00.529 am tracesetting preference 15 of 24 -> enableLEDChild:Disable on Master Bedroom Ceiling Lights
app:3822021-01-26 09:38:59.891 am tracesetting preference 14 of 24 -> enableLEDChild:Disable on Owen Bedroom Ceiling Lights
app:3822021-01-26 09:38:59.290 am tracesetting preference 13 of 24 -> enableLEDChild:Disable on Claire Bedroom Ceiling Lights
app:3822021-01-26 09:38:58.690 am tracesetting preference 12 of 24 -> enableLEDChild:Disable on Main Bathroom Ceiling Lights
app:3822021-01-26 09:38:58.104 am tracesetting preference 11 of 24 -> enableLEDChild:Disable on Living Room Lamps
app:3822021-01-26 09:38:57.503 am tracesetting preference 10 of 24 -> enableLEDChild:Disable on Kitchen Ceiling Lights
app:3822021-01-26 09:38:56.909 am tracesetting preference 9 of 24 -> enableLEDChild:Disable on Front Entryway Ceiling Lights
app:3822021-01-26 09:38:56.309 am tracesetting preference 8 of 24 -> enableLEDChild:Disable on Stairs Lights
app:3822021-01-26 09:38:55.700 am tracesetting preference 7 of 24 -> enableLEDChild:Disable on Outdoor Front Lights
app:3822021-01-26 09:38:55.081 am tracesetting preference 6 of 24 -> enableLEDChild:Disable on Family Room Ceiling Lights
app:3822021-01-26 09:38:54.494 am tracesetting preference 5 of 24 -> enableLEDChild:Disable on Bar Under Cabinet Lights
app:3822021-01-26 09:38:53.903 am tracesetting preference 4 of 24 -> enableLEDChild:Disable on Bar Ceiling Lights
app:3822021-01-26 09:38:53.298 am tracesetting preference 3 of 24 -> enableLEDChild:Disable on Workout Room Ceiling Lights
app:3822021-01-26 09:38:52.569 am tracesetting preference 2 of 24 -> enableLEDChild:Disable on Downstairs Bathroom Fan
app:3822021-01-26 09:38:51.893 am tracesetting preference 1 of 24 -> enableLEDChild:Disable on Downstairs Bathroom Ceiling Lights
app:3822021-01-26 09:38:51.883 am infoStarting preference updates...

Let me know what other details are needed?

was this by device type?, or preference name...
can you post the code for the driver(s) being used?

Is there some documentation for this new built in app that I can use?

1 Like

we didn't include any as it's really straight forward as compared to most apps we have.

By Preference Name.

Driver code is from Inovelli. I included both as I was trying to update all dimmers/switches and I'm not sure which it failed on.

https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Drivers/inovelli-switch-red-series-lzw30-sn.src/inovelli-switch-red-series-lzw30-sn.groovy

https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Drivers/inovelli-dimmer-red-series-lzw31-sn.src/inovelli-dimmer-red-series-lzw31-sn.groovy

can you click reload preference data then try again?
let me know...

Worked this time.

  1. Updated Preference Data
  2. Reran same update and this time it succeeded

app:3822021-01-26 11:58:41.462 am infoAll preferences updated!
app:3822021-01-26 11:58:37.887 am tracesetting preference 23 of 23 -> enableLEDChild:Disable on Bar Over Counter Lights
app:3822021-01-26 11:58:37.293 am tracesetting preference 22 of 23 -> enableLEDChild:Disable on Office Ceiling Lights
app:3822021-01-26 11:58:36.710 am tracesetting preference 21 of 23 -> enableLEDChild:Disable on Kitchen Under Cabinet Lights
app:3822021-01-26 11:58:36.103 am tracesetting preference 20 of 23 -> enableLEDChild:Disable on Living Room Ceiling Lights
app:3822021-01-26 11:58:35.506 am tracesetting preference 19 of 23 -> enableLEDChild:Disable on Dining Room Ceiling Lights
app:3822021-01-26 11:58:34.913 am tracesetting preference 18 of 23 -> enableLEDChild:Disable on Garage Ceiling Lights
app:3822021-01-26 11:58:34.308 am tracesetting preference 17 of 23 -> enableLEDChild:Disable on Kitchen Over Counter lights
app:3822021-01-26 11:58:33.716 am tracesetting preference 16 of 23 -> enableLEDChild:Disable on Master Bathroom Fan
app:3822021-01-26 11:58:33.100 am tracesetting preference 15 of 23 -> enableLEDChild:Disable on Master Bathroom Ceiling Lights
app:3822021-01-26 11:58:32.409 am tracesetting preference 14 of 23 -> enableLEDChild:Disable on Owen Bedroom Ceiling Lights
app:3822021-01-26 11:58:31.849 am tracesetting preference 13 of 23 -> enableLEDChild:Disable on Claire Bedroom Ceiling Lights
app:3822021-01-26 11:58:31.239 am tracesetting preference 12 of 23 -> enableLEDChild:Disable on Main Bathroom Ceiling Lights
app:3822021-01-26 11:58:30.689 am tracesetting preference 11 of 23 -> enableLEDChild:Disable on Living Room Lamps
app:3822021-01-26 11:58:30.117 am tracesetting preference 10 of 23 -> enableLEDChild:Disable on Kitchen Ceiling Lights
app:3822021-01-26 11:58:29.551 am tracesetting preference 9 of 23 -> enableLEDChild:Disable on Front Entryway Ceiling Lights
app:3822021-01-26 11:58:28.992 am tracesetting preference 8 of 23 -> enableLEDChild:Disable on Stairs Lights
app:3822021-01-26 11:58:28.427 am tracesetting preference 7 of 23 -> enableLEDChild:Disable on Outdoor Front Lights
app:3822021-01-26 11:58:27.867 am tracesetting preference 6 of 23 -> enableLEDChild:Disable on Family Room Ceiling Lights
app:3822021-01-26 11:58:27.238 am tracesetting preference 5 of 23 -> enableLEDChild:Disable on Bar Under Cabinet Lights
app:3822021-01-26 11:58:26.685 am tracesetting preference 4 of 23 -> enableLEDChild:Disable on Bar Ceiling Lights
app:3822021-01-26 11:58:26.124 am tracesetting preference 3 of 23 -> enableLEDChild:Disable on Workout Room Ceiling Lights
app:3822021-01-26 11:58:25.517 am tracesetting preference 2 of 23 -> enableLEDChild:Disable on Downstairs Bathroom Fan
app:3822021-01-26 11:58:24.920 am tracesetting preference 1 of 23 -> enableLEDChild:Disable on Downstairs Bathroom Ceiling Lights
app:3822021-01-26 11:58:24.910 am infoStarting preference updates...

If the driver for a given device was changed after the first preference load this can happen...

Interesting. I don't think either of those drivers have changed recently.

When you say after the first preference load are referencing to the load of preferences within the Preference Manager app or something different?

If you load preferences in the app, update some preferences, then change one or more drivers to different drivers, then open the app and change preferences again without reloading the preferences this can happen.
Does that sound like what happened here?

Yes. In my case I had done the following:

  • Updated my hub
  • Installed/opened the Preference Manager app after install to check it out
  • Excluded/removed one of the dimmers (from my first post I see that this is the device that the app was trying to update just before the failure)
  • Opened the Preference Manager app again and did not update preferences data
  • Attempted to update the setting
  • Update failed

ok, thanks for that, I found and fixed the missing device issue, if we release another 2.2.5 hotfix, it will be in there.

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