Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2106

Update Backup / Restore Database tool for BuildQueue table

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.3 (Beta)
    • Component/s: Data Management
    • Labels:
      None

      Description

      backing up and restoring continuum database using 1.3.2-SNAPSHOT causes this:

      javax.jdo.JDOUserException: Field org.apache.maven.continuum.model.project.BuildQueue.name is null, but is mandatory as its described in the jdo metadata
      at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
      at org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
      at org.apache.maven.continuum.model.project.BuildQueue.jdoProvideField(BuildQueue.java)
      at org.apache.maven.continuum.model.project.BuildQueue.jdoProvideFields(BuildQueue.java)
      at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
      at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:252)
      at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
      at org.jpox.store.StoreManager.insert(StoreManager.java:938)
      at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
      at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
      at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1206)
      at org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1259)
      at org.jpox.store.rdbms.scostore.ElementContainerStore.validateElementForWriting(ElementContainerStore.java:397)
      at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1154)
      at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:387)
      at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
      at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
      at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctan Maria Catherine Tan
                Reporter:
                jancajas jancajas
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: