Open Bug 1693872 Opened 3 years ago Updated 3 years ago

NSInvalidArgumentException: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Categories

(Core :: Widget: Cocoa, defect, P2)

All
macOS
defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

Details

(Whiteboard: [mac:stability])

Report: https://crash-stats.mozilla.org/report/index/ecc5657a-9edf-49b2-b486-a8faa0210219

Obj-C Exception data:
NSInvalidArgumentException: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Thrown at stack:
__exceptionPreprocess (in CoreFoundation) + 0xea
objc_exception_throw (in libobjc.A.dylib) + 0x30
-[__NSCFString characterAtIndex:].cold.1 (in CoreFoundation) + 0x0
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.5 (in CoreFoundation) + 0x0
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:] (in CoreFoundation) + 0xeb
__createDictionary (in CoreFoundation) + 0x3a
+[NSDictionary dictionaryWithObject:forKey:] (in CoreFoundation) + 0x20
-[NSCoreDragManager beginDraggingSessionWithItems:fromWindow:withClipRect:event:source:] (in AppKit) + 0x894
-[NSView(NSDrag) beginDraggingSessionWithItems:event:source:] (in AppKit) + 0x103
nsDragService::InvokeDragSessionImpl(nsIArray*, mozilla::Maybe<mozilla::gfx::IntRegionTyped<mozilla::CSSPixel> > const&, unsigned int) (in XUL) + 0x305
nsBaseDragService::InvokeDragSession(nsINode*, nsIPrincipal*, nsIContentSecurityPolicy*, nsICookieJarSettings*, nsIArray*, unsigned int, nsIContentPolicy::nsContentPolicyType) (in XUL) + 0x255
nsBaseDragService::InvokeDragSessionWithRemoteImage(nsINode*, nsIPrincipal*, nsIContentSecurityPolicy*, nsICookieJarSettings*, nsIArray*, unsigned int, mozilla::dom::RemoteDragStartData*, mozilla::dom::DragEvent*, mozilla::dom::DataTransfer*) (in XUL) + 0x12b
[...]

We attempted to avoid this exception in bug 1687268 but seemingly weren't successful. Now that we have the exception stack (from bug 1692394), we should take another stab at it.

Whiteboard: [mac:stability]
Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.