Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 44409 invoked from network); 14 Sep 2006 17:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2006 17:49:33 -0000 Received: (qmail 96563 invoked by uid 500); 14 Sep 2006 17:49:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96398 invoked by uid 500); 14 Sep 2006 17:49:19 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 96254 invoked by uid 99); 14 Sep 2006 17:49:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 10:49:12 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB630714347 for ; Thu, 14 Sep 2006 17:43:24 +0000 (GMT) Message-ID: <14986646.1158255804961.JavaMail.jira@brutus> Date: Thu, 14 Sep 2006 10:43:24 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-741) NullPointerException raised occasionally in ASN1Decoder when Logging is activated In-Reply-To: <31062014.1158226163863.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-741?page=all ] Emmanuel Lecharny resolved DIRSERVER-741. ----------------------------------------- Resolution: Fixed Uh oh... Good catch, PAM. I have added some defensive tests to avoid this kind of situation. Can you confirm that the issue has been fixed ? Thanks a lot ! > NullPointerException raised occasionally in ASN1Decoder when Logging is activated > --------------------------------------------------------------------------------- > > Key: DIRSERVER-741 > URL: http://issues.apache.org/jira/browse/DIRSERVER-741 > Project: Directory ApacheDS > Issue Type: Bug > Components: asn1 > Reporter: Pierre-Arnaud Marcelot > > Working with Asn1Decoder (package org.apache.directory.shared.asn1.ber), sometimes I have a NullPointerException raised by a null TLV at line 981. > ------ > java.lang.NullPointerException > at org.apache.directory.shared.asn1.ber.Asn1Decoder.decode(Asn1Decoder.java:981) > at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.readResponse(Dsmlv2Engine.java:483) > at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processRequest(Dsmlv2Engine.java:342) > at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processDSML(Dsmlv2Engine.java:207) > at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processDSML(Dsmlv2Engine.java:107) > at org.safehaus.ldapstudio.dsmlv2.engine.MainEngine.main(MainEngine.java:23) > ------ > This only occurs when logging is activated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira