[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #31377] Unexpected error when adding nil to a dictionary via proxy.
From: |
Gregory John Casamento |
Subject: |
[bug #31377] Unexpected error when adding nil to a dictionary via proxy... |
Date: |
Tue, 19 Oct 2010 22:53:35 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3 |
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 #31377] Unexpected error when adding nil to a dictionary via proxy...,
Gregory John Casamento <=