Cloning results in NullPointerException

Whenever I try to clone a rule, I get the following error message:

Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.

Error: Cannot get property 'name' on null object

Then when I check the logs, I can see the following log entry:

java.lang.NullPointerException: Cannot get property 'name' on null object on line 63 (method main)

My env:

2.3.2.141
Rev C-7

Can you post a screen shot of your original rule?

But it doesn't matter which rule it is....

Oh OK. I was wondering if maybe you had a broken or corrupt rule and that was the issue. If it's literally every rule I'd say you have a bigger problem.

One thing you might want to try is make and download a local backup followed by a soft reset and a restore. If it's a database corruption issue that will fix it. Otherwise we may have to reach out to @bobbyD.

2 Likes

Something you could try before that: if you go to Apps, is there an Import/Export/Clone app in that list? If so, click the gear (app status) icon next to it, and use that to remove the app, then see if future clones work as expected.

3 Likes

I am currently travelling and won't be home before October. I'd rather not mess around with it remotely.

Ha, wow. Yes, this worked. I would have never come up with the idea to remove Import/Export/Clone when I actually want to do an Import/Export/Clone.

1 Like

You and me both but it's a good one to remember. Thanks @bertabcd1234!