Can't invoke the selector hazelContainsObject

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Hi,

Seem to be getting Can't invoke the selector hazelContainsObject error message, perhaps since upgrading to 3.2.4. Can you suggest what might be the issue here?

Code: Select all
2014-02-07 19:08:28.059 hazelworker[656] Processing folder Batch Tag
2014-02-07 19:08:31.727 hazelworker[656] [Error] Error during rule evaluation: Received error while trying to evaluate rule Sort TV Show to AppleTV (green label) on file The Big Bang Theory - S07E15.mp4
2014-02-07 19:08:31.727 hazelworker[656] Error while matching rule Sort TV Show to AppleTV (green label) against file /Users/tobycole/Movies/Batch Tag/The Big Bang Theory - S07E15.mp4: Can't invoke the selector hazelContainsObject: on (nil)
2014-02-07 19:08:31.728 hazelworker[656] (
   0   CoreFoundation                      0x00007fff92bc941c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff8bcebe75 objc_exception_throw + 43
   2   Foundation                          0x00007fff85ee987f -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 165
   3   Foundation                          0x00007fff85e75107 -[NSPredicateOperator performOperationUsingObject:andObject:] + 283
   4   Foundation                          0x00007fff85e748c6 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 315
   5   Foundation                          0x00007fff85e74786 -[NSPredicate evaluateWithObject:] + 19
   6   hazelworker                         0x0000000107d96191 start + 253425
   7   hazelworker                         0x0000000107d95615 start + 250485
   8   hazelworker                         0x0000000107d9c8b0 start + 279824
   9   hazelworker                         0x0000000107d94e41 start + 248481
   10  hazelworker                         0x0000000107d7bbf0 start + 145488
   11  hazelworker                         0x0000000107d5aec2 start + 11042
   12  hazelworker                         0x0000000107d5c1a8 start + 15880
   13  hazelworker                         0x0000000107d5d85a start + 21690
   14  hazelworker                         0x0000000107d583d4 start + 52
   15  ???                                 0x0000000000000002 0x0 + 2


Thanks
misterlab
 
Posts: 5
Joined: Sun Mar 11, 2012 3:16 pm

I'm seeing the exact same problem. Hazel is outputting 20 errors every few seconds by trying to scan PDFs that don't match one of my rule's criteria. Turning it off is the only solution for me it seems. I deactivated the rule and it started happening with another rule. Log:

Code: Select all
2014-02-08 17:30:27.412 hazelworker[55612] [Error] Error during rule evaluation: Received error while trying to evaluate rule Facture - EDF scan on file proceedingsdebat00nort.pdf
2014-02-08 17:30:27.412 hazelworker[55612] Error while matching rule Facture - EDF scan against file /Users/zach/Downloads/proceedingsdebat00nort.pdf: Can't invoke the selector hazelContainsObject: on (nil)
2014-02-08 17:30:27.412 hazelworker[55612] (
   0   CoreFoundation                      0x00007fff9085f41c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff91900e75 objc_exception_throw + 43
   2   Foundation                          0x00007fff8c6cf87f -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 165
   3   Foundation                          0x00007fff8c65b107 -[NSPredicateOperator performOperationUsingObject:andObject:] + 283
   4   Foundation                          0x00007fff8c65a8c6 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 315
   5   Foundation                          0x00007fff8c65a786 -[NSPredicate evaluateWithObject:] + 19
   6   hazelworker                         0x000000010eb80191 start + 253425
   7   hazelworker                         0x000000010eb7f615 start + 250485
   8   hazelworker                         0x000000010eb868b0 start + 279824
   9   hazelworker                         0x000000010eb7ee41 start + 248481
   10  hazelworker                         0x000000010eb65bf0 start + 145488
   11  hazelworker                         0x000000010eb44ec2 start + 11042
   12  hazelworker                         0x000000010eb461a8 start + 15880
   13  hazelworker                         0x000000010eb4785a start + 21690
   14  hazelworker                         0x000000010eb423d4 start + 52
   15  ???                                 0x0000000000000002 0x0 + 2
)
2014-02-08 17:30:27.441 hazelworker[55612] Hazel stopped. Aborting run.
2014-02-08 17:30:27.532 hazelworker[55612] Warning: error fire time is in the past: 2014-02-08 16:28:06 +0000
2014-02-08 17:30:29.639 hazelworker[55612] Received abort event.
2014-02-08 17:30:29.640 hazelworker[55612] Done processing folder Downloads
2014-02-08 17:31:10.559 HazelHelper[55559] Attempted to run worker on undeployed folder: /Users/zach/Downloads.
2014-02-08 17:31:13.068 HazelHelper[55559] Attempted to run worker on undeployed folder: /Users/zach/Downloads.
2014-02-08 17:31:15.635 HazelHelper[55559] Attempted to run worker on undeployed folder: /Users/zach/Downloads.
 
automaton
 
Posts: 1
Joined: Mon May 13, 2013 4:15 am

Im getting the same error across multiple rules. It seems to be having a lot of trouble with subfolders. These rules all worked for the last year and now they are not working. Basically a folder gets placed into a monitored folder and then the contents of that new placed folder are evaluated and then the contents are moved to another folder and then the now empty folder is eventually deleted from the monitored folder



2014-02-09 10:44:16.582 hazelworker[11252] [Error] Error during rule evaluation: Received error while trying to evaluate rule Trash File on file untitled folder
2014-02-09 10:44:16.582 hazelworker[11252] Error while matching rule Trash File against file /Users/esweeney/Video Processing/3. Trasmission Finished/untitled folder: Can't invoke the selector hazelContainsObject: on (nil)
2014-02-09 10:44:16.583 hazelworker[11252] (
0 CoreFoundation 0x00007fff86e9e41c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8f736e75 objc_exception_throw + 43
2 Foundation 0x00007fff865cc87f -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 165
3 Foundation 0x00007fff86558107 -[NSPredicateOperator performOperationUsingObject:andObject:] + 283
4 Foundation 0x00007fff865578c6 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 315
5 Foundation 0x00007fff86557786 -[NSPredicate evaluateWithObject:] + 19
6 hazelworker 0x0000000103aa3191 start + 253425
7 hazelworker 0x0000000103aa27c1 start + 250913
8 hazelworker 0x0000000103aa2615 start + 250485
9 hazelworker 0x0000000103aa98b0 start + 279824
10 hazelworker 0x0000000103aa1e41 start + 248481
11 hazelworker 0x0000000103a88bf0 start + 145488
12 hazelworker 0x0000000103a67ec2 start + 11042
13 hazelworker 0x0000000103a691a8 start + 15880
14 hazelworker 0x0000000103a6a85a start + 21690
15 hazelworker 0x0000000103a653d4 start + 52
)
esweeney
 
Posts: 3
Joined: Fri Sep 28, 2012 5:22 pm

I'm seeing the same thing. Rules that have worked flawlessly for years are now generating errors.
I've had to disable Hazel to avoid this.

Code: Select all
2014-02-10 09:03:34.674 hazelworker[89272] [Error] Error during rule evaluation: Received error while trying to evaluate rule 6 Days Old (Will Be Moved Tomorrow) on file IMG_1323.JPG
2014-02-10 09:03:34.674 hazelworker[89272] Error while matching rule 6 Days Old (Will Be Moved Tomorrow) against file /Users/mkurland/Downloads/IMG_1323.JPG: Can't invoke the selector hazelContainsObject: on (nil)
2014-02-10 09:03:34.674 hazelworker[89272] (
   0   CoreFoundation                      0x00007fff8cf8041c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff8e6fbe75 objc_exception_throw + 43
   2   Foundation                          0x00007fff957f287f -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 165
   3   Foundation                          0x00007fff9577e107 -[NSPredicateOperator performOperationUsingObject:andObject:] + 283
   4   Foundation                          0x00007fff9577d8c6 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 315
   5   Foundation                          0x00007fff9577d786 -[NSPredicate evaluateWithObject:] + 19
   6   hazelworker                         0x0000000107247191 start + 253425
   7   hazelworker                         0x00000001072467c1 start + 250913
   8   hazelworker                         0x0000000107246615 start + 250485
   9   hazelworker                         0x000000010724d8b0 start + 279824
   10  hazelworker                         0x0000000107246615 start + 250485
   11  hazelworker                         0x000000010724d8b0 start + 279824
   12  hazelworker                         0x0000000107245e41 start + 248481
   13  hazelworker                         0x000000010722cbf0 start + 145488
   14  hazelworker                         0x000000010720bec2 start + 11042
   15  hazelworker                         0x000000010720d1a8 start + 15880
   16  hazelworker                         0x000000010720e85a start + 21690
   17  hazelworker                         0x00000001072093d4 start + 52
   18  ???                                 0x0000000000000002 0x0 + 2
)
Malacandra
 
Posts: 1
Joined: Mon Feb 10, 2014 1:22 pm

There was a bug introduced in the last version when reading comments. I have a test build here. If you are interested, please email support and I'll send you a link.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Yes please as I've resorted to downgrading at the moment
misterlab
 
Posts: 5
Joined: Sun Mar 11, 2012 3:16 pm

how do I get the previous version?
esweeney
 
Posts: 3
Joined: Fri Sep 28, 2012 5:22 pm

misterlab
 
Posts: 5
Joined: Sun Mar 11, 2012 3:16 pm

I would be careful downloading from any site besides this one. If you email support, I can send you the link to the test version which so far has shown to fix the issue.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Can confirm test version works for me, so no longer using the old version.

Many thanks for quick resolution.
misterlab
 
Posts: 5
Joined: Sun Mar 11, 2012 3:16 pm


Return to Open Discussion