I am working on a hybrid application with a custom InAppBrowser plugin and an exception seems to be randomly generated.
I have no way to reproduce this error sequentially. I open this application and browser, and in the end, when I click the close button of the browser plugin, this will happen.
This happens inside cordova after I call this line here

If an exception does occur
CordovaLib.xcodeproj/Classes/Commands/CDVCommandDelegateImpl.m


I spent hours trying to find what is happening, and I cannot find any information on the Internet that helps. I tried to wrap it in try / catch to at least see if I can get around it, and that doesn't work.
Actual logged error:
*** Assertion failure in -[DDWebKitOperation dealloc], /SourceCache/MobileDataDetectorsUI/MobileDataDetectorsUI-109.1/URLification/DDOperation.m:202
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Container should already be nil'
- , ?
.