com.cenqua.fisheye.rep.DbException: Unexpected error adding user named jxie to the crucible database.

Atlassian JIRA | Tim Pettersen | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    If FishEye is set to automatically sychronise with Crowd or LDAP, the initial synchronisation on start-up may fail with the following stacktrace: {code} [java] INFO - FishEye/Crucible 2.1.0.M5 (build-SNAPSHOT), Built on 2009-10-21 [java] INFO - Crucible: Commercial License registered to atlassian (eac/cru). [java] INFO - Periodic polling for software updates is enabled (interval is 1 day). [java] ERROR - Error while synchronising users: [java] com.cenqua.fisheye.rep.DbException: Unexpected error adding user named jxie to the crucible database. [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1042) [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1001) [java] at com.cenqua.fisheye.config.DB0Handle.write(DB0Handle.java:96) [java] at com.cenqua.fisheye.user.UserManager.addUserImpl(UserManager.java:1001) [java] at com.cenqua.fisheye.user.UserManager.importUser(UserManager.java:475) [java] at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:532) [java] at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:497) [java] at com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44) [java] at java.util.TimerThread.mainLoop(Timer.java:512) [java] at java.util.TimerThread.run(Timer.java:462) [java] Caused by: org.hibernate.HibernateException: Hibernate has been shutdown [java] at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:126) [java] at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:117) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.session(CrucibleUserManager.java:44) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.getUserByName(CrucibleUserManager.java:68) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.createUser(CrucibleUserManager.java:48) [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1040) [java] ... 9 more [java] INFO - Starting plugin system... [java] INFO - Starting database... [java] INFO - Server started on :6060 (http) (control port on :6061) {code} h2. Workaround If you have _Auto-add users to FishEye_ enabled, this issue will not effect users attempting to login to the system. Otherwise, either: * wait for synchronisation to re-occur after the specified period (default is 1 hour); or * manually force a synchronisation via *Administration > Security > Authentication > Re-Sync*

    Atlassian JIRA | 7 years ago | Tim Pettersen [Atlassian]
    com.cenqua.fisheye.rep.DbException: Unexpected error adding user named jxie to the crucible database.
  2. 0

    If FishEye is set to automatically sychronise with Crowd or LDAP, the initial synchronisation on start-up may fail with the following stacktrace: {code} [java] INFO - FishEye/Crucible 2.1.0.M5 (build-SNAPSHOT), Built on 2009-10-21 [java] INFO - Crucible: Commercial License registered to atlassian (eac/cru). [java] INFO - Periodic polling for software updates is enabled (interval is 1 day). [java] ERROR - Error while synchronising users: [java] com.cenqua.fisheye.rep.DbException: Unexpected error adding user named jxie to the crucible database. [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1042) [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1001) [java] at com.cenqua.fisheye.config.DB0Handle.write(DB0Handle.java:96) [java] at com.cenqua.fisheye.user.UserManager.addUserImpl(UserManager.java:1001) [java] at com.cenqua.fisheye.user.UserManager.importUser(UserManager.java:475) [java] at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:532) [java] at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:497) [java] at com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44) [java] at java.util.TimerThread.mainLoop(Timer.java:512) [java] at java.util.TimerThread.run(Timer.java:462) [java] Caused by: org.hibernate.HibernateException: Hibernate has been shutdown [java] at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:126) [java] at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:117) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.session(CrucibleUserManager.java:44) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.getUserByName(CrucibleUserManager.java:68) [java] at com.cenqua.crucible.model.managers.CrucibleUserManager.createUser(CrucibleUserManager.java:48) [java] at com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1040) [java] ... 9 more [java] INFO - Starting plugin system... [java] INFO - Starting database... [java] INFO - Server started on :6060 (http) (control port on :6061) {code} h2. Workaround If you have _Auto-add users to FishEye_ enabled, this issue will not effect users attempting to login to the system. Otherwise, either: * wait for synchronisation to re-occur after the specified period (default is 1 hour); or * manually force a synchronisation via *Administration > Security > Authentication > Re-Sync*

    Atlassian JIRA | 7 years ago | Tim Pettersen
    com.cenqua.fisheye.rep.DbException: Unexpected error adding user named jxie to the crucible database.

    Root Cause Analysis

    1. org.hibernate.HibernateException

      Hibernate has been shutdown

      at com.cenqua.crucible.hibernate.HibernateUtil.currentState()
    2. com.cenqua.crucible
      CrucibleUserManager.createUser
      1. com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:126)
      2. com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:117)
      3. com.cenqua.crucible.model.managers.CrucibleUserManager.session(CrucibleUserManager.java:44)
      4. com.cenqua.crucible.model.managers.CrucibleUserManager.getUserByName(CrucibleUserManager.java:68)
      5. com.cenqua.crucible.model.managers.CrucibleUserManager.createUser(CrucibleUserManager.java:48)
      5 frames
    3. com.cenqua.fisheye
      AuthSynchroniser$1.run
      1. com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1040)
      2. com.cenqua.fisheye.user.UserManager$19.write(UserManager.java:1001)
      3. com.cenqua.fisheye.config.DB0Handle.write(DB0Handle.java:96)
      4. com.cenqua.fisheye.user.UserManager.addUserImpl(UserManager.java:1001)
      5. com.cenqua.fisheye.user.UserManager.importUser(UserManager.java:475)
      6. com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:532)
      7. com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:497)
      8. com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44)
      8 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames