Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-168

NPE when opening search dialog and connection is closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.8.1
    • 1.0.0
    • studio-ldapbrowser
    • None

    Description

      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)

      Attachments

        Activity

          People

            seelmann Stefan Seelmann
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: