I have simple that works fine when I run it one folder, but throws errors when I run it on another with the same files in it. Neither rebooting nor deleting and the re-copying the rule to the problem folder has helped. I found a few reports of a similar error in the forum archives, but last time some reported the error (in May), you fixed with a patch to 3.0.06. I am running 3.0.12.
The error occurs for each file that matches the rule. Each message looks like this:
2012-09-18 18:09:08.087 hazelworker[872] Caught exception in rule evaluation of file [qqqq w gs] Post vision + questions @due(12-09-18).txt: -[__NSCFString isTextValued]: unrecognized selector sent to instance 0x10470fd90
2012-09-18 18:09:08.087 hazelworker[872] (
0 CoreFoundation 0x00007fff8a6f1716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff94338470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8a787d5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff8a6dfc3e ___forwarding___ + 414
4 CoreFoundation 0x00007fff8a6dfa28 _CF_forwarding_prep_0 + 232
5 hazelworker 0x000000010003d20d start + 242613
6 hazelworker 0x000000010002ce06 start + 176046
7 hazelworker 0x000000010003cbac start + 240980
8 hazelworker 0x000000010002cf6c start + 176404
9 CoreFoundation 0x00007fff8a6ac8ab -[NSArray descriptionWithLocale:indent:] + 635
10 hazelworker 0x000000010000fef2 start + 57498
11 hazelworker 0x000000010000ff37 start + 57567
12 hazelworker 0x0000000100021b4f start + 130295
13 hazelworker 0x0000000100003326 start + 5326
14 hazelworker 0x00000001000041a3 start + 9035
15 hazelworker 0x0000000100006f0b start + 20659
16 hazelworker 0x0000000100001e8c start + 52
17 ??? 0x0000000000000003 0x0 + 3
I can email you a copy of the rule if you want. Please advise.