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

pgamba
30.32.2007 a664456e0aa0df2e01a0ff6c7406f6e2f0a5fc6e
Add a catch for the following null pointer exception that Neil got while running synchro tests on his machine.
The root cause for this exception requires a deeper investigation.

[testng] Failed Test:
org.opends.server.synchronization.changelog.ChangelogTest#changelogChaining
[testng] Failure Cause: java.lang.NullPointerException
[testng]
org.opends.server.synchronization.changelog.Changelog.shutdown(Changelog.java:566)
[testng]
org.opends.server.synchronization.changelog.ChangelogTest.changelogChaining(ChangelogTest.java:726)
1 files modified
7 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/synchronization/changelog/Changelog.java 7 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/changelog/Changelog.java
@@ -563,7 +563,14 @@
    shutdown = true;
    // shutdown the connect thread
    try
    {
    myConnectThread.interrupt();
    } catch (NullPointerException e)
    {
      // FIXME To be investigated the conditions
      // where myConnectThread can be null here
    }
    // shutdown the listener thread
    try