From a6f8e77979e4968ff1862b0b9e277309fe8bc5fd Mon Sep 17 00:00:00 2001
From: david_page <david_page@localhost>
Date: Thu, 03 May 2007 15:15:37 +0000
Subject: [PATCH] Issue [1395] NullPointerException raised by ldapsearch when prompt for bind passwd
---
opends/src/server/org/opends/server/tools/LDAPSearch.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/LDAPSearch.java b/opends/src/server/org/opends/server/tools/LDAPSearch.java
index 2c604de..bffff7d 100644
--- a/opends/src/server/org/opends/server/tools/LDAPSearch.java
+++ b/opends/src/server/org/opends/server/tools/LDAPSearch.java
@@ -1099,7 +1099,8 @@
err.println(wrapText(ex.getMessage(), MAX_LINE_WIDTH));
return 1;
}
- } else if(bindPasswordValue == null)
+ }
+ else if(bindPasswordValue == null)
{
// Read from file if it exists.
bindPasswordValue = bindPasswordFile.getValue();
--
Gitblit v1.10.0