java.lang.RuntimeException: Cannot save modification: All modifications already exist in db: [commit-SHA]

GitHub | stania1 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 2470#234430851

    GitHub | 9 months ago | stania1
    java.lang.RuntimeException: Cannot save modification: All modifications already exist in db: [commit-SHA]
  2. 0

    Material 'HG" clone error

    Google Groups | 3 years ago | Shafi ulla
    java.lang.RuntimeException: Failed to run hg clone command ERROR: hg clone: option -b not recognized*
  3. 0

    Restarting Go server causes Perforce materials to stop functioning

    GitHub | 2 years ago | heterotopian
    java.lang.RuntimeException: Failed to run : --- Command --- p4 client -i --- Environment --- {P4PORT=PERFORCE_SERVERNAME:PERFORCE_PORT, P4PASSWD=******, P4CLIENT=cruise-PERFORCE_SERVERNAME-e2f562c5-8317-4acd-ad3b-7e3f8479720b-AF1FJ9e8I7Et3hgNavRD4VXo9s, P4USER=PERFORCE_USERNAME} --- INPUT ---- Client: cruise-PERFORCE_SERVERNAME-e2f562c5-8317-4acd-ad3b-7e3f8479720b-AF1FJ9e8I7Et3hgNavRD4VXo9s Root: /var/lib/go-server/pipelines/flyweight/e2f562c5-8317-4acd-ad3b-7e3f8479720b Options: clobber rmdir LineEnd: local View: //mapping/... //cruise-PERFORCE_SERVERNAME-e2f562c5-8317-4acd-ad3b-7e3f8479720b-AF1FJ9e8I7Et3hgNavRD4VXo9s/mapping/... STDERR: Perforce password (P4PASSWD) invalid or unset.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "Modification check failed for material" due to git repository with invalid submodule commit

    GitHub | 1 year ago | henriquegemignani
    java.lang.RuntimeException: Working directory: pipelines\flyweight\83463146-cc07-4bde-ad7f-10cbfe24991d
  6. 0

    no plugins found + insufficient permission for adding an object to repository database .git/objects

    Google Groups | 1 year ago | gls
    java.lang.RuntimeException: Working directory: pipelines/flyweight/7ed68f5a-e987-4cc4-9ea9-d9a4fab8aebe* *STDERR: error: insufficient permission for adding an object to repository database .git/objects* *STDERR: fatal: failed to write object* *STDERR: fatal: unpack-objects failed* * at com.thoughtworks.go.domain.materials.git.GitCommand.gitLog(GitCommand.java:82)*

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

      All modifications already exist in db: [2cf2643807a9bafd7adaa5696dcb1dd229a6d0ea]

      at com.thoughtworks.go.server.persistence.MaterialRepository.checkAndRemoveDuplicates()
    2. com.thoughtworks.go
      TransactionTemplate$3.doInTransaction
      1. com.thoughtworks.go.server.persistence.MaterialRepository.checkAndRemoveDuplicates(MaterialRepository.java:852)
      2. com.thoughtworks.go.server.persistence.MaterialRepository.saveModifications(MaterialRepository.java:814)
      3. com.thoughtworks.go.server.materials.ScmMaterialUpdater.insertLatestOrNewModifications(ScmMaterialUpdater.java:66)
      4. com.thoughtworks.go.server.materials.PluggableSCMMaterialUpdater.insertLatestOrNewModifications(PluggableSCMMaterialUpdater.java:61)
      5. com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.insertLatestOrNewModifications(MaterialDatabaseUpdater.java:155)
      6. com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.updateMaterialWithNewRevisions(MaterialDatabaseUpdater.java:147)
      7. com.thoughtworks.go.server.materials.MaterialDatabaseUpdater$2.doInTransaction(MaterialDatabaseUpdater.java:110)
      8. com.thoughtworks.go.server.transaction.TransactionCallback.doWithExceptionHandling(TransactionCallback.java:24)
      9. com.thoughtworks.go.server.transaction.TransactionTemplate$3.doInTransaction(TransactionTemplate.java:53)
      9 frames
    3. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    4. com.thoughtworks.go
      JMSMessageListenerAdapter.run
      1. com.thoughtworks.go.server.transaction.TransactionTemplate.executeWithExceptionHandling(TransactionTemplate.java:49)
      2. com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.updateMaterial(MaterialDatabaseUpdater.java:107)
      3. com.thoughtworks.go.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:50)
      4. com.thoughtworks.go.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:30)
      5. com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.runImpl(JMSMessageListenerAdapter.java:65)
      6. com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run(JMSMessageListenerAdapter.java:50)
      6 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame