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

Atlassian JIRA | Tim Pettersen | 7 years ago
  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.
  3. 0

    Review indexing observed by looking at review dashboard. Refresh dashboard page and see total review count increase. Problem found with two scenarios of indexing: - Database restoration triggering a review indexing to happen. - Manual trigger of review indexing. Admin>Global settings>Crucible>Crucible Index Maintenance>Re-index While index is ongoing, observe count in review dashboard. Application was run with ant run. Shutdown with ctrl+c. Restart with ant run Observe that review count does not continue to increase. Could be index, or caused by something else. {code} 2013-09-26 10:52:41,212 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Error indexing reviews org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.ParticipantManager.session(ParticipantManager.java:15) at com.cenqua.crucible.model.managers.ParticipantManager.getById(ParticipantManager.java:19) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexReviewParticipant(DefaultReviewItemIndexer.java:600) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$600(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:267) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$3.doIndexingOperation(DefaultReviewItemIndexer.java:696) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) 2013-09-26 10:52:41,225 INFO [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Completed review re-indexing of 0 documents, took 152 seconds 2013-09-26 10:52:41,229 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$1-doIndexingOperation - Failed to index review org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.session(DefaultReviewManager.java:166) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:874) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:771) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.reviewChanged(DefaultReviewItemIndexer.java:295) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:243) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$1.doIndexingOperation(DefaultReviewItemIndexer.java:363) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {code}

    Atlassian JIRA | 3 years ago | Sigge Birgisson
    org.hibernate.HibernateException: Hibernate has been shutdown
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Review indexing observed by looking at review dashboard. Refresh dashboard page and see total review count increase. Problem found with two scenarios of indexing: - Database restoration triggering a review indexing to happen. - Manual trigger of review indexing. Admin>Global settings>Crucible>Crucible Index Maintenance>Re-index While index is ongoing, observe count in review dashboard. Application was run with ant run. Shutdown with ctrl+c. Restart with ant run Observe that review count does not continue to increase. Could be index, or caused by something else. {code} 2013-09-26 10:52:41,212 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Error indexing reviews org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.ParticipantManager.session(ParticipantManager.java:15) at com.cenqua.crucible.model.managers.ParticipantManager.getById(ParticipantManager.java:19) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexReviewParticipant(DefaultReviewItemIndexer.java:600) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$600(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:267) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$3.doIndexingOperation(DefaultReviewItemIndexer.java:696) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) 2013-09-26 10:52:41,225 INFO [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Completed review re-indexing of 0 documents, took 152 seconds 2013-09-26 10:52:41,229 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$1-doIndexingOperation - Failed to index review org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.session(DefaultReviewManager.java:166) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:874) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:771) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.reviewChanged(DefaultReviewItemIndexer.java:295) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:243) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$1.doIndexingOperation(DefaultReviewItemIndexer.java:363) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {code}

    Atlassian JIRA | 3 years ago | Sigge Birgisson
    org.hibernate.HibernateException: Hibernate has been shutdown
  6. 0

    Review indexing observed by looking at review dashboard. Refresh dashboard page and see total review count increase. Problem found with two scenarios of indexing: - Database restoration triggering a review indexing to happen. - Manual trigger of review indexing. Admin>Global settings>Crucible>Crucible Index Maintenance>Re-index While index is ongoing, observe count in review dashboard. Application was run with ant run. Shutdown with ctrl+c. Restart with ant run Observe that review count does not continue to increase. Could be index, or caused by something else. {code} 2013-09-26 10:52:41,212 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Error indexing reviews org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.ParticipantManager.session(ParticipantManager.java:15) at com.cenqua.crucible.model.managers.ParticipantManager.getById(ParticipantManager.java:19) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexReviewParticipant(DefaultReviewItemIndexer.java:600) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$600(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:267) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$3.doIndexingOperation(DefaultReviewItemIndexer.java:696) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) 2013-09-26 10:52:41,225 INFO [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$3-doIndexingOperation - Completed review re-indexing of 0 documents, took 152 seconds 2013-09-26 10:52:41,229 ERROR [ReviewIndexer1 ] fisheye DefaultReviewItemIndexer$1-doIndexingOperation - Failed to index review org.hibernate.HibernateException: Hibernate has been shutdown at com.cenqua.crucible.hibernate.HibernateUtil.currentState(HibernateUtil.java:196) at com.cenqua.crucible.hibernate.HibernateUtil.currentSession(HibernateUtil.java:187) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.session(DefaultReviewManager.java:166) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:874) at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.getReviewById(DefaultReviewManager.java:771) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.reviewChanged(DefaultReviewItemIndexer.java:295) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:243) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:406) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:402) at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:384) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:402) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:96) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$1.doIndexingOperation(DefaultReviewItemIndexer.java:363) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexerRunnable.run(DefaultReviewItemIndexer.java:153) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {code}

    Atlassian JIRA | 3 years ago | Sigge Birgisson
    org.hibernate.HibernateException: Hibernate has been shutdown

    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. 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