Getting Java.lang.NullPointerException in Rule Machine - Unable to delete Rule

Does anyone know how to remove a corrupted Rule Machine 4.0 rule?

I have run into a problem yesterday... I was creating a rule and decided to modify a variable from Number to Decimal.

I deleted the existing variable and re-created a new one with the same name, but setup as a Decimal.

At one point as I was doing this, I got an "Unexpected Error" and now I can no longer to into the rule to delete it. I think it is still running though which is a problem because it is now doing things it shouldn't... :frowning:

Here's a screenshot of the error:

The logs say:
error java.lang.NullPointerException: Cannot get property 'val' on null object on line 654 (mainPage)

Click the gear that you see in the upper right corner of the screenshot above to view the rule properties. At the bottom of this page you should find a remove button.

3 Likes

Ah! That was easier than I thought it would be! Thanks @ritchierich!!!

2 Likes