archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Lidgey <blid...@movenetworks.com>
Subject RE: Archiva 1.2.1 -- exception trying to store artifact
Date Tue, 02 Jun 2009 10:53:50 GMT
Raised as http://jira.codehaus.org/browse/MRM-1194

Ben


> -----Original Message-----
> From: odeaching@gmail.com [mailto:odeaching@gmail.com] On Behalf Of
> Deng Ching
> Sent: 02 June 2009 11:30
> To: users@archiva.apache.org
> Subject: Re: Archiva 1.2.1 -- exception trying to store artifact
>
> Please do :) It looks like a bug to me..
>
> Thanks,
> Deng
>
> On Fri, May 29, 2009 at 5:41 PM, Ben Lidgey
> <blidgey@movenetworks.com>wrote:
>
> > I upgraded to Archiva 1.2.1 this morning, and after several failed
> starts
> > got it going. Now there are some exceptions in the logs like the one
> below.
> > It looks like Archiva parses the pom.xml and inserts the values for
> the
> > versions. However, in this case the versions are properties that
> don't seem
> > to be resolved. I can't see any bugs in JIRA for this, but some seem
> related
> > --
> >
> > http://jira.codehaus.org/browse/MRM-686
> > http://jira.codehaus.org/browse/MRM-816
> >
> > Has anyone else seen this? Shall I raise it as a bug?
> >
> >
> >
> > 2009-05-29 09:51:19,114 [pool-1-thread-1] ERROR
> >
> org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsu
> mer
> >  - Unable to process model
> >
> /home/devadmin/data/maven/mavenRepository/internal_snapshots/company/Pr
> ojectName/1.2.5-SNAPSHOT/ProjectName-1.2.5-20090209.204900-1.pom
> > due to : javax.jdo.JDOFatalUserException : Attempt to store value
> > "${org.codehaus.mojo--build-helper-maven-plugin.version}" in column
> > "VERSION" that has maximum length of 50. Please correct your data!
> > javax.jdo.JDOFatalUserException: Attempt to store value
> > "${org.codehaus.mojo--build-helper-maven-plugin.version}" in column
> > "VERSION" that has maximum length of 50. Please correct your data!
> >        at
> >
> org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMappin
> g.java:214)
> >        at
> >
> org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.
> java:203)
> >        at
> >
> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Para
> meterSetter.java:122)
> >        at
> >
> org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.ja
> va:2757)
> >        at
> >
> org.apache.maven.archiva.model.ArtifactReference.jdoProvideField(Artifa
> ctReference.java)
> >        at
> >
> org.apache.maven.archiva.model.ArtifactReference.jdoProvideFields(Artif
> actReference.java)
> >        at
> >
> org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:311
> 5)
> >        at
> >
> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:2
> 52)
> >        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:36
> 46)
> >        at
> >
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPers
> istenceManager.java:1206)
> >        at
> >
> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPers
> istenceManager.java:1259)
> >        at
> >
> org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKL
> istStore.java:1231)
> >        at
> >
> org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:
> 772)
> >        at
> >
> org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStor
> e.java:387)
> >        at
> >
> org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.j
> ava:209)
> >        at
> >
> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:4
> 64)
> >        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:36
> 46)
> >        at
> >
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPers
> istenceManager.java:1206)
> >        at
> >
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceM
> anager.java:1277)
> >        at
> >
> org.apache.maven.archiva.database.jdo.JdoAccess.saveObject(JdoAccess.ja
> va:189)
> >        at
> >
> org.apache.maven.archiva.database.jdo.JdoAccess.saveObject(JdoAccess.ja
> va:162)
> >        at
> >
> org.apache.maven.archiva.database.jdo.JdoProjectModelDAO.saveProjectMod
> el(JdoProjectModelDAO.java:86)
> >        at
> >
> org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsu
> mer.processArchivaArtifact(ProjectModelToDatabaseConsumer.java:177)
> >        at
> >
> org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure
> .execute(ProcessArchivaArtifactClosure.java:48)
> >        at
> >
> org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils
> .java:388)
> >        at
> >
> org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateUnpr
> ocessed(JdoDatabaseUpdater.java:150)
> >        at
> >
> org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllU
> nprocessed(JdoDatabaseUpdater.java:87)
> >        at
> >
> org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskE
> xecutor.executeTask(ArchivaDatabaseUpdateTaskExecutor.java:69)
> >        at
> >
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execu
> torRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> >        at
> >
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapte
> r.call(Executors.java:442)
> >        at
> >
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTas
> k.java:176)
> >        at
> >
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWo
> rker(ThreadPoolExecutor.java:987)
> >        at
> >
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worke
> r.run(ThreadPoolExecutor.java:528)
> >        at java.lang.Thread.run(Thread.java:619)
> >
> >
> > ________________________________
> > Please consider the environment before printing this e-mail or its
> > attachments
> >
> > This e-mail is confidential and intended solely for the use of the
> > individual(s) to whom it is addressed. Any views or opinions
> expressed are
> > those of the author. If you are not the intended recipient, please be
> > advised that any use, dissemination, printing or copying of this
> email is
> > strictly prohibited.
> >
> >

Please consider the environment before printing this e-mail or its attachments

This e-mail is confidential and intended solely for the use of the individual(s) to whom it
is addressed. Any views or opinions expressed are those of the author. If you are not the
intended recipient, please be advised that any use, dissemination, printing or copying of
this email is strictly prohibited.


Mime
View raw message