tonesto7 / homebridge-hubitat-tonesto7

Hubitat Homebridge Plugin
107 stars 34 forks source link

(BUG) Argument Type Mismatch on v2.2.0 #52

Closed devenbj closed 3 years ago

devenbj commented 3 years ago

Just updated Homebridge to latest version (no issues), and then Hubitat to the latest... After updating Hubitat, attempted to validate configuration when I received an error: 2020-12-28 11:49:06.520 pm errorjava.lang.IllegalArgumentException: argument type mismatch on line 340 (mainPage) This occurred after clicking past the release notes. Did not have the ability to see the main app page... immediately displayed error.

Deleted my instance of Homebridge to recreate. Was able to get to the configuration page. After adding my lights and clicking Update, the same error occurred again.

Deleted my instance, and removed Homebdidge v2 Hubitat app (I use HPM to install). Installed it again, and went to create my instance again (same error).

Downgraded to 2.1.7 (manually from github - thought it was the previous version, fairly certain I grabbed Dec 7th code). Same error / different line number: 2020-12-29 12:15:46.208 am errorjava.lang.IllegalArgumentException: argument type mismatch on line 328 (deviceSelectPage)

Downgraded to 2.1.6 (manually from github). No errors. Homebridge is working as it did before (old Hubitat groovy app, new homebridge plugin, no issues).

Let me know if there is any additional troubleshooting I can do to assist... Thanks!

devenbj commented 3 years ago

Did some more troubleshooting. It worked great until the last commit on Nov 25th (error slightly different, and app wouldn't load at all). This is the broken commit: https://github.com/tonesto7/homebridge-hubitat-tonesto7/commit/1e8f110580bc8b1e622dffc06c239aedcfc2664b#diff-d56f6359d240f69e4164425b599d08869574fc013b9e5727951048914db12c5b

j6s33m commented 3 years ago

Log from Hubitat. Having same issue...but mine says line 351 (not 340 like original poster). This is new with v2.2.0

Fortunately, homebridge still functions, but i cannot make any device changes or additions in Hubitat. The app takes me to an error page ... which redirects to logs (error below in logs).

app:22732020-12-29 11:41:53.448 am errorjava.lang.IllegalArgumentException: argument type mismatch on line 351 (startPage)

tonesto7 commented 3 years ago

I'm investigating right now

j6s33m commented 3 years ago

That fixed it. Thank you!

On Tue, Dec 29, 2020 at 12:12 PM tonesto7 notifications@github.com wrote:

Closed #52 https://github.com/tonesto7/homebridge-hubitat-tonesto7/issues/52.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tonesto7/homebridge-hubitat-tonesto7/issues/52#event-4155378589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIZISRD37MGF2NYSXPFJC3SXILZLANCNFSM4VM3VQ7A .

devenbj commented 3 years ago

Fixed for me, too! Thanks for the prompt update!