Release 2.4.0.149 broke my RM5.1

Hi all,

I just update my hub to Release 2.4.0.149 and now I cannot install any rule in RM5.1.

Trying to install a rule with a trigger on a switch turning on, with a single action to exit the rule results in the following log message:

groovy.lang.MissingMethodException: No signature of method: java.lang.String.startsWith() is applicable for argument types: (java.lang.Boolean) values: [true]
Possible solutions: startsWith(java.lang.String), startsWith(java.lang.String, int), startsWithAny([Ljava.lang.CharSequence;) on line 8606 (method appButtonHandler)

This happens for any rule I try to install, or any existing rule I try to modify.

Everything was working fine before the update.

You can use the Diagnostic Tool (port 8081) to revert back to your previous platform version.

2 Likes

We will get a fix for this in...

2 Likes

@aaiyar Thanks! I'm quite new to Hubitat, so I didn't know about this trick. Neat!

I've reverted to 2.4.0.148 and I'll wait for a fix.

2 Likes

Oh, forgot to say in my previous post: Reverting does make things work again as before. So this is definitely related to version 2.4.0.149

1 Like

Yeah, my bad. I messed something up in this last build....

3 Likes

Do you have some sort of regression test?
If "NO" it is time to create one.

FYI, this is fixed in 2.4.0.150

3 Likes

I am confused about platform updates. I am currently on 2.4.0.148. When I read the release notes to see what had changed between 148 and 151, I saw the note that 149 was pulled. Yet, 150 says it is updates to 149 and 151 says it is updates to 150. If 149 was pulled, why are subsequent releases referring to it? Bottom line, is there a stable, working release available or should I just hold at 148 until this gets sorted out?

50 just fixed a bug that was part of 49. 51 patched an unrelated bug.

You should be totally fine updating to 51 if you so choose.

2 Likes

In addition to what @hydro311 pointed out, be aware that 149 fixed multiple bugs present in 148. So all those bug fixes are also in 150 and 151.

2 Likes

Not quite: There was a single bug in 148 fixed in 149 (RM would crash on install or update). There were other bugs fixed in 148 that are also in 149 and later. The release notes for 148 apply to later releases as well.

3 Likes