I'm writing a Cocoa Automator Action. The input argument to
runWithInput: appears to be an invalid class of some sort. When I
print [input className] to the console I get the following message:
Automator[7524] Exception raised during posting of notification.
Ignored. exception: [<AMAppleScriptAction 0x13de7d0>
removeObserver:<AMDocument 0x13c1b000>
forKeyPath:@"parameters.temporary items path"] was sent to an object
that has no observers.
When I po [input className] in gdb, I get NSCFString. If I replace
my Automator action in my workflow with another action that has text
input and output (like mine), it works fine.