java.lang.Error: java.lang.ExceptionInInitializerError

ForgeRock JIRA | David Goldsmith | 1 year ago
  1. 0

    This doesn't appear to effect functionality. I'm logging this in case it is issue with the new LDAP SDK. I am seeing sporadic errors similar to the following. It occurred while running a scripted build based on the SE demo. Note that the agent OIDCAgent does not exist when I run this command: {noformat}ssoadm delete-agents --verbose --agentnames OIDCAgent --realm /shop --adminid amadmin --password-file pwd.txt >/dev/null Identity OIDCAgent1 of type agentonly not found. Exception in thread "SystemTimer" java.lang.Error: java.lang.ExceptionInInitializerError at com.sun.identity.common.TimerPool$WorkerThread.run(TimerPool.java:542) Caused by: java.lang.ExceptionInInitializerError at com.sun.identity.idm.IdRepoListener.getChangedIds(IdRepoListener.java:275) at com.sun.identity.idm.IdRepoListener.objectChanged(IdRepoListener.java:173) at com.sun.identity.idm.remote.IdRemoteEventListener.sendIdRepoNotification(IdRemoteEventListener.java:315) at com.sun.identity.idm.remote.IdRemoteEventListener$NotificationRunnable.run(IdRemoteEventListener.java:398) at com.sun.identity.common.TimerPool$WorkerThread.run(TimerPool.java:434) Caused by: java.lang.IllegalStateException: CachedConnectionPool is already closed at org.forgerock.opendj.ldap.CachedConnectionPool.getConnectionAsync(CachedConnectionPool.java:786) at org.forgerock.opendj.ldap.CachedConnectionPool.getConnection(CachedConnectionPool.java:772) at com.sun.identity.sm.ldap.SMDataLayer.getConnection(SMDataLayer.java:107) at com.sun.identity.sm.ldap.SMSLdapObject.getConnection(SMSLdapObject.java:577) at com.sun.identity.sm.ldap.SMSLdapObject.read(SMSLdapObject.java:278) at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:700) at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:677) at com.sun.identity.sm.SMSEntry.<init>(SMSEntry.java:470) at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:397) at com.sun.identity.sm.ServiceConfigImpl.checkAndUpdatePermission(ServiceConfigImpl.java:634) at com.sun.identity.sm.ServiceConfigImpl.getFromCache(ServiceConfigImpl.java:625) at com.sun.identity.sm.ServiceConfigImpl.getInstance(ServiceConfigImpl.java:495) at com.sun.identity.sm.ServiceConfigImpl.getInstance(ServiceConfigImpl.java:473) at com.sun.identity.sm.ServiceConfigManagerImpl.getGlobalConfig(ServiceConfigManagerImpl.java:204) at com.sun.identity.sm.ServiceConfigManager.getGlobalConfig(ServiceConfigManager.java:253) at com.sun.identity.idm.IdUtils.initialize(IdUtils.java:128) at com.sun.identity.idm.IdUtils.<clinit>(IdUtils.java:116) ... 5 more {noformat}

    ForgeRock JIRA | 1 year ago | David Goldsmith
    java.lang.Error: java.lang.ExceptionInInitializerError
  2. 0

    Tests: keep the html folder and the viewer open

    GitHub | 2 months ago | cmaumet
    java.lang.IllegalStateException: Channel is already closed.
  3. 0

    ServerInterceptor close trigger MessageDeframer is already closed

    GitHub | 8 months ago | yinheli
    java.lang.IllegalStateException: MessageDeframer is already closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalStateExc: Stream is already closed

    pjl-comp-filter | 1 decade ago | andrejkoman
    java.lang.IllegalStateException: Stream is already closed
  6. 0

    okhttp: race between receiving data and closing deframer

    GitHub | 9 months ago | ejona86
    java.lang.IllegalStateException: MessageDeframer is already closed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      CachedConnectionPool is already closed

      at org.forgerock.opendj.ldap.CachedConnectionPool.getConnectionAsync()
    2. org.forgerock.opendj
      CachedConnectionPool.getConnection
      1. org.forgerock.opendj.ldap.CachedConnectionPool.getConnectionAsync(CachedConnectionPool.java:786)
      2. org.forgerock.opendj.ldap.CachedConnectionPool.getConnection(CachedConnectionPool.java:772)
      2 frames
    3. com.sun.identity
      TimerPool$WorkerThread.run
      1. com.sun.identity.sm.ldap.SMDataLayer.getConnection(SMDataLayer.java:107)
      2. com.sun.identity.sm.ldap.SMSLdapObject.getConnection(SMSLdapObject.java:577)
      3. com.sun.identity.sm.ldap.SMSLdapObject.read(SMSLdapObject.java:278)
      4. com.sun.identity.sm.SMSEntry.read(SMSEntry.java:700)
      5. com.sun.identity.sm.SMSEntry.read(SMSEntry.java:677)
      6. com.sun.identity.sm.SMSEntry.<init>(SMSEntry.java:470)
      7. com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:397)
      8. com.sun.identity.sm.ServiceConfigImpl.checkAndUpdatePermission(ServiceConfigImpl.java:634)
      9. com.sun.identity.sm.ServiceConfigImpl.getFromCache(ServiceConfigImpl.java:625)
      10. com.sun.identity.sm.ServiceConfigImpl.getInstance(ServiceConfigImpl.java:495)
      11. com.sun.identity.sm.ServiceConfigImpl.getInstance(ServiceConfigImpl.java:473)
      12. com.sun.identity.sm.ServiceConfigManagerImpl.getGlobalConfig(ServiceConfigManagerImpl.java:204)
      13. com.sun.identity.sm.ServiceConfigManager.getGlobalConfig(ServiceConfigManager.java:253)
      14. com.sun.identity.idm.IdUtils.initialize(IdUtils.java:128)
      15. com.sun.identity.idm.IdUtils.<clinit>(IdUtils.java:116)
      16. com.sun.identity.idm.IdRepoListener.getChangedIds(IdRepoListener.java:275)
      17. com.sun.identity.idm.IdRepoListener.objectChanged(IdRepoListener.java:173)
      18. com.sun.identity.idm.remote.IdRemoteEventListener.sendIdRepoNotification(IdRemoteEventListener.java:315)
      19. com.sun.identity.idm.remote.IdRemoteEventListener$NotificationRunnable.run(IdRemoteEventListener.java:398)
      20. com.sun.identity.common.TimerPool$WorkerThread.run(TimerPool.java:434)
      20 frames