Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 56195 invoked from network); 26 Feb 2009 07:48:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 07:48:16 -0000 Received: (qmail 36583 invoked by uid 500); 26 Feb 2009 07:48:15 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 36549 invoked by uid 500); 26 Feb 2009 07:48:15 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 36538 invoked by uid 99); 26 Feb 2009 07:48:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 23:48:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 07:48:13 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id AF21D234C498; Wed, 25 Feb 2009 23:47:52 -0800 (PST) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 46768] CustomProperties.containsKey(key) X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: HPFS X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: klute@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Component In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20090226074752.AF21D234C498@brutus.apache.org> Date: Wed, 25 Feb 2009 23:47:52 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46768 Rainer Klute changed: What |Removed |Added ---------------------------------------------------------------------------- Component|POIFS |HPFS --- Comment #4 from Rainer Klute 2009-02-25 23:47:50 PST --- Could you please try an unconditional Object value = customProperties.get("key"); and after doing the get() check whether the result is null (value not in properties) or not null (you retrieved the value successfully)? If the custom properties indeed do not contain your value the question is whether your key/value pair a) entered the custom properties successfully b) had been deleted by your application or c) had been deleted by a HPSF failure. In case c) we'd need a sample program demonstrating the error. Ideally it would be in the form of a JUnit test case, but this is not required. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org