Processing won’t launch on my Mac anymore

Yesterday I was opening a sketch when Processing crashed.

Since then, when I open Processing I see the Processing logo for half a second, and then it disappears and Processing quits.

I removed processing from the Programs folder and reïnstalled Processing (several times), after this I installed a previous version, I updated Java to the newest version, but nothing seems to help.

Any suggestions?

I’m working on iMac 2017, macOS 10.14.6 Mojave

Processing version 3.4

This is what appears in Console:

fout 12:20:02.804958 +0200 cfprefsd rejecting write of key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate in { com.apple.contextstored, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 130 because setting preferences outside an application’s container requires user-preference-write or file-write-data sandbox access

fout 12:20:02.805707 +0200 contextstored Couldn’t write value for key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate in CFPrefsPlistSource<0x7f9c52e07280> (Domain: com.apple.contextstored, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): setting preferences outside an application’s container requires user-preference-write or file-write-data sandbox access

fout 12:20:02.807633 +0200 cfprefsd rejecting write of key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate in { com.apple.contextstored, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 130 because setting preferences outside an application’s container requires user-preference-write or file-write-data sandbox access

fout 12:20:02.809619 +0200 contextstored Couldn’t write value for key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate in CFPrefsPlistSource<0x7f9c52e07280> (Domain: com.apple.contextstored, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): setting preferences outside an application’s container requires user-preference-write or file-write-data sandbox access

Possibly related: Processing won't launch, Mac