Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-168

NPE when opening search dialog and connection is closed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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)

        Activity

        Show
        Stefan Seelmann added a comment - Fixed here: http://svn.apache.org/viewvc?rev=569899&view=rev

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development