Gimp-Forum.net
NSInvalidArgumentException during app launch (extension-script-fu?) - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: OSX (https://www.gimp-forum.net/Forum-OSX)
+---- Thread: NSInvalidArgumentException during app launch (extension-script-fu?) (/Thread-NSInvalidArgumentException-during-app-launch-extension-script-fu)



NSInvalidArgumentException during app launch (extension-script-fu?) - Pete - 03-05-2018

Freshly installed GIMP 2.8.22 on OSX 10.12.6 never starts, and throws the following (when reaching initialization of extension-script-fu):

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray length]: unrecognized selector sent to instance 0x11033f370'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fffc943b2cb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fffde25448d objc_exception_throw + 48
2   CoreFoundation                      0x00007fffc94bcf04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x00007fffc93ad755 ___forwarding___ + 1061
4   CoreFoundation                      0x00007fffc93ad2a8 _CF_forwarding_prep_0 + 120
5   CoreFoundation                      0x00007fffc933a257 CFStringFindWithOptionsAndLocale + 231
6   CoreFoundation                      0x00007fffc9348792 CFStringHasSuffix + 194
7   CoreFoundation                      0x00007fffc93a4bdb -[__NSCFString hasSuffix:] + 107
8   CFNetwork                           0x00007fffc8684e9d __40-[NSHost resolveCurrentHo<…>

I worked for a long time without issues with GIMP version 2.8, then suddenly after a Mac restart it started throwing the above when launching the app. I reinstalled 2.8.22, but it didn't fix the issue.

Hm, another Mac restart solved the issue it seems. Probably still worth investigating and fixing though.

Peter