Trying to delete all data using realm.deleteAll() but getting error.
Stacktrace & log output
libc++abi: terminating with uncaught exception of type realm::KeyNotFound: No object with key '0' in 'class_Broadcast'
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/usr/lib/libMTLCapture.dylib
terminating with uncaught exception of type realm::KeyNotFound: No object with key '0' in 'class_Broadcast'
### Can you reproduce the bug?
Yes, always
### Reproduction Steps
_No response_
### Version
10.28.3
### What SDK flavour are you using?
Local Database only
### Are you using encryption?
No, not using encryption
### Platform OS and version(s)
iOS
### Build environment
Xcode: 13.4.1
iOS: 15.6
How frequently does the bug occur?
All the time
Description
Trying to delete all data using
realm.deleteAll()
but getting error.Stacktrace & log output