The operation couldn’t be completed. (OSStatus error 1002.)

Any idea what this means?

I keep getting it when running my applet.

I need a bit more information about the conditions leading to this error to offer any help. Which applications are involved, which command is generating the error, etc?

It seems that it was related to two helper applets in my applet’s resources bundle. both of the helper apps are background only. I would first get an alert which appeared after looking into it to be coming from one of them saying “The operation couldn’t be completed. (OSStatus error -192.)” The alert would have two buttons: Edit and OK. If I clicked OK the alert would repeat. If I clicked Edit Script Debugger would open and give me an alert that “The operation couldn’t be completed. (OSStatus error 1002.)”