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

NPE when opening search dialog and connection is closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.8.1
    • Fix Version/s: 1.0.0
    • Component/s: studio-ldapbrowser
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: