You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/11/08 23:05:36 UTC

[jira] Updated: (MRM-568) Error in 'update-db-project' consumer during database scanning when a repo that has been removed was re-added again

     [ http://jira.codehaus.org/browse/MRM-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-568:
-----------------------------

    Fix Version/s:     (was: 1.0-beta-4)
                   1.x

> Error in 'update-db-project' consumer during database scanning when a repo that has been removed was re-added again
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-568
>                 URL: http://jira.codehaus.org/browse/MRM-568
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0-beta-3
>            Reporter: Maria Odea Ching
>             Fix For: 1.x
>
>
> This was the error from the console
> jvm 1    | 2007-10-24 10:44:46,186 [pool-1-thread-1] INFO  org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project  - Adding project model to database - org.jruby.plugins:jruby-rake-plugin:1.0RC1-20070506.090132-4
> jvm 1    | 2007-10-24 10:44:46,187 [pool-1-thread-1] ERROR org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project  - Unable to process model /home/deng/TestFiles/sample-local-repo/org/jruby/plugins/jruby-rake-plugin/1.0RC1-SNAPSHOT/jruby-rake-plugin-1.0RC1-20070506.090132-4.pom due to : javax.jdo.JDOUserException : Field org.apache.maven.archiva.model.ArchivaProjectModel.origin is null, but is mandatory as its described in the jdo metadata
> jvm 1    | javax.jdo.JDOUserException: Field org.apache.maven.archiva.model.ArchivaProjectModel.origin is null, but is mandatory as its described in the jdo metadata
> jvm 1    |      at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
> jvm 1    |      at org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
> jvm 1    |      at org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideField(ArchivaProjectModel.java)
> ...
> Steps to reproduce:
> 1. Added a new m2 repository 'sample-local-repo' (which already exists in my local file system and has artifacts in it)
> 2. Scanned the repository
> 3. Updated the database
> 4. Removed the repository
> 5. Added it back again, with the same name, identifier and location.
> 6. Scanned the repository
> 7. Updated the database (this is where the error occurred)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira