Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 77656 invoked from network); 20 Sep 2010 20:03:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 20:03:13 -0000 Received: (qmail 70253 invoked by uid 500); 20 Sep 2010 20:03:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 70175 invoked by uid 500); 20 Sep 2010 20:03:12 -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 70168 invoked by uid 99); 20 Sep 2010 20:03:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 20:03:12 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 20:02:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8KK2Xsm012706 for ; Mon, 20 Sep 2010 20:02:33 GMT Message-ID: <30175283.301661285012953085.JavaMail.jira@thor> Date: Mon, 20 Sep 2010 16:02:33 -0400 (EDT) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRAPI-30) Sporadic NullPointerException during SASL bind In-Reply-To: <23940828.301501285012173740.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRAPI-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912678#action_12912678 ] Stefan Seelmann commented on DIRAPI-30: --------------------------------------- Committed test here: http://svn.apache.org/viewvc?rev=999091&view=rev > Sporadic NullPointerException during SASL bind > ---------------------------------------------- > > Key: DIRAPI-30 > URL: https://issues.apache.org/jira/browse/DIRAPI-30 > Project: Directory client API > Issue Type: Bug > Affects Versions: 0.2.0 > Reporter: Stefan Seelmann > Fix For: 0.2.0 > > > There is a sporadic NullPointerException in the SaslBindIT tests. First, it didn't occur on my Mac, but on Linux and Windows CI builds. Now I created a test that binds 1000 times (sequential) with CRAM-MD5, Digest-MD5 and GSSAPI, and I can reproduce the exception on my Mac. > Most time the exception occurs during a GSSAPI bind, but also sometimes during a Digest-MD5 for Cram-MD5 SASL bind. > Here is the thrown exception: > java.lang.NullPointerException > at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindSasl(LdapNetworkConnection.java:3534) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindSasl(LdapNetworkConnection.java:3437) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindDigestMd5(LdapNetworkConnection.java:1213) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindDigestMd5(LdapNetworkConnection.java:1239) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindDigestMd5(LdapNetworkConnection.java:1192) > at org.apache.directory.server.operations.bind.SaslBindIT.testSequentialBinds(SaslBindIT.java:439) > Before the exception is thrown the test hangs for some time. The BindFuture then times out and returns null. Is that a problem with available resources? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.