[
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