mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
08.20.2009 440500cba99f125b1f5f7124b8aecca4da3ed8dc
Fix a potential NullPointerException when building the error message to be displayed to the user.
1 files modified
10 ■■■■■ changed files
opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 10 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java
@@ -8506,7 +8506,15 @@
      }
      else if (c instanceof OpenDsException)
      {
        s = ((OpenDsException)c).getMessageObject().toString();
        Message msg = ((OpenDsException)c).getMessageObject();
        if (msg != null)
        {
          s = msg.toString();
        }
        else
        {
          s = c.toString();
        }
      }
      else
      {