Hacker News new | ask | show | jobs
by judge2020 1679 days ago
Just tried running it on my (terribly inconsistent and laggy) directv/att satellite internet, and the process crashed with NSInvalidArgumentException. https://gist.github.com/judge2020/ff0279a51ed59a56aa184867c0... (14" MBP base model)
3 comments

The programmer either meant to use NSNull or setValue:forKey or simply forgot a nil check.

https://developer.apple.com/documentation/foundation/nsmutab...

Pretty lame mistake to let slip through review and testing and a common enough error that Apple calls it out in its documentation:

https://developer.apple.com/documentation/foundation/nsmutab...

Simple! Use macOS Monterey’s new software quality tool to debug this. I’ve heard it’s surprisingly good!
Huh interesting, works fine on my 2018 Intel MBP. Surprising to see a bug like this on the newest models.
I doubt its a bug in a particular model. I'm on an M1 Max and the tool works without issues.

I am guessing its an bug in the tool itself that the user ran into.

Works on my M1 Air.