Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 830FCE2E6 for ; Tue, 29 Jan 2013 16:03:15 +0000 (UTC) Received: (qmail 61782 invoked by uid 500); 29 Jan 2013 16:03:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 61510 invoked by uid 500); 29 Jan 2013 16:03:14 -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 61039 invoked by uid 99); 29 Jan 2013 16:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 16:03:13 +0000 Date: Tue, 29 Jan 2013 16:03:13 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSTUDIO-865) Open Connection gets nullPointer on SearchRunnable with Domino LDAP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSTUDIO-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565476#comment-13565476 ] Emmanuel Lecharny commented on DIRSTUDIO-865: --------------------------------------------- There is nothing wrong in the PDU you sent. It's a basic SearchRequest done on cn=schema, searching for ObjectClass only. The response is a SearchResultEntry which has 2 ObjectClasses (top and subschema) and a SearchResultDone with a success. There is no reason for Studio to produce a NPE when doing that... Unless you have a namingContext which is not valid in your RootDSE. Can you attach the Naming Context to this Jira ? (PS : we should *not* throw a NPE whatever the problem can be...) > Open Connection gets nullPointer on SearchRunnable with Domino LDAP > ------------------------------------------------------------------- > > Key: DIRSTUDIO-865 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-865 > Project: Directory Studio > Issue Type: Bug > Components: studio-apacheds > Affects Versions: 2.0.0-M3 > Environment: Windows 8 64 bit > Reporter: Brad Thurber > Attachments: DirStudioDominoFailure.pcapng > > > Connecting to a Domino 7.1 LDAP. I get the following: > 'Open Connection' has encountered a problem. Error while opening connection > Error while opening connection > java.lang.NullPointerException > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.initFlags(SearchRunnable.java:707) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:348) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRootDSERunnable.searchRootDseEntries(InitializeRootDSERunnable.java:414) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRootDSERunnable.loadRootDSE(InitializeRootDSERunnable.java:250) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:226) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:204) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.openBrowserConnection(BrowserConnectionListener.java:117) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.connectionOpened(BrowserConnectionListener.java:64) > at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.runNotification(OpenConnectionsRunnable.java:132) > at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:115) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > java.lang.NullPointerException -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira