Giter Club home page Giter Club logo

Comments (3)

jpetrush avatar jpetrush commented on August 14, 2024

This is Repeatable. Start the Service, it scans fine. Stop the Service, Make a commit to the git repo. Restart the Service, and immediately you have these errors. Additionally I have been getting these as well, but are cleared by deleting the local cacheed repo:

2013-07-31 12:29:58 GitIntegration [FATAL] An exception occurred in the Git connector while getting commits:
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.versionone.git.storage.LastProcessedItem#com.versionone.git.storage.LastProcessedItem@468034b6]
at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:697)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:296)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:241)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:109)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)
at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:735)
at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:727)
at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:723)
at com.versionone.git.storage.DbStorage.persistLastCommit(DbStorage.java:61)
at com.versionone.git.GitConnector.getCommits(GitConnector.java:188)
at com.versionone.git.GitConnector.traverseChanges(GitConnector.java:99)
at com.versionone.git.GitConnector.getChangeSets(GitConnector.java:85)
at com.versionone.git.GitService.onInterval(GitService.java:31)
at com.versionone.git.GitPollTask.processRepository(GitPollTask.java:63)
at com.versionone.git.GitPollTask.run(GitPollTask.java:56)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)

from versionone.integration.gitscm.

jpetrush avatar jpetrush commented on August 14, 2024

This change has corrected the issue. I now consider my bug report resolved and closed. (I recompiled with your patch changes and attempted same actions as before. It no longer dumps on me)

from versionone.integration.gitscm.

ibuchanan avatar ibuchanan commented on August 14, 2024

Glad to know. It took a little longer to write a test to confirm the bug and fix. I've now posted new binaries on the app catalog for all to enjoy.

from versionone.integration.gitscm.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.