URL:
<http://savannah.gnu.org/bugs/?31377>
Summary: Unexpected error when adding nil to a dictionary
via proxy...
Project: GNUstep
Submitted by: gcasa
Submitted on: Tue 19 Oct 2010 06:53:35 PM EDT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I know that adding a nil to a dictionary SHOULD cause an issue, but when
doing so over a NSConnection via a proxy it seems to call the following:
55 [opdict setObject: source forKey: @"source"];
(gdb) n
56 [opdict setObject: destination forKey: @"destination"];
(gdb) n
-[NSConnection(Private) _service:forwardForProxy:] (self=0x298cc848,
_cmd=0x2893be48, aRmc=0x298ca0f8) at NSConnection.m:2848
2848 if (debug_connection > 3)
In this case "destination" is nil. I'd expect it to produce the error
"attempt to set nil object for key."
In WorkspaceApplication.m:50. This was found while working with Riccardo on
fixing another bug.
G
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31377>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep