Return-Path: Delivered-To: apmail-ibatis-user-cs-archive@www.apache.org Received: (qmail 76159 invoked from network); 10 Jan 2006 09:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 09:59:37 -0000 Received: (qmail 21523 invoked by uid 500); 10 Jan 2006 09:59:34 -0000 Delivered-To: apmail-ibatis-user-cs-archive@ibatis.apache.org Received: (qmail 21402 invoked by uid 500); 10 Jan 2006 09:59:32 -0000 Mailing-List: contact user-cs-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-cs@ibatis.apache.org Delivered-To: mailing list user-cs@ibatis.apache.org Received: (qmail 21385 invoked by uid 99); 10 Jan 2006 09:59:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 01:59:32 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [159.50.101.86] (HELO parmail7.bnpparibas.fr) (159.50.101.86) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 01:59:30 -0800 X-DISCLAIMER: CHECKED X-IronPort-AV: i="3.99,349,1131318000"; d="scan'208"; a="76514203:sNHT61036068" Sensitivity: Subject: Ibatis v1.3 : QueryForMap Bug/Regression ? To: user-cs@ibatis.apache.org From: nicolas.theron@bnpparibas.com Date: Tue, 10 Jan 2006 10:58:55 +0100 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi I ve got a problem with calling the version of the method QueryForMap without the valueProperty Parameter (public IDictionary QueryForMap(string statementName, object parameterObject, string keyProperty)) this one is an overload of this following method: public IDictionary QueryForMap(string statementName, object parameterObject, string keyProperty, string valueProperty)which use null as valueProperty. So, A NullReferenceException is raised. I could see in the source code the problem come from the building of the CacheKey object : Indeed, Update method of the CacheKey object is called with null object So Is it really a bug/regression (it worked properly in the previous version of ibatis) or is this method obsolete ? Maybe this problem occur with all the methods with a null valueProperty ??? Regards This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.