Skip to content

NSInternalInconsistencyException: Built-in appearance SystemAppearance not found #33

@ghost

Description

When using node-mac-notifier, getting the following exception which crashes the renderer.
Facing this in macOS Catalina.
Works fine in macOS Mojave.
node-mac-notifier version : 1.2.0

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Critical error: required built-in appearance SystemAppearance not found'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2d731f53 __exceptionPreprocess + 250
	1   libobjc.A.dylib                     0x00007fff6365e835 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff2d731da9 +[NSException raise:format:] + 189
	3   libdispatch.dylib                   0x00007fff6497150e _dispatch_client_callout + 8
	4   libdispatch.dylib                   0x00007fff64972686 _dispatch_once_callout + 20
	5   AppKit                              0x00007fff2a87a6f9 +[NSAppearance _initializeCoreUI] + 34
	6   AppKit                              0x00007fff2a87a344 +[NSAppearance _aquaAppearance] + 51
	7   AppKit                              0x00007fff2a93170f -[NSSnapshotContextSignature initWithDrawingRect:applicableForRect:context:hints:] + 461
	8   AppKit                              0x00007fff2a995957 +[NSCGImageSnapshotRep _lockFocusForCreatingSnapshot:withRect:context:hints:flipped:] + 1362
	9   AppKit                              0x00007fff2a9cd9c5 -[NSImageRep CGImageForProposedRect:context:hints:] + 670
	10  Foundation                          0x00007fff30001219 _imageDataForImage + 599
	11  Foundation                          0x00007fff300017ee -[_NSConcreteUserNotification setContentImage:] + 99
	12  Notification.node                   0x00000001129affe1 _ZN15MacNotificationC2EPN3Nan10Utf8StringES2_S2_S2_S2_S2_bS2_ + 515
	13  Notification.node                   0x00000001129af33a _ZN15MacNotification3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE + 588
	14  Notification.node                   0x00000001129b0d48 _ZN3Nan3impL23FunctionCallbackWrapperERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 186
	15  Electron Framework                  0x0000000108b34a3f _ZN2v88internallsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKNS0_18BasicBlockProfilerE + 394447
	16  Electron Framework                  0x0000000108af2b18 _ZN2v88internallsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKNS0_18BasicBlockProfilerE + 124328
	17  Electron Framework                  0x0000000108af22f7 _ZN2v88internallsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKNS0_18BasicBlockProfilerE + 122247
	18  Electron Framework                  0x00000001093b702b _ZN2v88internal12trap_handler17RemoveTrapHandlerEv + 2154779
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions