Page 1 of 1

Passes Javascript crashes

PostPosted: Sun Nov 30, 2025 3:19 pm
by scottfwalter
Hi,

I keep getting this error even with the simplest Javascript embedded scripts (return true) with 6.1.1

2025-11-30 13:15:41.389 hazelworker[19403] DEBUG: About to process directory /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads
2025-11-30 13:15:41.410 hazelworker[19403] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2025-11-30 13:15:41.510 hazelworker[19403] [Error] Error during rule evaluation: Received error while trying to evaluate rule Move to Scott Archives on file 2025-11-30 - Colin County Property Taxes 2025.pdf
2025-11-30 13:15:41.511 hazelworker[19403] Error while matching rule Move to Scott Archives against file /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads/2025-11-30 - Colin County Property Taxes 2025.pdf: Error executing JavaScript: (null)
2025-11-30 13:15:41.511 hazelworker[19403] DEBUG: Tapping error retry sequence
2025-11-30 13:15:41.511 hazelworker[19403] ###Arch: arm64
2025-11-30 13:15:41.511 hazelworker[19403] ###main load address: 0x1048b4000
2025-11-30 13:15:41.511 hazelworker[19403] ###Hazel Core load address: 0x104a90000
2025-11-30 13:15:41.511 hazelworker[19403] ###Noodle load address: 0x104e94000
2025-11-30 13:15:41.511 hazelworker[19403] ###CK load address: 0x104970000
2025-11-30 13:15:41.511 hazelworker[19403] (
0 CoreFoundation 0x000000018819d8ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000187c76418 objc_exception_throw + 88
2 CoreFoundation 0x000000018826b0f0 -[NSException initWithCoder:] + 0
3 HazelCore 0x0000000104a9f1f0 hasNSRecords + 9816
4 Foundation 0x000000018a2c8d08 -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 852
5 Foundation 0x000000018a2bed28 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 352
6 HazelCore 0x0000000104ad7e88 hazelKindFromUTI + 2912
7 HazelCore 0x0000000104adb498 _isDateValue + 660
8 HazelCore 0x0000000104adb634 _isDateValue + 1072
9 HazelCore 0x0000000104ad9918 hazelKindFromUTI + 9712
10 HazelCore 0x0000000104add0d8 _isDateValue + 7892
11 HazelCore 0x0000000104abaeac errorFromOSAScriptErrorDict + 64276
12 hazelworker 0x00000001048b8e1c hazelworker + 19996
13 hazelworker 0x00000001048bb348 hazelworker + 29512
14 hazelworker 0x00000001048bd110 hazelworker + 37136
15 dyld 0x0000000187ce9d54 start + 7184
)

Any Ideas?

Re: Passes Javascript crashes

PostPosted: Mon Dec 01, 2025 10:43 am
by Mr_Noodle
Does the script compile properly in the editor? What version of macOS are you running?

Re: Passes Javascript crashes

PostPosted: Mon Dec 01, 2025 7:54 pm
by scottfwalter
Mr_Noodle wrote:Does the script compile properly in the editor? What version of macOS are you running?


hi,

I'm using MacOS 26.2

Previously I had it test for a regular expression but now I have it simply return true

https://www.icloud.com/iclouddrive/018U ... xeMvg#haze

and then why I preview I see this error: Error executing JavaScript: (null)

https://www.icloud.com/iclouddrive/0a97 ... QNQ#hazel2

Sorry for the links. I didn't see a way to attach images directly.

Re: Passes Javascript crashes

PostPosted: Tue Dec 02, 2025 9:32 am
by Mr_Noodle
Ok, this looks like Tahoe broke something. Looking into it.

[EDIT] Oddly, AppleScript works fine. You may want to consider using that instead if you are comfortable with it.

Re: Passes Javascript crashes

PostPosted: Tue Dec 02, 2025 2:38 pm
by scottfwalter
I’ll convert it to Apple Script for now. Thanks