You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2007/08/25 09:25:31 UTC

[jira] Created: (DIRSTUDIO-168) NPE when opening search dialog and connection is closed

NPE when opening search dialog and connection is closed
-------------------------------------------------------

                 Key: DIRSTUDIO-168
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-168
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-browser
    Affects Versions: 0.8.1, 0.8.0
            Reporter: Stefan Seelmann
            Assignee: Stefan Seelmann
             Fix For: 1.0.0


When the connection is closed and I try to open the search dialgog I get an NPE, because IConnection.getRootDSE() returns null:

java.lang.NullPointerException
        at org.apache.directory.ldapstudio.browser.common.actions.SelectionUtils.getExampleSearch(SelectionUtils.java:215)
        at org.apache.directory.ldapstudio.browser.ui.search.SearchPage.createControl(SearchPage.java:145)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-168) NPE when opening search dialog and connection is closed

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann closed DIRSTUDIO-168.
-------------------------------------

    Resolution: Fixed

Fixed here: http://svn.apache.org/viewvc?rev=569899&view=rev

> NPE when opening search dialog and connection is closed
> -------------------------------------------------------
>
>                 Key: DIRSTUDIO-168
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-168
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-browser
>    Affects Versions: 0.8.0, 0.8.1
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 1.0.0
>
>
> When the connection is closed and I try to open the search dialgog I get an NPE, because IConnection.getRootDSE() returns null:
> java.lang.NullPointerException
>         at org.apache.directory.ldapstudio.browser.common.actions.SelectionUtils.getExampleSearch(SelectionUtils.java:215)
>         at org.apache.directory.ldapstudio.browser.ui.search.SearchPage.createControl(SearchPage.java:145)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.