Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3793

ThreadInterruptedException when stopping OpenDJ with PwdSyncPlugin installed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: core server
    • Labels:
      None
    • Sprint:
      OpenDJ Sprint 101

      Description

      Found using OpenDJ 4.0.0 rev ac8850f1380 and OpenIDM 05e5acb

      Scenario
      1. install and configure OpenDJ
      2. install and configure OpenIDM
      3. install and configure the PwdSyncPlugin
      4. perform a single ldappasswordmodify on OpenDJ side
      5. stop OpenIDM
      6. stop and uninstall OpenDJ

      => we get the following exception in the OpenDJ errors log file:

       
      [28/Feb/2017:04:43:13 +0000] category=CORE severity=ERROR msgID=140 msg=An uncaught exception during processing for thread OpenIDM AccountStatus Notification Handler Thread has caused it to terminate abnormally. The stack trace for that exception is: ThreadInterruptedException: (JE 7.3.7) /home/testuser/jenkins/workspace/OpenDJ-Tests-Master-Daily-STD/Configs/results/20170228-044104/plugins_group/DJ1/opendj/logs/pwsync java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed. (SharedLatchImpl.java:108 Tree.java:468 Tree.java:452 Tree.java:2280 Tree.java:906 DiskOrderedScanner.java:2182 DiskOrderedScanner.java:740 DiskOrderedScanner.java:703 DatabaseImpl.java:2266 Database.java:1910 PersistedQueue.java:152 OpenidmAccountStatusNotificationHandler.java:707)
      [28/Feb/2017:04:43:13 +0000] category=CORE severity=NOTICE msgID=139 msg=The Directory Server has sent an alert notification generated by class org.opends.server.api.DirectoryThread (alert type org.opends.server.UncaughtException, alert ID org.opends.messages.core-140): An uncaught exception during processing for thread OpenIDM AccountStatus Notification Handler Thread has caused it to terminate abnormally. The stack trace for that exception is: ThreadInterruptedException: (JE 7.3.7) /home/testuser/jenkins/workspace/OpenDJ-Tests-Master-Daily-STD/Configs/results/20170228-044104/plugins_group/DJ1/opendj/logs/pwsync java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed. (SharedLatchImpl.java:108 Tree.java:468 Tree.java:452 Tree.java:2280 Tree.java:906 DiskOrderedScanner.java:2182 DiskOrderedScanner.java:740 DiskOrderedScanner.java:703 DatabaseImpl.java:2266 Database.java:1910 PersistedQueue.java:152 OpenidmAccountStatusNotificationHandler.java:707)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                csovant Christophe Sovant
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: