You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "L. J." <ap...@gmail.com> on 2006/07/25 23:25:29 UTC

Why does Continuum build the projects even there is no change

We have 20+ projects that are scheduled to be built every 3 hours daily.
Some of them are built even there is no changes. Some of them do not get
built while no changes. Does anyone know why this is happening? I read
earlier email about putting target directory in the cvsignore file, but this
does not seem to help. Also, for those projects that do not get built while
there is no changes, I see either they do not have cvsignore file or the
cvsignore file only contains "bin" directory.

Thanks.

LJ

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by "Johnson, Jonathan" <jj...@454.com>.
Adam,

This is a very helpful workaround.  It worked for me.  Thanks, I updated
the bug report with this comment.

All,

For those of your getting duplicate modules and cannot remove the
duplicate make sure you go to the "Build Definitions" section and remove
any goals.  You should then be able to remove the duplicate module.

- Jonathan

-----Original Message-----
From: Adam [mailto:punkinshred@gmail.com] 
Sent: Thursday, August 03, 2006 8:45 AM
To: continuum-users@maven.apache.org
Subject: Re: One sub module randomly appears twice after adding a parent
multi-module 1.0.3

I've had this as well.  If you delete the build definitions from the
doubled project, you should be able to delete the project then.

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Baron,
>
> Thanks for the reality check.  I added our comments to a new Continuum
> defect report
>
> http://jira.codehaus.org/browse/CONTINUUM-799
>
>
> -----Original Message-----
> From: Baron.Reznik@fastmobile.com [mailto:Baron.Reznik@fastmobile.com]
> Sent: Tuesday, August 01, 2006 10:04 AM
> To: continuum-users@maven.apache.org; continuum-users@maven.apache.org
> Subject: RE: One sub module randomly appears twice after adding a
parent
> multi-module 1.0.3
>
> I've had a similar problem when using continuum with SVN. I end up
with
> two projects that have the exact same SCM url, but different continuum
> build id's (sequential, in my case). Updating the build definition for
> one, automatically updates it for the other. However, updates inside
svn
> only trigger one of them to be built by continuum, and not both. If I
> try to delete the duplicated project, I get the continuum error page
> with the same error output.
>
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tue 8/1/2006 8:50 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a
parent
> multi-module 1.0.3
>
> have you looked into the working directory that corresponds to that
> project id to see what is in there?
>
> in the working directory there should be a mess of numbered
> directories corresponding to each of the projects as they exist in
> continuum, mouse over the link to the project and you should see the
> project id in the url.  I would be interested to know what was checked
> out in that sub directory...and if that project was assigned a
> different project id then its duplicate.  something is making
> continuum think there is another project to get setup...
>
> thanks,
> jesse
>
> On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> > Using cvs but problem occurs before build happens and before cvs is
> > accessed.  Problem occurs when adding a parent pom.xml M2 project
file
> > via URL.  Thanks for the link, I will submit the problem.
> >
> > -----Original Message-----
> > From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> > Sent: Tuesday, August 01, 2006 9:31 AM
> > To: continuum-users@maven.apache.org
> > Subject: Re: One sub module randomly appears twice after adding a
> parent
> > multi-module 1.0.3
> >
> > hm, how odd...
> >
> > what scm are you using?
> >
> > also, could you file this at
http://jira.codehaus.org/browse/CONTINUUM
> >
> > jesse
> >
> > On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > > One sub module randomly appears twice after adding a parent
> > multi-module
> > > to continuum 1.0.3.
> > >
> > > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > > database ( by removing the database directory) and add my parent
> > pom.xml
> > > all the modules will be added correctly except one random module
> will
> > be
> > > added twice.  I tried this three times and a different module in
the
> > > list is duplicated once.  This also happens after a fresh install
of
> > > version 1.0.3.
> > >
> > > If I run a "Build All" one of the duplicate modules builds, while
> the
> > > other remains with a "New" status. When attempting to remove the
> > > duplicate module with the "New" status I get
> > >
> > > ognl.MethodFailedException: Method "removeProject" failed for
object
> > > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > > [javax.jdo.JDOUserException: One or more instances could not be
> > deleted
> > > NestedThrowables:
> > > javax.jdo.JDODataStoreException: Delete request failed: DELETE
FROM
> > > BUILDDEFINITION WHERE ID = ?
> > > NestedThrowables:
> > > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a
violation
> of
> > > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> > statement
> > > has been rolled back.]
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at
org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at
org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > >
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > /-- Encapsulated exception ------------\
> > > javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1438)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at
org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at
org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > >
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > NestedThrowablesStackTrace:
> > > javax.jdo.JDODataStoreException: Delete request failed: DELETE
FROM
> > > BUILDDEFINITION WHERE ID = ?
> > >         at
> > >
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > > 9)
> > >         at
> > > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> > >         at
org.jpox.store.StoreManager.delete(StoreManager.java:800)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > > l.java:4113)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 068)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1429)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at
org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at
org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > >
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > NestedThrowablesStackTrace:
> > > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation
of
> > > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> > statement
> > > has been rolled back.
> > >         at
> > > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > > Source)
> > >         at
> > >
> >
>
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > > Source)
> > >         at
> > > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> > Source)
> > >         at
> > >
> >
>
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > > known Source)
> > >         at
> > > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown
> Source)
> > >         at
> > > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > > Source)
> > >         at
> > > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > > Source)
> > >         at
> > >
> >
>
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > > wn Source)
> > >         at
> > > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > > Source)
> > >         at
> > >
org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > > 5)
> > >         at
> > > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> > >         at
org.jpox.store.StoreManager.delete(StoreManager.java:800)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > > l.java:4113)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 068)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1429)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at
org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at
org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > >
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > \--------------------------------------/
> > >
> > >
> > > LEGAL NOTICE:
> > > Unless expressly stated otherwise, this message is confidential
and
> > may be privileged. It is intended for the addressee(s) only. Access
to
> > this e-mail by anyone else is unauthorized. If you are not an
> addressee,
> > any disclosure or copying of the contents or any action taken (or
not
> > taken) in reliance on it is unauthorized and may be unlawful. If you
> are
> > not an addressee, please inform the sender immediately.
> > >
> > >
> > >
> >
> >
> > --
> > jesse mcconnell
> > jesse.mcconnell@gmail.com
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>
>


-- 
Adam Altemus
punkinshred@gmail.com

Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by Adam <pu...@gmail.com>.
I've had this as well.  If you delete the build definitions from the
doubled project, you should be able to delete the project then.

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Baron,
>
> Thanks for the reality check.  I added our comments to a new Continuum
> defect report
>
> http://jira.codehaus.org/browse/CONTINUUM-799
>
>
> -----Original Message-----
> From: Baron.Reznik@fastmobile.com [mailto:Baron.Reznik@fastmobile.com]
> Sent: Tuesday, August 01, 2006 10:04 AM
> To: continuum-users@maven.apache.org; continuum-users@maven.apache.org
> Subject: RE: One sub module randomly appears twice after adding a parent
> multi-module 1.0.3
>
> I've had a similar problem when using continuum with SVN. I end up with
> two projects that have the exact same SCM url, but different continuum
> build id's (sequential, in my case). Updating the build definition for
> one, automatically updates it for the other. However, updates inside svn
> only trigger one of them to be built by continuum, and not both. If I
> try to delete the duplicated project, I get the continuum error page
> with the same error output.
>
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tue 8/1/2006 8:50 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a parent
> multi-module 1.0.3
>
> have you looked into the working directory that corresponds to that
> project id to see what is in there?
>
> in the working directory there should be a mess of numbered
> directories corresponding to each of the projects as they exist in
> continuum, mouse over the link to the project and you should see the
> project id in the url.  I would be interested to know what was checked
> out in that sub directory...and if that project was assigned a
> different project id then its duplicate.  something is making
> continuum think there is another project to get setup...
>
> thanks,
> jesse
>
> On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> > Using cvs but problem occurs before build happens and before cvs is
> > accessed.  Problem occurs when adding a parent pom.xml M2 project file
> > via URL.  Thanks for the link, I will submit the problem.
> >
> > -----Original Message-----
> > From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> > Sent: Tuesday, August 01, 2006 9:31 AM
> > To: continuum-users@maven.apache.org
> > Subject: Re: One sub module randomly appears twice after adding a
> parent
> > multi-module 1.0.3
> >
> > hm, how odd...
> >
> > what scm are you using?
> >
> > also, could you file this at http://jira.codehaus.org/browse/CONTINUUM
> >
> > jesse
> >
> > On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > > One sub module randomly appears twice after adding a parent
> > multi-module
> > > to continuum 1.0.3.
> > >
> > > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > > database ( by removing the database directory) and add my parent
> > pom.xml
> > > all the modules will be added correctly except one random module
> will
> > be
> > > added twice.  I tried this three times and a different module in the
> > > list is duplicated once.  This also happens after a fresh install of
> > > version 1.0.3.
> > >
> > > If I run a "Build All" one of the duplicate modules builds, while
> the
> > > other remains with a "New" status. When attempting to remove the
> > > duplicate module with the "New" status I get
> > >
> > > ognl.MethodFailedException: Method "removeProject" failed for object
> > > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > > [javax.jdo.JDOUserException: One or more instances could not be
> > deleted
> > > NestedThrowables:
> > > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > > BUILDDEFINITION WHERE ID = ?
> > > NestedThrowables:
> > > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation
> of
> > > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> > statement
> > > has been rolled back.]
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > /-- Encapsulated exception ------------\
> > > javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1438)
> > >         at
> > >
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > NestedThrowablesStackTrace:
> > > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > > BUILDDEFINITION WHERE ID = ?
> > >         at
> > >
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > > 9)
> > >         at
> > > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> > >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > > l.java:4113)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 068)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1429)
> > >         at
> > >
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > NestedThrowablesStackTrace:
> > > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> > > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> > statement
> > > has been rolled back.
> > >         at
> > > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > > Source)
> > >         at
> > >
> >
> org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > > Source)
> > >         at
> > > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> > Source)
> > >         at
> > >
> >
> org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > > known Source)
> > >         at
> > > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown
> Source)
> > >         at
> > > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > > Source)
> > >         at
> > > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > > Source)
> > >         at
> > >
> >
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > > wn Source)
> > >         at
> > > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > > Source)
> > >         at
> > > org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> > >         at
> > >
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > > 5)
> > >         at
> > > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> > >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > > l.java:4113)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 068)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > > nceManager.java:1429)
> > >         at
> > >
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > > erStore.java:595)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > > a:304)
> > >         at
> > >
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > > ng.java:332)
> > >         at
> > >
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > > 80)
> > >         at
> > > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> > >         at
> > >
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > > 049)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > > sistenceManager.java:1391)
> > >         at
> > >
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > > Manager.java:1402)
> > >         at
> > >
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > > 53)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > > nuumStore.java:969)
> > >         at
> > >
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > > inuumStore.java:901)
> > >         at
> > >
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > > um.java:328)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >         at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > > a:39)
> > >         at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > > Impl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> > >         at
> > ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> > >         at
> > > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> > >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> > >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> > >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >         at ognl.Ognl.getValue(Ognl.java:333)
> > >         at ognl.Ognl.getValue(Ognl.java:378)
> > >         at ognl.Ognl.getValue(Ognl.java:357)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > > (DeleteEntity.java:57)
> > >         at
> > >
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > > a:47)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > > .java:68)
> > >         at
> > >
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > > line.java:70)
> > >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > > andler.java:294)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > >         at
> > >
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > > text.java:525)
> > >         at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > >         at
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> > >         at
> > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> > >         at
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> > >         at
> > >
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > > )
> > >         at
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> > >         at
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > > \--------------------------------------/
> > >
> > >
> > > LEGAL NOTICE:
> > > Unless expressly stated otherwise, this message is confidential and
> > may be privileged. It is intended for the addressee(s) only. Access to
> > this e-mail by anyone else is unauthorized. If you are not an
> addressee,
> > any disclosure or copying of the contents or any action taken (or not
> > taken) in reliance on it is unauthorized and may be unlawful. If you
> are
> > not an addressee, please inform the sender immediately.
> > >
> > >
> > >
> >
> >
> > --
> > jesse mcconnell
> > jesse.mcconnell@gmail.com
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>
>


-- 
Adam Altemus
punkinshred@gmail.com

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by "Johnson, Jonathan" <jj...@454.com>.
Baron,

Thanks for the reality check.  I added our comments to a new Continuum
defect report

http://jira.codehaus.org/browse/CONTINUUM-799


-----Original Message-----
From: Baron.Reznik@fastmobile.com [mailto:Baron.Reznik@fastmobile.com] 
Sent: Tuesday, August 01, 2006 10:04 AM
To: continuum-users@maven.apache.org; continuum-users@maven.apache.org
Subject: RE: One sub module randomly appears twice after adding a parent
multi-module 1.0.3

I've had a similar problem when using continuum with SVN. I end up with
two projects that have the exact same SCM url, but different continuum
build id's (sequential, in my case). Updating the build definition for
one, automatically updates it for the other. However, updates inside svn
only trigger one of them to be built by continuum, and not both. If I
try to delete the duplicated project, I get the continuum error page
with the same error output.


-----Original Message-----
From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
Sent: Tue 8/1/2006 8:50 AM
To: continuum-users@maven.apache.org
Subject: Re: One sub module randomly appears twice after adding a parent
multi-module 1.0.3
 
have you looked into the working directory that corresponds to that
project id to see what is in there?

in the working directory there should be a mess of numbered
directories corresponding to each of the projects as they exist in
continuum, mouse over the link to the project and you should see the
project id in the url.  I would be interested to know what was checked
out in that sub directory...and if that project was assigned a
different project id then its duplicate.  something is making
continuum think there is another project to get setup...

thanks,
jesse

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Using cvs but problem occurs before build happens and before cvs is
> accessed.  Problem occurs when adding a parent pom.xml M2 project file
> via URL.  Thanks for the link, I will submit the problem.
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tuesday, August 01, 2006 9:31 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a
parent
> multi-module 1.0.3
>
> hm, how odd...
>
> what scm are you using?
>
> also, could you file this at http://jira.codehaus.org/browse/CONTINUUM
>
> jesse
>
> On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > One sub module randomly appears twice after adding a parent
> multi-module
> > to continuum 1.0.3.
> >
> > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > database ( by removing the database directory) and add my parent
> pom.xml
> > all the modules will be added correctly except one random module
will
> be
> > added twice.  I tried this three times and a different module in the
> > list is duplicated once.  This also happens after a fresh install of
> > version 1.0.3.
> >
> > If I run a "Build All" one of the duplicate modules builds, while
the
> > other remains with a "New" status. When attempting to remove the
> > duplicate module with the "New" status I get
> >
> > ognl.MethodFailedException: Method "removeProject" failed for object
> > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > [javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > NestedThrowables:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> > NestedThrowables:
> > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation
of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.]
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > /-- Encapsulated exception ------------\
> > javax.jdo.JDOUserException: One or more instances could not be
deleted
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1438)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> >         at
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > 9)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.
> >         at
> > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > Source)
> >         at
> >
>
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> Source)
> >         at
> >
>
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > known Source)
> >         at
> > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown
Source)
> >         at
> > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > Source)
> >         at
> >
>
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > wn Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> >         at
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > 5)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > \--------------------------------------/
> >
> >
> > LEGAL NOTICE:
> > Unless expressly stated otherwise, this message is confidential and
> may be privileged. It is intended for the addressee(s) only. Access to
> this e-mail by anyone else is unauthorized. If you are not an
addressee,
> any disclosure or copying of the contents or any action taken (or not
> taken) in reliance on it is unauthorized and may be unlawful. If you
are
> not an addressee, please inform the sender immediately.
> >
> >
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com


RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by Ba...@fastmobile.com.
I've had a similar problem when using continuum with SVN. I end up with two projects that have the exact same SCM url, but different continuum build id's (sequential, in my case). Updating the build definition for one, automatically updates it for the other. However, updates inside svn only trigger one of them to be built by continuum, and not both. If I try to delete the duplicated project, I get the continuum error page with the same error output.


-----Original Message-----
From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
Sent: Tue 8/1/2006 8:50 AM
To: continuum-users@maven.apache.org
Subject: Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3
 
have you looked into the working directory that corresponds to that
project id to see what is in there?

in the working directory there should be a mess of numbered
directories corresponding to each of the projects as they exist in
continuum, mouse over the link to the project and you should see the
project id in the url.  I would be interested to know what was checked
out in that sub directory...and if that project was assigned a
different project id then its duplicate.  something is making
continuum think there is another project to get setup...

thanks,
jesse

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Using cvs but problem occurs before build happens and before cvs is
> accessed.  Problem occurs when adding a parent pom.xml M2 project file
> via URL.  Thanks for the link, I will submit the problem.
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tuesday, August 01, 2006 9:31 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a parent
> multi-module 1.0.3
>
> hm, how odd...
>
> what scm are you using?
>
> also, could you file this at http://jira.codehaus.org/browse/CONTINUUM
>
> jesse
>
> On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > One sub module randomly appears twice after adding a parent
> multi-module
> > to continuum 1.0.3.
> >
> > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > database ( by removing the database directory) and add my parent
> pom.xml
> > all the modules will be added correctly except one random module will
> be
> > added twice.  I tried this three times and a different module in the
> > list is duplicated once.  This also happens after a fresh install of
> > version 1.0.3.
> >
> > If I run a "Build All" one of the duplicate modules builds, while the
> > other remains with a "New" status. When attempting to remove the
> > duplicate module with the "New" status I get
> >
> > ognl.MethodFailedException: Method "removeProject" failed for object
> > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > [javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > NestedThrowables:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> > NestedThrowables:
> > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.]
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > /-- Encapsulated exception ------------\
> > javax.jdo.JDOUserException: One or more instances could not be deleted
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1438)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> >         at
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > 9)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.
> >         at
> > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > Source)
> >         at
> >
> org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> Source)
> >         at
> >
> org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > known Source)
> >         at
> > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
> >         at
> > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > Source)
> >         at
> >
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > wn Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> >         at
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > 5)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > \--------------------------------------/
> >
> >
> > LEGAL NOTICE:
> > Unless expressly stated otherwise, this message is confidential and
> may be privileged. It is intended for the addressee(s) only. Access to
> this e-mail by anyone else is unauthorized. If you are not an addressee,
> any disclosure or copying of the contents or any action taken (or not
> taken) in reliance on it is unauthorized and may be unlawful. If you are
> not an addressee, please inform the sender immediately.
> >
> >
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com


RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by "Johnson, Jonathan" <jj...@454.com>.
I looked in the working directory.  I have 1-15 directories under
working-directory.  The module that is duplicated has an id of 10 and
another of 16.  The one that is 16 is the module that still has the
status of "New" and throws the database DELETE exception when I try to
remove the module from the Continuum list.

>> what was checked out

I don't fully understand your term "checked out".  Perhaps the above
description is enough.

>> if that project was assigned a different project id

Yes different ids (10 and 16) but working directory does not have a "16"
folder.



-----Original Message-----
From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com] 
Sent: Tuesday, August 01, 2006 9:51 AM
To: continuum-users@maven.apache.org
Subject: Re: One sub module randomly appears twice after adding a parent
multi-module 1.0.3

have you looked into the working directory that corresponds to that
project id to see what is in there?

in the working directory there should be a mess of numbered
directories corresponding to each of the projects as they exist in
continuum, mouse over the link to the project and you should see the
project id in the url.  I would be interested to know what was checked
out in that sub directory...and if that project was assigned a
different project id then its duplicate.  something is making
continuum think there is another project to get setup...

thanks,
jesse

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Using cvs but problem occurs before build happens and before cvs is
> accessed.  Problem occurs when adding a parent pom.xml M2 project file
> via URL.  Thanks for the link, I will submit the problem.
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tuesday, August 01, 2006 9:31 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a
parent
> multi-module 1.0.3
>
> hm, how odd...
>
> what scm are you using?
>
> also, could you file this at http://jira.codehaus.org/browse/CONTINUUM
>
> jesse
>
> On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > One sub module randomly appears twice after adding a parent
> multi-module
> > to continuum 1.0.3.
> >
> > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > database ( by removing the database directory) and add my parent
> pom.xml
> > all the modules will be added correctly except one random module
will
> be
> > added twice.  I tried this three times and a different module in the
> > list is duplicated once.  This also happens after a fresh install of
> > version 1.0.3.
> >
> > If I run a "Build All" one of the duplicate modules builds, while
the
> > other remains with a "New" status. When attempting to remove the
> > duplicate module with the "New" status I get
> >
> > ognl.MethodFailedException: Method "removeProject" failed for object
> > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > [javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > NestedThrowables:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> > NestedThrowables:
> > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation
of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.]
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > /-- Encapsulated exception ------------\
> > javax.jdo.JDOUserException: One or more instances could not be
deleted
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1438)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> >         at
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > 9)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.
> >         at
> > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > Source)
> >         at
> >
>
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> Source)
> >         at
> >
>
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > known Source)
> >         at
> > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown
Source)
> >         at
> > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > Source)
> >         at
> >
>
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > wn Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> >         at
> >
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > 5)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > \--------------------------------------/
> >
> >
> > LEGAL NOTICE:
> > Unless expressly stated otherwise, this message is confidential and
> may be privileged. It is intended for the addressee(s) only. Access to
> this e-mail by anyone else is unauthorized. If you are not an
addressee,
> any disclosure or copying of the contents or any action taken (or not
> taken) in reliance on it is unauthorized and may be unlawful. If you
are
> not an addressee, please inform the sender immediately.
> >
> >
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com

Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by Jesse McConnell <je...@gmail.com>.
have you looked into the working directory that corresponds to that
project id to see what is in there?

in the working directory there should be a mess of numbered
directories corresponding to each of the projects as they exist in
continuum, mouse over the link to the project and you should see the
project id in the url.  I would be interested to know what was checked
out in that sub directory...and if that project was assigned a
different project id then its duplicate.  something is making
continuum think there is another project to get setup...

thanks,
jesse

On 8/1/06, Johnson, Jonathan <jj...@454.com> wrote:
> Using cvs but problem occurs before build happens and before cvs is
> accessed.  Problem occurs when adding a parent pom.xml M2 project file
> via URL.  Thanks for the link, I will submit the problem.
>
> -----Original Message-----
> From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com]
> Sent: Tuesday, August 01, 2006 9:31 AM
> To: continuum-users@maven.apache.org
> Subject: Re: One sub module randomly appears twice after adding a parent
> multi-module 1.0.3
>
> hm, how odd...
>
> what scm are you using?
>
> also, could you file this at http://jira.codehaus.org/browse/CONTINUUM
>
> jesse
>
> On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> > One sub module randomly appears twice after adding a parent
> multi-module
> > to continuum 1.0.3.
> >
> > I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> > database ( by removing the database directory) and add my parent
> pom.xml
> > all the modules will be added correctly except one random module will
> be
> > added twice.  I tried this three times and a different module in the
> > list is duplicated once.  This also happens after a fresh install of
> > version 1.0.3.
> >
> > If I run a "Build All" one of the duplicate modules builds, while the
> > other remains with a "New" status. When attempting to remove the
> > duplicate module with the "New" status I get
> >
> > ognl.MethodFailedException: Method "removeProject" failed for object
> > org.apache.maven.continuum.DefaultContinuum@194a8eb
> > [javax.jdo.JDOUserException: One or more instances could not be
> deleted
> > NestedThrowables:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> > NestedThrowables:
> > SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.]
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > /-- Encapsulated exception ------------\
> > javax.jdo.JDOUserException: One or more instances could not be deleted
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1438)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> > BUILDDEFINITION WHERE ID = ?
> >         at
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> > 9)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > NestedThrowablesStackTrace:
> > ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> > foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
> statement
> > has been rolled back.
> >         at
> > org.apache.derby.iapi.error.StandardException.newException(Unknown
> > Source)
> >         at
> >
> org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
> Source)
> >         at
> >
> org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> > known Source)
> >         at
> > org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
> >         at
> > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> > Source)
> >         at
> >
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> > wn Source)
> >         at
> > org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> > Source)
> >         at
> > org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
> >         at
> >
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> > 5)
> >         at
> > org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
> >         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
> >         at
> >
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> > l.java:4113)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 068)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> > nceManager.java:1429)
> >         at
> >
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> > erStore.java:595)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> > a:304)
> >         at
> >
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> > ng.java:332)
> >         at
> >
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> > 80)
> >         at
> > org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
> >         at
> >
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> > 049)
> >         at
> >
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> > sistenceManager.java:1391)
> >         at
> >
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> > Manager.java:1402)
> >         at
> >
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> > 53)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> > nuumStore.java:969)
> >         at
> >
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> > inuumStore.java:901)
> >         at
> >
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> > um.java:328)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:39)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> >         at
> ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> >         at
> > ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
> >         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
> >         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
> >         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >         at ognl.SimpleNode.getValue(SimpleNode.java:210)
> >         at ognl.Ognl.getValue(Ognl.java:333)
> >         at ognl.Ognl.getValue(Ognl.java:378)
> >         at ognl.Ognl.getValue(Ognl.java:357)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> > (DeleteEntity.java:57)
> >         at
> >
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> > a:47)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> > .java:68)
> >         at
> >
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> > line.java:70)
> >         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> >         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> > andler.java:294)
> >         at
> >
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> >         at
> >
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> > text.java:525)
> >         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> >         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> >         at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> >         at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> >         at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> >         at
> >
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> > )
> >         at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> >         at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> > \--------------------------------------/
> >
> >
> > LEGAL NOTICE:
> > Unless expressly stated otherwise, this message is confidential and
> may be privileged. It is intended for the addressee(s) only. Access to
> this e-mail by anyone else is unauthorized. If you are not an addressee,
> any disclosure or copying of the contents or any action taken (or not
> taken) in reliance on it is unauthorized and may be unlawful. If you are
> not an addressee, please inform the sender immediately.
> >
> >
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by "Johnson, Jonathan" <jj...@454.com>.
Using cvs but problem occurs before build happens and before cvs is
accessed.  Problem occurs when adding a parent pom.xml M2 project file
via URL.  Thanks for the link, I will submit the problem.

-----Original Message-----
From: Jesse McConnell [mailto:jesse.mcconnell@gmail.com] 
Sent: Tuesday, August 01, 2006 9:31 AM
To: continuum-users@maven.apache.org
Subject: Re: One sub module randomly appears twice after adding a parent
multi-module 1.0.3

hm, how odd...

what scm are you using?

also, could you file this at http://jira.codehaus.org/browse/CONTINUUM

jesse

On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> One sub module randomly appears twice after adding a parent
multi-module
> to continuum 1.0.3.
>
> I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> database ( by removing the database directory) and add my parent
pom.xml
> all the modules will be added correctly except one random module will
be
> added twice.  I tried this three times and a different module in the
> list is duplicated once.  This also happens after a fresh install of
> version 1.0.3.
>
> If I run a "Build All" one of the duplicate modules builds, while the
> other remains with a "New" status. When attempting to remove the
> duplicate module with the "New" status I get
>
> ognl.MethodFailedException: Method "removeProject" failed for object
> org.apache.maven.continuum.DefaultContinuum@194a8eb
> [javax.jdo.JDOUserException: One or more instances could not be
deleted
> NestedThrowables:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> BUILDDEFINITION WHERE ID = ?
> NestedThrowables:
> SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of
> foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
statement
> has been rolled back.]
>         at
ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> /-- Encapsulated exception ------------\
> javax.jdo.JDOUserException: One or more instances could not be deleted
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1438)
>         at
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at
ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> NestedThrowablesStackTrace:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> BUILDDEFINITION WHERE ID = ?
>         at
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> 9)
>         at
> org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
>         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
>         at
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> l.java:4113)
>         at
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 068)
>         at
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1429)
>         at
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at
ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> NestedThrowablesStackTrace:
> ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The
statement
> has been rolled back.
>         at
> org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
>         at
>
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> Source)
>         at
> org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown
Source)
>         at
>
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> known Source)
>         at
> org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
>         at
> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
>         at
> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> Source)
>         at
>
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> wn Source)
>         at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> Source)
>         at
> org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
>         at
>
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> 5)
>         at
> org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
>         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
>         at
>
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> l.java:4113)
>         at
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 068)
>         at
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1429)
>         at
>
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
>
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
>
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
>
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
>
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
>
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
>
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
>
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
>
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
>
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at
ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
>
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
>
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
>
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> \--------------------------------------/
>
>
> LEGAL NOTICE:
> Unless expressly stated otherwise, this message is confidential and
may be privileged. It is intended for the addressee(s) only. Access to
this e-mail by anyone else is unauthorized. If you are not an addressee,
any disclosure or copying of the contents or any action taken (or not
taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately.
>
>
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com

Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by Jesse McConnell <je...@gmail.com>.
hm, how odd...

what scm are you using?

also, could you file this at http://jira.codehaus.org/browse/CONTINUUM

jesse

On 7/31/06, Johnson, Jonathan <jj...@454.com> wrote:
> One sub module randomly appears twice after adding a parent multi-module
> to continuum 1.0.3.
>
> I have a parent maven 2 pom with 16 sub-modules.  If I reset the
> database ( by removing the database directory) and add my parent pom.xml
> all the modules will be added correctly except one random module will be
> added twice.  I tried this three times and a different module in the
> list is duplicated once.  This also happens after a fresh install of
> version 1.0.3.
>
> If I run a "Build All" one of the duplicate modules builds, while the
> other remains with a "New" status. When attempting to remove the
> duplicate module with the "New" status I get
>
> ognl.MethodFailedException: Method "removeProject" failed for object
> org.apache.maven.continuum.DefaultContinuum@194a8eb
> [javax.jdo.JDOUserException: One or more instances could not be deleted
> NestedThrowables:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> BUILDDEFINITION WHERE ID = ?
> NestedThrowables:
> SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of
> foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The statement
> has been rolled back.]
>         at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> /-- Encapsulated exception ------------\
> javax.jdo.JDOUserException: One or more instances could not be deleted
>         at
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1438)
>         at
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> NestedThrowablesStackTrace:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
> BUILDDEFINITION WHERE ID = ?
>         at
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
> 9)
>         at
> org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
>         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
>         at
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> l.java:4113)
>         at
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 068)
>         at
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1429)
>         at
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> NestedThrowablesStackTrace:
> ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
> foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The statement
> has been rolled back.
>         at
> org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
>         at
> org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
> Source)
>         at
> org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown Source)
>         at
> org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
> known Source)
>         at
> org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
>         at
> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
>         at
> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> Source)
>         at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
> wn Source)
>         at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
> Source)
>         at
> org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
>         at
> org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
> 5)
>         at
> org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
>         at org.jpox.store.StoreManager.delete(StoreManager.java:800)
>         at
> org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
> l.java:4113)
>         at
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 068)
>         at
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
> org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
> nceManager.java:1429)
>         at
> org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
> erStore.java:595)
>         at
> org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
> a:304)
>         at
> org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
> ng.java:332)
>         at
> org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
> 80)
>         at
> org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
>         at
> org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
> 049)
>         at
> org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
> sistenceManager.java:1391)
>         at
> org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
> Manager.java:1402)
>         at
> org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
> 53)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
> nuumStore.java:969)
>         at
> org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
> inuumStore.java:901)
>         at
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>         at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>         at
> ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>         at ognl.SimpleNode.getValue(SimpleNode.java:210)
>         at ognl.Ognl.getValue(Ognl.java:333)
>         at ognl.Ognl.getValue(Ognl.java:378)
>         at ognl.Ognl.getValue(Ognl.java:357)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.java:70)
>         at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>         at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
> andler.java:294)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
> text.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
> )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> \--------------------------------------/
>
>
> LEGAL NOTICE:
> Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
>
>
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com

Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
Hi,

Will it really help to change the length field in package.jdo? I don't
think so since I changed datatyp from a varchar to a CLOB. And when
starting continuum it complained that the datatype changed. Anyway I don't
have time to do more about this right now. I'll wait for 1.1

Regards,
     Mattias

> continuum.mdo is used for classes and package.jdo generation
>
> If you modify only the field length, classes will be the same. I'm not
> sure our package.jdo
> generator support column jdbc-type defintion.
>
> Emmanuel
>
> Mattias Andersson a écrit :
>> Hi Emmanuel,
>>
>> Took a quick look at the package.jdo and it only contains the length
>> property for the column not the actual datatyp. Isn't the
>> SCMResult.class
>> (found in continuum-model.jar) generated from
>> http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
>>
>> This file contains the datatypes and length for the columns. And in that
>> case the continuum.mdo needs to be modified and the class re-generated,
>> or?
>>
>>     /Mattias
>>
>>> ok, I'll try changing that when I find some spare time. And the create
>>> table stmt should look like this and nothing else.
>>>
>>> CREATE TABLE SCMRESULT2
>>> (
>>>     SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>>     COMMAND_LINE VARCHAR(255),
>>>     COMMAND_OUTPUT CLOB(16M),
>>>     "EXCEPTION" VARCHAR(8192),
>>>     PROVIDER_MESSAGE VARCHAR(1024),
>>>     SUCCESS CHAR(1) not null,
>>>     MODEL_ENCODING VARCHAR(255)
>>>> );
>>>    /Mattias
>>>
>>>> oh yes, you need to change package.jdo in continuum-model.jar
>>>>
>>>> I don't think you need to change something else.
>>>>
>>>> Emmanuel
>>>>
>>>> Mattias Andersson a écrit :
>>>>> Hi Emmanuel,
>>>>>
>>>>> Is blob really appropriate for varchar type of information? You can't
>>>>> copy
>>>>> varchar into a blob! Shouldn't it be a clob?
>>>>>
>>>>> Below are the SQL statments that I executed. (unfortunatly you can't
>>>>> alter
>>>>> the data type of the column directly). But when I started continumm
>>>>> it
>>>>> complained that the column COMMAND_OUTPUT should be a VARCHAR and not
>>>>> a
>>>>> CLOB.
>>>>>
>>>>> org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible
>>>>> data
>>>>> type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
>>>>> expected was Types.VARCHAR. Please check that the type in the
>>>>> datastore
>>>>> and the type specified in the MetaData are consistent.
>>>>>
>>>>> So I guess you can't change this without changing to code. Or is the
>>>>> meta
>>>>> data available some where?
>>>>>
>>>>> Regards,
>>>>>     Mattias
>>>>>
>>>>> CREATE TABLE SCMRESULT2
>>>>> (
>>>>>    SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>>>>    COMMAND_LINE VARCHAR(255),
>>>>>    COMMAND_OUTPUT VARCHAR(16384),
>>>>>    "EXCEPTION" VARCHAR(8192),
>>>>>    PROVIDER_MESSAGE VARCHAR(1024),
>>>>>    SUCCESS CHAR(1) not null,
>>>>>    MODEL_ENCODING VARCHAR(255)
>>>>> );
>>>>>
>>>>>
>>>>> INSERT INTO SCMRESULT2
>>>>> SELECT * FROM SCMRESULT;
>>>>>
>>>>> ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
>>>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
>>>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
>>>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
>>>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;
>>>>>
>>>>> DROP TABLE SCMRESULT;
>>>>> RENAME TABLE SCMRESULT2 TO SCMRESULT;
>>>>>
>>>>> ALTER TABLE CHANGESET
>>>>> ADD CONSTRAINT CHANGESET_FK1
>>>>> FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
>>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>>
>>>>> ALTER TABLE BUILDRESULT
>>>>> ADD CONSTRAINT BUILDRESULT_FK1
>>>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
>>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>>
>>>>> ALTER TABLE BUILDRESULT
>>>>> ADD CONSTRAINT BUILDRESULT_FK3
>>>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
>>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>>
>>>>> ALTER TABLE PROJECT
>>>>> ADD CONSTRAINT PROJECT_FK1
>>>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
>>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>>
>>>>> ALTER TABLE PROJECT
>>>>> ADD CONSTRAINT PROJECT_FK4
>>>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
>>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>>
>>>>>
>>>>>> If you change it, can you send us the procedure? we'll add an entry
>>>>>> in
>>>>>> faqs.
>>>>>>
>>>>>> Emmanuel
>>>>>>
>>>>>> Mattias Andersson a écrit :
>>>>>>> Hi Emmanuel,
>>>>>>>
>>>>>>> ok, I'll try to change the column. Thanks for the quick response!
>>>>>>>
>>>>>>> Regards,
>>>>>>>  Mattias
>>>>>>>
>>>>>>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>>>>>>> (COMMAND_OUTPUT) isn't enought in
>>>>>>>> database, you can change it to a blob with a sql client like
>>>>>>>> squirrel.
>>>>>>>>
>>>>>>>> Emmanuel
>>>>>>>>
>>>>>>>> Mattias Andersson a écrit :
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I got some errors today in the continuum log fil that I do know
>>>>>>>>> how
>>>>>>>>> to
>>>>>>>>> solve? The appeared when I pressed the build button for a
>>>>>>>>> project.
>>>>>>>>> It's
>>>>>>>>> a
>>>>>>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these
>>>>>>>>> errors
>>>>>>>>> known or should I add new isues? And are there any workarounds?
>>>>>>>>> (the
>>>>>>>>> complete stack trace is not included below to keep the mail
>>>>>>>>> smaller.
>>>>>>>>> They
>>>>>>>>> are available if needed)
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>        Mattias
>>>>>>>>>
>>>>>>>>> ERROR 1:
>>>>>>>>> ===========================================================================
>>>>>>>>> cvs update: move away
>>>>>>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it
>>>>>>>>> is
>>>>>>>>> in
>>>>>>>>> the
>>>>>>>>> way
>>>>>>>>>
>>>>>>>>> 31802313 [Thread-2] WARN
>>>>>>>>> org.apache.maven.continuum.scm.ContinuumScm
>>>>>>>>> -
>>>>>>>>> Provider message: The cvs command failed.
>>>>>>>>> 31802391 [Thread-2] ERROR
>>>>>>>>> org.apache.maven.continuum.buildcontroller.BuildController  -
>>>>>>>>> Error
>>>>>>>>> while
>>>>>>>>> building project.
>>>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT
>>>>>>>>> INTO
>>>>>>>>> SCMRESULT
>>>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>>>> ...
>>>>>>>>> ...
>>>>>>>>>
>>>>>>>>> ERROR 2:
>>>>>>>>> ===========================================================================
>>>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>>>> VARCHAR
>>>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&'
>>>>>>>>> to
>>>>>>>>> length
>>>>>>>>> 1024.
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>>>> Source)
>>>>>>>>> ...
>>>>>>>>> ...
>>>>>>>>>
>>>>>>>>> ERROR 3:
>>>>>>>>> ===========================================================================
>>>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT
>>>>>>>>> INTO
>>>>>>>>> SCMRESULT
>>>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>>>> 	at
>>>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>>>> 	at
>>>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>>>>>>> 	at
>>>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>>>>>>> ...
>>>>>>>>> ...
>>>>>>>>>
>>>>>>>>> ERROR 4:
>>>>>>>>> ===========================================================================
>>>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>>>> VARCHAR
>>>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&'
>>>>>>>>> to
>>>>>>>>> length
>>>>>>>>> 1024.
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>>>> Source)
>>>>>>>>> 	at
>>>>>>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>>>>>>> Source)
>>>>>>>>> ...
>>>>>>>>> ...
>>>>>>>>> ERROR 5:
>>>>>>>>> ===========================================================================
>>>>>>>>> 31802563 [Thread-2] ERROR
>>>>>>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>>>>>>> -
>>>>>>>>> Error while executing task.
>>>>>>>>> java.lang.NullPointerException
>>>>>>>>> 	at
>>>>>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>>>>>>> 	at
>>>>>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>>>>>> 	at
>>>>>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>
>


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Emmanuel Venisse <em...@venisse.net>.
continuum.mdo is used for classes and package.jdo generation

If you modify only the field length, classes will be the same. I'm not sure our package.jdo 
generator support column jdbc-type defintion.

Emmanuel

Mattias Andersson a écrit :
> Hi Emmanuel,
> 
> Took a quick look at the package.jdo and it only contains the length
> property for the column not the actual datatyp. Isn't the SCMResult.class
> (found in continuum-model.jar) generated from
> http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
> 
> This file contains the datatypes and length for the columns. And in that
> case the continuum.mdo needs to be modified and the class re-generated,
> or?
> 
>     /Mattias
> 
>> ok, I'll try changing that when I find some spare time. And the create
>> table stmt should look like this and nothing else.
>>
>> CREATE TABLE SCMRESULT2
>> (
>>     SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>     COMMAND_LINE VARCHAR(255),
>>     COMMAND_OUTPUT CLOB(16M),
>>     "EXCEPTION" VARCHAR(8192),
>>     PROVIDER_MESSAGE VARCHAR(1024),
>>     SUCCESS CHAR(1) not null,
>>     MODEL_ENCODING VARCHAR(255)
>>> );
>>    /Mattias
>>
>>> oh yes, you need to change package.jdo in continuum-model.jar
>>>
>>> I don't think you need to change something else.
>>>
>>> Emmanuel
>>>
>>> Mattias Andersson a écrit :
>>>> Hi Emmanuel,
>>>>
>>>> Is blob really appropriate for varchar type of information? You can't
>>>> copy
>>>> varchar into a blob! Shouldn't it be a clob?
>>>>
>>>> Below are the SQL statments that I executed. (unfortunatly you can't
>>>> alter
>>>> the data type of the column directly). But when I started continumm it
>>>> complained that the column COMMAND_OUTPUT should be a VARCHAR and not a
>>>> CLOB.
>>>>
>>>> org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible
>>>> data
>>>> type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
>>>> expected was Types.VARCHAR. Please check that the type in the datastore
>>>> and the type specified in the MetaData are consistent.
>>>>
>>>> So I guess you can't change this without changing to code. Or is the
>>>> meta
>>>> data available some where?
>>>>
>>>> Regards,
>>>>     Mattias
>>>>
>>>> CREATE TABLE SCMRESULT2
>>>> (
>>>>    SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>>>    COMMAND_LINE VARCHAR(255),
>>>>    COMMAND_OUTPUT VARCHAR(16384),
>>>>    "EXCEPTION" VARCHAR(8192),
>>>>    PROVIDER_MESSAGE VARCHAR(1024),
>>>>    SUCCESS CHAR(1) not null,
>>>>    MODEL_ENCODING VARCHAR(255)
>>>> );
>>>>
>>>>
>>>> INSERT INTO SCMRESULT2
>>>> SELECT * FROM SCMRESULT;
>>>>
>>>> ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
>>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
>>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
>>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
>>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;
>>>>
>>>> DROP TABLE SCMRESULT;
>>>> RENAME TABLE SCMRESULT2 TO SCMRESULT;
>>>>
>>>> ALTER TABLE CHANGESET
>>>> ADD CONSTRAINT CHANGESET_FK1
>>>> FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>
>>>> ALTER TABLE BUILDRESULT
>>>> ADD CONSTRAINT BUILDRESULT_FK1
>>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>
>>>> ALTER TABLE BUILDRESULT
>>>> ADD CONSTRAINT BUILDRESULT_FK3
>>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>
>>>> ALTER TABLE PROJECT
>>>> ADD CONSTRAINT PROJECT_FK1
>>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>
>>>> ALTER TABLE PROJECT
>>>> ADD CONSTRAINT PROJECT_FK4
>>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
>>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>>
>>>>
>>>>> If you change it, can you send us the procedure? we'll add an entry in
>>>>> faqs.
>>>>>
>>>>> Emmanuel
>>>>>
>>>>> Mattias Andersson a écrit :
>>>>>> Hi Emmanuel,
>>>>>>
>>>>>> ok, I'll try to change the column. Thanks for the quick response!
>>>>>>
>>>>>> Regards,
>>>>>>  Mattias
>>>>>>
>>>>>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>>>>>> (COMMAND_OUTPUT) isn't enought in
>>>>>>> database, you can change it to a blob with a sql client like
>>>>>>> squirrel.
>>>>>>>
>>>>>>> Emmanuel
>>>>>>>
>>>>>>> Mattias Andersson a écrit :
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I got some errors today in the continuum log fil that I do know how
>>>>>>>> to
>>>>>>>> solve? The appeared when I pressed the build button for a project.
>>>>>>>> It's
>>>>>>>> a
>>>>>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these
>>>>>>>> errors
>>>>>>>> known or should I add new isues? And are there any workarounds?
>>>>>>>> (the
>>>>>>>> complete stack trace is not included below to keep the mail
>>>>>>>> smaller.
>>>>>>>> They
>>>>>>>> are available if needed)
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>        Mattias
>>>>>>>>
>>>>>>>> ERROR 1:
>>>>>>>> ===========================================================================
>>>>>>>> cvs update: move away
>>>>>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is
>>>>>>>> in
>>>>>>>> the
>>>>>>>> way
>>>>>>>>
>>>>>>>> 31802313 [Thread-2] WARN
>>>>>>>> org.apache.maven.continuum.scm.ContinuumScm
>>>>>>>> -
>>>>>>>> Provider message: The cvs command failed.
>>>>>>>> 31802391 [Thread-2] ERROR
>>>>>>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>>>>>>> while
>>>>>>>> building project.
>>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>>>> SCMRESULT
>>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>>> 	at
>>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>>> 	at
>>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>>> ...
>>>>>>>> ...
>>>>>>>>
>>>>>>>> ERROR 2:
>>>>>>>> ===========================================================================
>>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>>> VARCHAR
>>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>>>> length
>>>>>>>> 1024.
>>>>>>>> 	at
>>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>>> Source)
>>>>>>>> ...
>>>>>>>> ...
>>>>>>>>
>>>>>>>> ERROR 3:
>>>>>>>> ===========================================================================
>>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>>>> SCMRESULT
>>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>>> 	at
>>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>>> 	at
>>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>>> 	at
>>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>>> 	at
>>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>>> 	at
>>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>>>>>> 	at
>>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>>>>>> ...
>>>>>>>> ...
>>>>>>>>
>>>>>>>> ERROR 4:
>>>>>>>> ===========================================================================
>>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>>> VARCHAR
>>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>>>> length
>>>>>>>> 1024.
>>>>>>>> 	at
>>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>>> Source)
>>>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>>> Source)
>>>>>>>> 	at
>>>>>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>>>>>> Source)
>>>>>>>> ...
>>>>>>>> ...
>>>>>>>> ERROR 5:
>>>>>>>> ===========================================================================
>>>>>>>> 31802563 [Thread-2] ERROR
>>>>>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>>>>>> -
>>>>>>>> Error while executing task.
>>>>>>>> java.lang.NullPointerException
>>>>>>>> 	at
>>>>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>>>>>> 	at
>>>>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>>>>> 	at
>>>>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
> 
> 
> 
> 


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
Hi Emmanuel,

Took a quick look at the package.jdo and it only contains the length
property for the column not the actual datatyp. Isn't the SCMResult.class
(found in continuum-model.jar) generated from
http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo

This file contains the datatypes and length for the columns. And in that
case the continuum.mdo needs to be modified and the class re-generated,
or?

    /Mattias

> ok, I'll try changing that when I find some spare time. And the create
> table stmt should look like this and nothing else.
>
> CREATE TABLE SCMRESULT2
> (
>     SCMRESULT_ID BIGINT PRIMARY KEY not null,
>     COMMAND_LINE VARCHAR(255),
>     COMMAND_OUTPUT CLOB(16M),
>     "EXCEPTION" VARCHAR(8192),
>     PROVIDER_MESSAGE VARCHAR(1024),
>     SUCCESS CHAR(1) not null,
>     MODEL_ENCODING VARCHAR(255)
>> );
>
>    /Mattias
>
>> oh yes, you need to change package.jdo in continuum-model.jar
>>
>> I don't think you need to change something else.
>>
>> Emmanuel
>>
>> Mattias Andersson a écrit :
>>> Hi Emmanuel,
>>>
>>> Is blob really appropriate for varchar type of information? You can't
>>> copy
>>> varchar into a blob! Shouldn't it be a clob?
>>>
>>> Below are the SQL statments that I executed. (unfortunatly you can't
>>> alter
>>> the data type of the column directly). But when I started continumm it
>>> complained that the column COMMAND_OUTPUT should be a VARCHAR and not a
>>> CLOB.
>>>
>>> org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible
>>> data
>>> type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
>>> expected was Types.VARCHAR. Please check that the type in the datastore
>>> and the type specified in the MetaData are consistent.
>>>
>>> So I guess you can't change this without changing to code. Or is the
>>> meta
>>> data available some where?
>>>
>>> Regards,
>>>     Mattias
>>>
>>> CREATE TABLE SCMRESULT2
>>> (
>>>    SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>>    COMMAND_LINE VARCHAR(255),
>>>    COMMAND_OUTPUT VARCHAR(16384),
>>>    "EXCEPTION" VARCHAR(8192),
>>>    PROVIDER_MESSAGE VARCHAR(1024),
>>>    SUCCESS CHAR(1) not null,
>>>    MODEL_ENCODING VARCHAR(255)
>>> );
>>>
>>>
>>> INSERT INTO SCMRESULT2
>>> SELECT * FROM SCMRESULT;
>>>
>>> ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
>>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
>>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;
>>>
>>> DROP TABLE SCMRESULT;
>>> RENAME TABLE SCMRESULT2 TO SCMRESULT;
>>>
>>> ALTER TABLE CHANGESET
>>> ADD CONSTRAINT CHANGESET_FK1
>>> FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>
>>> ALTER TABLE BUILDRESULT
>>> ADD CONSTRAINT BUILDRESULT_FK1
>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>
>>> ALTER TABLE BUILDRESULT
>>> ADD CONSTRAINT BUILDRESULT_FK3
>>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>
>>> ALTER TABLE PROJECT
>>> ADD CONSTRAINT PROJECT_FK1
>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>
>>> ALTER TABLE PROJECT
>>> ADD CONSTRAINT PROJECT_FK4
>>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
>>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>>
>>>
>>>> If you change it, can you send us the procedure? we'll add an entry in
>>>> faqs.
>>>>
>>>> Emmanuel
>>>>
>>>> Mattias Andersson a écrit :
>>>>> Hi Emmanuel,
>>>>>
>>>>> ok, I'll try to change the column. Thanks for the quick response!
>>>>>
>>>>> Regards,
>>>>>  Mattias
>>>>>
>>>>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>>>>> (COMMAND_OUTPUT) isn't enought in
>>>>>> database, you can change it to a blob with a sql client like
>>>>>> squirrel.
>>>>>>
>>>>>> Emmanuel
>>>>>>
>>>>>> Mattias Andersson a écrit :
>>>>>>> Hi,
>>>>>>>
>>>>>>> I got some errors today in the continuum log fil that I do know how
>>>>>>> to
>>>>>>> solve? The appeared when I pressed the build button for a project.
>>>>>>> It's
>>>>>>> a
>>>>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these
>>>>>>> errors
>>>>>>> known or should I add new isues? And are there any workarounds?
>>>>>>> (the
>>>>>>> complete stack trace is not included below to keep the mail
>>>>>>> smaller.
>>>>>>> They
>>>>>>> are available if needed)
>>>>>>>
>>>>>>> Regards,
>>>>>>>        Mattias
>>>>>>>
>>>>>>> ERROR 1:
>>>>>>> ===========================================================================
>>>>>>> cvs update: move away
>>>>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is
>>>>>>> in
>>>>>>> the
>>>>>>> way
>>>>>>>
>>>>>>> 31802313 [Thread-2] WARN
>>>>>>> org.apache.maven.continuum.scm.ContinuumScm
>>>>>>> -
>>>>>>> Provider message: The cvs command failed.
>>>>>>> 31802391 [Thread-2] ERROR
>>>>>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>>>>>> while
>>>>>>> building project.
>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>>> SCMRESULT
>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>> 	at
>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>> 	at
>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>> 	at
>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>> ...
>>>>>>> ...
>>>>>>>
>>>>>>> ERROR 2:
>>>>>>> ===========================================================================
>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>> VARCHAR
>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>>> length
>>>>>>> 1024.
>>>>>>> 	at
>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>> Source)
>>>>>>> ...
>>>>>>> ...
>>>>>>>
>>>>>>> ERROR 3:
>>>>>>> ===========================================================================
>>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>>> SCMRESULT
>>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>>> 	at
>>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>>> 	at
>>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>>> 	at
>>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>>> 	at
>>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>>> 	at
>>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>>> 	at
>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>>>>> 	at
>>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>>>>> ...
>>>>>>> ...
>>>>>>>
>>>>>>> ERROR 4:
>>>>>>> ===========================================================================
>>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>>> VARCHAR
>>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>>> length
>>>>>>> 1024.
>>>>>>> 	at
>>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>>> Source)
>>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>>> Source)
>>>>>>> 	at
>>>>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>>>>> Source)
>>>>>>> ...
>>>>>>> ...
>>>>>>> ERROR 5:
>>>>>>> ===========================================================================
>>>>>>> 31802563 [Thread-2] ERROR
>>>>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>>>>> -
>>>>>>> Error while executing task.
>>>>>>> java.lang.NullPointerException
>>>>>>> 	at
>>>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>>>>> 	at
>>>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>>>> 	at
>>>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>


Re: Changed file list for every build

Posted by Emmanuel Venisse <em...@venisse.net>.
What is your scm?

You need to ignore target directory and other generated files in your scm.

Emmanuel

Prashanth Krishnamurthy a écrit :
> When I do a build, I see the list of files under
> "Build Result" --> Changes.
> 
> I see files listed even when there is no change to the
> source files. What exactly is happening ?
> 
> thanks
> --Prashanth
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> 


Changed file list for every build

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
When I do a build, I see the list of files under
"Build Result" --> Changes.

I see files listed even when there is no change to the
source files. What exactly is happening ?

thanks
--Prashanth

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

One sub module randomly appears twice after adding a parent multi-module 1.0.3

Posted by "Johnson, Jonathan" <jj...@454.com>.
One sub module randomly appears twice after adding a parent multi-module
to continuum 1.0.3.

I have a parent maven 2 pom with 16 sub-modules.  If I reset the
database ( by removing the database directory) and add my parent pom.xml
all the modules will be added correctly except one random module will be
added twice.  I tried this three times and a different module in the
list is duplicated once.  This also happens after a fresh install of
version 1.0.3.

If I run a "Build All" one of the duplicate modules builds, while the
other remains with a "New" status. When attempting to remove the
duplicate module with the "New" status I get

ognl.MethodFailedException: Method "removeProject" failed for object
org.apache.maven.continuum.DefaultContinuum@194a8eb
[javax.jdo.JDOUserException: One or more instances could not be deleted
NestedThrowables:
javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
BUILDDEFINITION WHERE ID = ?
NestedThrowables:
SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of
foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The statement
has been rolled back.]
	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
	at
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
	at ognl.SimpleNode.getValue(SimpleNode.java:210)
	at ognl.Ognl.getValue(Ognl.java:333)
	at ognl.Ognl.getValue(Ognl.java:378)
	at ognl.Ognl.getValue(Ognl.java:357)
	at
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
(DeleteEntity.java:57)
	at
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
a:47)
	at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
.java:68)
	at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
line.java:70)
	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
/-- Encapsulated exception ------------\
javax.jdo.JDOUserException: One or more instances could not be deleted
	at
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
nceManager.java:1438)
	at
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
erStore.java:595)
	at
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
a:304)
	at
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
ng.java:332)
	at
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
80)
	at
org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
	at
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
049)
	at
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
sistenceManager.java:1391)
	at
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
Manager.java:1402)
	at
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
53)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
nuumStore.java:969)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
inuumStore.java:901)
	at
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
um.java:328)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
	at
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
	at ognl.SimpleNode.getValue(SimpleNode.java:210)
	at ognl.Ognl.getValue(Ognl.java:333)
	at ognl.Ognl.getValue(Ognl.java:378)
	at ognl.Ognl.getValue(Ognl.java:357)
	at
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
(DeleteEntity.java:57)
	at
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
a:47)
	at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
.java:68)
	at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
line.java:70)
	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
NestedThrowablesStackTrace:
javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM
BUILDDEFINITION WHERE ID = ?
	at
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:25
9)
	at
org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
	at org.jpox.store.StoreManager.delete(StoreManager.java:800)
	at
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
l.java:4113)
	at
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
068)
	at
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
sistenceManager.java:1391)
	at
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
nceManager.java:1429)
	at
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
erStore.java:595)
	at
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
a:304)
	at
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
ng.java:332)
	at
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
80)
	at
org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
	at
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
049)
	at
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
sistenceManager.java:1391)
	at
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
Manager.java:1402)
	at
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
53)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
nuumStore.java:969)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
inuumStore.java:901)
	at
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
um.java:328)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
	at
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
	at ognl.SimpleNode.getValue(SimpleNode.java:210)
	at ognl.Ognl.getValue(Ognl.java:333)
	at ognl.Ognl.getValue(Ognl.java:378)
	at ognl.Ognl.getValue(Ognl.java:357)
	at
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
(DeleteEntity.java:57)
	at
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
a:47)
	at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
.java:68)
	at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
line.java:70)
	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
NestedThrowablesStackTrace:
ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
foreign key constraint 'PROJECT_BUILP8_FK2' for key (10).  The statement
has been rolled back.
	at
org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown Source)
	at
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Un
known Source)
	at
org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
	at
org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
	at
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
	at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno
wn Source)
	at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
Source)
	at
org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:78)
	at
org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:24
5)
	at
org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2238)
	at org.jpox.store.StoreManager.delete(StoreManager.java:800)
	at
org.jpox.state.StateManagerImpl.internalDeletePersistent(StateManagerImp
l.java:4113)
	at
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
068)
	at
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
sistenceManager.java:1391)
	at
org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersiste
nceManager.java:1429)
	at
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContain
erStore.java:595)
	at
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.jav
a:304)
	at
org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMappi
ng.java:332)
	at
org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:22
80)
	at
org.jpox.store.StoreManager.deleteDependent(StoreManager.java:838)
	at
org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4
049)
	at
org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPer
sistenceManager.java:1391)
	at
org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistence
Manager.java:1402)
	at
org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:
53)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoConti
nuumStore.java:969)
	at
org.apache.maven.continuum.store.JdoContinuumStore.removeProject(JdoCont
inuumStore.java:901)
	at
org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
um.java:328)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
	at
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
	at ognl.SimpleNode.getValue(SimpleNode.java:210)
	at ognl.Ognl.getValue(Ognl.java:333)
	at ognl.Ognl.getValue(Ognl.java:378)
	at ognl.Ognl.getValue(Ognl.java:357)
	at
org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
(DeleteEntity.java:57)
	at
org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
a:47)
	at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
.java:68)
	at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
line.java:70)
	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
\--------------------------------------/


LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.



Multiple modules with gobal developers list and sub-module notifiers list

Posted by "Johnson, Jonathan" <jj...@454.com>.
I have not been able to get continuum to send emails when the build
fails. 

On this page 

http://today.java.net/pub/a/today/2006/05/30/continuous-integration-with
-continuum.html

it indicates that one can put in a developers id (and not their email
address) in the address element for the continuum address but I suspect
this does not work with developers defined in the parent pom.xml and a
ciManagement section defined in the sub-modules.

Can someone confirm this?

I have a parent/top-level pom.xml with a section like this...

<developers>
        <developer>
            <id>jjohnson</id>
            <name>Jonathan Johnson</name>
            <email>jjohnson@454.com</email>
            <organization>454 Life Sciences</organization>
            <organizationUrl>http://www.454.com</organizationUrl>
            <roles>
                <role>Developer</role>
                <role>Administrator</role>
            </roles>
            <timezone>-5</timezone>
        </developer>
</developers>

In my maven 2 sub modules I have ciManagement sections like this.

    <ciManagement>
        <system>Continuum</system>
        <url>http://mymachine:8080/continuum</url>
        <notifiers>
            <notifier>
                <type>mail</type>
                <configuration>
                    <address>jjohnson</address>
                </configuration>
                <sendOnError>true</sendOnError>
                <sendOnFailure>true</sendOnFailure>
                <sendOnSuccess>false</sendOnSuccess>
                <sendOnWarning>true</sendOnWarning>
            </notifier>
        </notifiers>
    </ciManagement>

Thanks 

- Jonathan

LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.



Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
ok, I'll try changing that when I find some spare time. And the create
table stmt should look like this and nothing else.

CREATE TABLE SCMRESULT2
(
    SCMRESULT_ID BIGINT PRIMARY KEY not null,
    COMMAND_LINE VARCHAR(255),
    COMMAND_OUTPUT CLOB(16M),
    "EXCEPTION" VARCHAR(8192),
    PROVIDER_MESSAGE VARCHAR(1024),
    SUCCESS CHAR(1) not null,
    MODEL_ENCODING VARCHAR(255)
> );

   /Mattias

> oh yes, you need to change package.jdo in continuum-model.jar
>
> I don't think you need to change something else.
>
> Emmanuel
>
> Mattias Andersson a écrit :
>> Hi Emmanuel,
>>
>> Is blob really appropriate for varchar type of information? You can't
>> copy
>> varchar into a blob! Shouldn't it be a clob?
>>
>> Below are the SQL statments that I executed. (unfortunatly you can't
>> alter
>> the data type of the column directly). But when I started continumm it
>> complained that the column COMMAND_OUTPUT should be a VARCHAR and not a
>> CLOB.
>>
>> org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible
>> data
>> type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
>> expected was Types.VARCHAR. Please check that the type in the datastore
>> and the type specified in the MetaData are consistent.
>>
>> So I guess you can't change this without changing to code. Or is the
>> meta
>> data available some where?
>>
>> Regards,
>>     Mattias
>>
>> CREATE TABLE SCMRESULT2
>> (
>>    SCMRESULT_ID BIGINT PRIMARY KEY not null,
>>    COMMAND_LINE VARCHAR(255),
>>    COMMAND_OUTPUT VARCHAR(16384),
>>    "EXCEPTION" VARCHAR(8192),
>>    PROVIDER_MESSAGE VARCHAR(1024),
>>    SUCCESS CHAR(1) not null,
>>    MODEL_ENCODING VARCHAR(255)
>> );
>>
>>
>> INSERT INTO SCMRESULT2
>> SELECT * FROM SCMRESULT;
>>
>> ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
>> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
>> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;
>>
>> DROP TABLE SCMRESULT;
>> RENAME TABLE SCMRESULT2 TO SCMRESULT;
>>
>> ALTER TABLE CHANGESET
>> ADD CONSTRAINT CHANGESET_FK1
>> FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>
>> ALTER TABLE BUILDRESULT
>> ADD CONSTRAINT BUILDRESULT_FK1
>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>
>> ALTER TABLE BUILDRESULT
>> ADD CONSTRAINT BUILDRESULT_FK3
>> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>
>> ALTER TABLE PROJECT
>> ADD CONSTRAINT PROJECT_FK1
>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>
>> ALTER TABLE PROJECT
>> ADD CONSTRAINT PROJECT_FK4
>> FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
>> REFERENCES SCMRESULT(SCMRESULT_ID);
>>
>>
>>> If you change it, can you send us the procedure? we'll add an entry in
>>> faqs.
>>>
>>> Emmanuel
>>>
>>> Mattias Andersson a écrit :
>>>> Hi Emmanuel,
>>>>
>>>> ok, I'll try to change the column. Thanks for the quick response!
>>>>
>>>> Regards,
>>>>  Mattias
>>>>
>>>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>>>> (COMMAND_OUTPUT) isn't enought in
>>>>> database, you can change it to a blob with a sql client like
>>>>> squirrel.
>>>>>
>>>>> Emmanuel
>>>>>
>>>>> Mattias Andersson a écrit :
>>>>>> Hi,
>>>>>>
>>>>>> I got some errors today in the continuum log fil that I do know how
>>>>>> to
>>>>>> solve? The appeared when I pressed the build button for a project.
>>>>>> It's
>>>>>> a
>>>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these
>>>>>> errors
>>>>>> known or should I add new isues? And are there any workarounds? (the
>>>>>> complete stack trace is not included below to keep the mail smaller.
>>>>>> They
>>>>>> are available if needed)
>>>>>>
>>>>>> Regards,
>>>>>>        Mattias
>>>>>>
>>>>>> ERROR 1:
>>>>>> ===========================================================================
>>>>>> cvs update: move away
>>>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is
>>>>>> in
>>>>>> the
>>>>>> way
>>>>>>
>>>>>> 31802313 [Thread-2] WARN
>>>>>> org.apache.maven.continuum.scm.ContinuumScm
>>>>>> -
>>>>>> Provider message: The cvs command failed.
>>>>>> 31802391 [Thread-2] ERROR
>>>>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>>>>> while
>>>>>> building project.
>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>> SCMRESULT
>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>> 	at
>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>> 	at
>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>> 	at
>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>> ...
>>>>>> ...
>>>>>>
>>>>>> ERROR 2:
>>>>>> ===========================================================================
>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>> VARCHAR
>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>> length
>>>>>> 1024.
>>>>>> 	at
>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>> Source)
>>>>>> ...
>>>>>> ...
>>>>>>
>>>>>> ERROR 3:
>>>>>> ===========================================================================
>>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>>> SCMRESULT
>>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>>> VALUES (?,?,?,?,?,?,?)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>>> 	at
>>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>>> 	at
>>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>>> 	at
>>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>>> 	at
>>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>>> 	at
>>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>>>> ...
>>>>>> ...
>>>>>>
>>>>>> ERROR 4:
>>>>>> ===========================================================================
>>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>>> VARCHAR
>>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>>> length
>>>>>> 1024.
>>>>>> 	at
>>>>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>>> Source)
>>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>>> Source)
>>>>>> 	at
>>>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>>>> Source)
>>>>>> ...
>>>>>> ...
>>>>>> ERROR 5:
>>>>>> ===========================================================================
>>>>>> 31802563 [Thread-2] ERROR
>>>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>>>> -
>>>>>> Error while executing task.
>>>>>> java.lang.NullPointerException
>>>>>> 	at
>>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>>> 	at
>>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>
>


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Emmanuel Venisse <em...@venisse.net>.
oh yes, you need to change package.jdo in continuum-model.jar

I don't think you need to change something else.

Emmanuel

Mattias Andersson a écrit :
> Hi Emmanuel,
> 
> Is blob really appropriate for varchar type of information? You can't copy
> varchar into a blob! Shouldn't it be a clob?
> 
> Below are the SQL statments that I executed. (unfortunatly you can't alter
> the data type of the column directly). But when I started continumm it
> complained that the column COMMAND_OUTPUT should be a VARCHAR and not a
> CLOB.
> 
> org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible data
> type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
> expected was Types.VARCHAR. Please check that the type in the datastore
> and the type specified in the MetaData are consistent.
> 
> So I guess you can't change this without changing to code. Or is the meta
> data available some where?
> 
> Regards,
>     Mattias
> 
> CREATE TABLE SCMRESULT2
> (
>    SCMRESULT_ID BIGINT PRIMARY KEY not null,
>    COMMAND_LINE VARCHAR(255),
>    COMMAND_OUTPUT VARCHAR(16384),
>    "EXCEPTION" VARCHAR(8192),
>    PROVIDER_MESSAGE VARCHAR(1024),
>    SUCCESS CHAR(1) not null,
>    MODEL_ENCODING VARCHAR(255)
> );
> 
> 
> INSERT INTO SCMRESULT2
> SELECT * FROM SCMRESULT;
> 
> ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
> ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
> ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;
> 
> DROP TABLE SCMRESULT;
> RENAME TABLE SCMRESULT2 TO SCMRESULT;
> 
> ALTER TABLE CHANGESET
> ADD CONSTRAINT CHANGESET_FK1
> FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
> REFERENCES SCMRESULT(SCMRESULT_ID);
> 
> ALTER TABLE BUILDRESULT
> ADD CONSTRAINT BUILDRESULT_FK1
> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
> REFERENCES SCMRESULT(SCMRESULT_ID);
> 
> ALTER TABLE BUILDRESULT
> ADD CONSTRAINT BUILDRESULT_FK3
> FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
> REFERENCES SCMRESULT(SCMRESULT_ID);
> 
> ALTER TABLE PROJECT
> ADD CONSTRAINT PROJECT_FK1
> FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
> REFERENCES SCMRESULT(SCMRESULT_ID);
> 
> ALTER TABLE PROJECT
> ADD CONSTRAINT PROJECT_FK4
> FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
> REFERENCES SCMRESULT(SCMRESULT_ID);
> 
> 
>> If you change it, can you send us the procedure? we'll add an entry in
>> faqs.
>>
>> Emmanuel
>>
>> Mattias Andersson a écrit :
>>> Hi Emmanuel,
>>>
>>> ok, I'll try to change the column. Thanks for the quick response!
>>>
>>> Regards,
>>>  Mattias
>>>
>>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>>> (COMMAND_OUTPUT) isn't enought in
>>>> database, you can change it to a blob with a sql client like squirrel.
>>>>
>>>> Emmanuel
>>>>
>>>> Mattias Andersson a écrit :
>>>>> Hi,
>>>>>
>>>>> I got some errors today in the continuum log fil that I do know how to
>>>>> solve? The appeared when I pressed the build button for a project.
>>>>> It's
>>>>> a
>>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
>>>>> known or should I add new isues? And are there any workarounds? (the
>>>>> complete stack trace is not included below to keep the mail smaller.
>>>>> They
>>>>> are available if needed)
>>>>>
>>>>> Regards,
>>>>>        Mattias
>>>>>
>>>>> ERROR 1:
>>>>> ===========================================================================
>>>>> cvs update: move away
>>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in
>>>>> the
>>>>> way
>>>>>
>>>>> 31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm
>>>>> -
>>>>> Provider message: The cvs command failed.
>>>>> 31802391 [Thread-2] ERROR
>>>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>>>> while
>>>>> building project.
>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>> SCMRESULT
>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>> VALUES (?,?,?,?,?,?,?)
>>>>> 	at
>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>> 	at
>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>> 	at
>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>> 	at
>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>> 	at
>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>> ...
>>>>> ...
>>>>>
>>>>> ERROR 2:
>>>>> ===========================================================================
>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>> VARCHAR
>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>> length
>>>>> 1024.
>>>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>> Source)
>>>>> ...
>>>>> ...
>>>>>
>>>>> ERROR 3:
>>>>> ===========================================================================
>>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>>> SCMRESULT
>>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>>> VALUES (?,?,?,?,?,?,?)
>>>>> 	at
>>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>>> 	at
>>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>>> 	at
>>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>>> 	at
>>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>>> 	at
>>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>>> 	at
>>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>>> 	at
>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>>> 	at
>>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>>> ...
>>>>> ...
>>>>>
>>>>> ERROR 4:
>>>>> ===========================================================================
>>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>>> VARCHAR
>>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>>> length
>>>>> 1024.
>>>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>>> Source)
>>>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>>> Source)
>>>>> 	at
>>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>>> Source)
>>>>> ...
>>>>> ...
>>>>> ERROR 5:
>>>>> ===========================================================================
>>>>> 31802563 [Thread-2] ERROR
>>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>>> -
>>>>> Error while executing task.
>>>>> java.lang.NullPointerException
>>>>> 	at
>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>>> 	at
>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>> 	at
>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
> 
> 
> 
> 


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
Hi Emmanuel,

Is blob really appropriate for varchar type of information? You can't copy
varchar into a blob! Shouldn't it be a clob?

Below are the SQL statments that I executed. (unfortunatly you can't alter
the data type of the column directly). But when I started continumm it
complained that the column COMMAND_OUTPUT should be a VARCHAR and not a
CLOB.

org.jpox.store.exceptions.IncompatibleDataTypeException: Incompatible data
type for column SCMRESULT.COMMAND_OUTPUT : was Types.CLOB, but type
expected was Types.VARCHAR. Please check that the type in the datastore
and the type specified in the MetaData are consistent.

So I guess you can't change this without changing to code. Or is the meta
data available some where?

Regards,
    Mattias

CREATE TABLE SCMRESULT2
(
   SCMRESULT_ID BIGINT PRIMARY KEY not null,
   COMMAND_LINE VARCHAR(255),
   COMMAND_OUTPUT VARCHAR(16384),
   "EXCEPTION" VARCHAR(8192),
   PROVIDER_MESSAGE VARCHAR(1024),
   SUCCESS CHAR(1) not null,
   MODEL_ENCODING VARCHAR(255)
);


INSERT INTO SCMRESULT2
SELECT * FROM SCMRESULT;

ALTER TABLE CHANGESET DROP CONSTRAINT CHANGESET_FK1;
ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK1;
ALTER TABLE BUILDRESULT DROP CONSTRAINT BUILDRESULT_FK3;
ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK1;
ALTER TABLE PROJECT DROP CONSTRAINT PROJECT_FK4;

DROP TABLE SCMRESULT;
RENAME TABLE SCMRESULT2 TO SCMRESULT;

ALTER TABLE CHANGESET
ADD CONSTRAINT CHANGESET_FK1
FOREIGN KEY (CHANGES_SCMRESULT_ID_OID)
REFERENCES SCMRESULT(SCMRESULT_ID);

ALTER TABLE BUILDRESULT
ADD CONSTRAINT BUILDRESULT_FK1
FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_VM)
REFERENCES SCMRESULT(SCMRESULT_ID);

ALTER TABLE BUILDRESULT
ADD CONSTRAINT BUILDRESULT_FK3
FOREIGN KEY (SCM_RESULT_SCMRESULT_ID_OID)
REFERENCES SCMRESULT(SCMRESULT_ID);

ALTER TABLE PROJECT
ADD CONSTRAINT PROJECT_FK1
FOREIGN KEY (CHECKOUT_RESULT_SCMRESUL2U)
REFERENCES SCMRESULT(SCMRESULT_ID);

ALTER TABLE PROJECT
ADD CONSTRAINT PROJECT_FK4
FOREIGN KEY (CHECKOUT_RESULT_SCMRESULT_ID_OID)
REFERENCES SCMRESULT(SCMRESULT_ID);


> If you change it, can you send us the procedure? we'll add an entry in
> faqs.
>
> Emmanuel
>
> Mattias Andersson a écrit :
>> Hi Emmanuel,
>>
>> ok, I'll try to change the column. Thanks for the quick response!
>>
>> Regards,
>>  Mattias
>>
>>> It's a known problem thazt we'll fix in 1.1. The length of a field
>>> (COMMAND_OUTPUT) isn't enought in
>>> database, you can change it to a blob with a sql client like squirrel.
>>>
>>> Emmanuel
>>>
>>> Mattias Andersson a écrit :
>>>> Hi,
>>>>
>>>> I got some errors today in the continuum log fil that I do know how to
>>>> solve? The appeared when I pressed the build button for a project.
>>>> It's
>>>> a
>>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
>>>> known or should I add new isues? And are there any workarounds? (the
>>>> complete stack trace is not included below to keep the mail smaller.
>>>> They
>>>> are available if needed)
>>>>
>>>> Regards,
>>>>        Mattias
>>>>
>>>> ERROR 1:
>>>> ===========================================================================
>>>> cvs update: move away
>>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in
>>>> the
>>>> way
>>>>
>>>> 31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm
>>>> -
>>>> Provider message: The cvs command failed.
>>>> 31802391 [Thread-2] ERROR
>>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>>> while
>>>> building project.
>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>> SCMRESULT
>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>> VALUES (?,?,?,?,?,?,?)
>>>> 	at
>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>> 	at
>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>> 	at
>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>> 	at
>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>> 	at
>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>> ...
>>>> ...
>>>>
>>>> ERROR 2:
>>>> ===========================================================================
>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>> VARCHAR
>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>> length
>>>> 1024.
>>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>> Source)
>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>> Source)
>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>> Source)
>>>> ...
>>>> ...
>>>>
>>>> ERROR 3:
>>>> ===========================================================================
>>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>>> SCMRESULT
>>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>>> VALUES (?,?,?,?,?,?,?)
>>>> 	at
>>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>>> 	at
>>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>>> 	at
>>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>>> 	at
>>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>>> 	at
>>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>>> 	at
>>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>>> 	at
>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>>> 	at
>>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>>> ...
>>>> ...
>>>>
>>>> ERROR 4:
>>>> ===========================================================================
>>>> ERROR 22001: A truncation error was encountered trying to shrink
>>>> VARCHAR
>>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>>> length
>>>> 1024.
>>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>>> Source)
>>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown
>>>> Source)
>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>>> Source)
>>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>>> Source)
>>>> 	at
>>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>>> Source)
>>>> ...
>>>> ...
>>>> ERROR 5:
>>>> ===========================================================================
>>>> 31802563 [Thread-2] ERROR
>>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>>> -
>>>> Error while executing task.
>>>> java.lang.NullPointerException
>>>> 	at
>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>>> 	at
>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>> 	at
>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>
>


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Emmanuel Venisse <em...@venisse.net>.
If you change it, can you send us the procedure? we'll add an entry in faqs.

Emmanuel

Mattias Andersson a écrit :
> Hi Emmanuel,
> 
> ok, I'll try to change the column. Thanks for the quick response!
> 
> Regards,
>  Mattias
> 
>> It's a known problem thazt we'll fix in 1.1. The length of a field
>> (COMMAND_OUTPUT) isn't enought in
>> database, you can change it to a blob with a sql client like squirrel.
>>
>> Emmanuel
>>
>> Mattias Andersson a écrit :
>>> Hi,
>>>
>>> I got some errors today in the continuum log fil that I do know how to
>>> solve? The appeared when I pressed the build button for a project. It's
>>> a
>>> shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
>>> known or should I add new isues? And are there any workarounds? (the
>>> complete stack trace is not included below to keep the mail smaller.
>>> They
>>> are available if needed)
>>>
>>> Regards,
>>>        Mattias
>>>
>>> ERROR 1:
>>> ===========================================================================
>>> cvs update: move away
>>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in
>>> the
>>> way
>>>
>>> 31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm  -
>>> Provider message: The cvs command failed.
>>> 31802391 [Thread-2] ERROR
>>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>>> while
>>> building project.
>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>> SCMRESULT
>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>> VALUES (?,?,?,?,?,?,?)
>>> 	at
>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>> 	at
>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>> 	at
>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>> 	at
>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>> 	at
>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>> 	at
>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>> 	at
>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>> 	at
>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>> ...
>>> ...
>>>
>>> ERROR 2:
>>> ===========================================================================
>>> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>> length
>>> 1024.
>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>> Source)
>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>> Source)
>>> ...
>>> ...
>>>
>>> ERROR 3:
>>> ===========================================================================
>>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>>> SCMRESULT
>>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>>> VALUES (?,?,?,?,?,?,?)
>>> 	at
>>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>>> 	at
>>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>>> 	at
>>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>>> 	at
>>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>>> 	at
>>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>>> 	at
>>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>>> 	at
>>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>>> 	at
>>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>>> 	at
>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>>> 	at
>>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>>> ...
>>> ...
>>>
>>> ERROR 4:
>>> ===========================================================================
>>> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
>>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>>> length
>>> 1024.
>>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>>> Source)
>>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>>> Source)
>>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>>> Source)
>>> 	at
>>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>>> Source)
>>> ...
>>> ...
>>> ERROR 5:
>>> ===========================================================================
>>> 31802563 [Thread-2] ERROR
>>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>>> -
>>> Error while executing task.
>>> java.lang.NullPointerException
>>> 	at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>>> 	at
>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>> 	at
>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>> 	at java.lang.Thread.run(Thread.java:534)
>>>
>>>
>>>
>>>
>>>
>>
>>
> 
> 
> 
> 


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
Hi Emmanuel,

ok, I'll try to change the column. Thanks for the quick response!

Regards,
 Mattias

> It's a known problem thazt we'll fix in 1.1. The length of a field
> (COMMAND_OUTPUT) isn't enought in
> database, you can change it to a blob with a sql client like squirrel.
>
> Emmanuel
>
> Mattias Andersson a écrit :
>> Hi,
>>
>> I got some errors today in the continuum log fil that I do know how to
>> solve? The appeared when I pressed the build button for a project. It's
>> a
>> shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
>> known or should I add new isues? And are there any workarounds? (the
>> complete stack trace is not included below to keep the mail smaller.
>> They
>> are available if needed)
>>
>> Regards,
>>        Mattias
>>
>> ERROR 1:
>> ===========================================================================
>> cvs update: move away
>> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in
>> the
>> way
>>
>> 31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm  -
>> Provider message: The cvs command failed.
>> 31802391 [Thread-2] ERROR
>> org.apache.maven.continuum.buildcontroller.BuildController  - Error
>> while
>> building project.
>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>> SCMRESULT
>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>> VALUES (?,?,?,?,?,?,?)
>> 	at
>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>> 	at
>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>> 	at
>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>> 	at
>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>> 	at
>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>> 	at
>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>> 	at
>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>> 	at
>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>> ...
>> ...
>>
>> ERROR 2:
>> ===========================================================================
>> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>> length
>> 1024.
>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>> Source)
>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>> Source)
>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>> Source)
>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>> Source)
>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>> Source)
>> ...
>> ...
>>
>> ERROR 3:
>> ===========================================================================
>> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
>> SCMRESULT
>> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
>> VALUES (?,?,?,?,?,?,?)
>> 	at
>> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
>> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
>> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
>> 	at
>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
>> 	at
>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
>> 	at
>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
>> 	at
>> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
>> 	at
>> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
>> 	at
>> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
>> 	at
>> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
>> 	at
>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
>> 	at
>> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
>> ...
>> ...
>>
>> ERROR 4:
>> ===========================================================================
>> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
>> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to
>> length
>> 1024.
>> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
>> Source)
>> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
>> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
>> Source)
>> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
>> Source)
>> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
>> Source)
>> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
>> Source)
>> 	at
>> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
>> Source)
>> ...
>> ...
>> ERROR 5:
>> ===========================================================================
>> 31802563 [Thread-2] ERROR
>> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
>> -
>> Error while executing task.
>> java.lang.NullPointerException
>> 	at
>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
>> 	at
>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>> 	at
>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>> 	at java.lang.Thread.run(Thread.java:534)
>>
>>
>>
>>
>>
>
>
>


Re: [Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Emmanuel Venisse <em...@venisse.net>.
It's a known problem thazt we'll fix in 1.1. The length of a field (COMMAND_OUTPUT) isn't enought in 
database, you can change it to a blob with a sql client like squirrel.

Emmanuel

Mattias Andersson a écrit :
> Hi,
> 
> I got some errors today in the continuum log fil that I do know how to
> solve? The appeared when I pressed the build button for a project. It's a
> shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
> known or should I add new isues? And are there any workarounds? (the
> complete stack trace is not included below to keep the mail smaller. They
> are available if needed)
> 
> Regards,
>        Mattias
> 
> ERROR 1:
> ===========================================================================
> cvs update: move away
> scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in the
> way
> 
> 31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm  -
> Provider message: The cvs command failed.
> 31802391 [Thread-2] ERROR
> org.apache.maven.continuum.buildcontroller.BuildController  - Error while
> building project.
> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
> SCMRESULT
> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
> VALUES (?,?,?,?,?,?,?)
> 	at
> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
> 	at
> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
> 	at
> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
> 	at
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
> 	at
> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
> 	at
> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
> 	at
> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
> 	at
> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
> ...
> ...
> 
> ERROR 2:
> ===========================================================================
> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to length
> 1024.
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
> 	at
> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
> Source)
> 	at
> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
> Source)
> 	at
> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
> Source)
> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> Source)
> ...
> ...
> 
> ERROR 3:
> ===========================================================================
> javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
> SCMRESULT
> (SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
> VALUES (?,?,?,?,?,?,?)
> 	at
> org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
> 	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
> 	at
> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
> 	at
> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
> 	at
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
> 	at
> org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
> 	at
> org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
> 	at
> org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
> 	at
> org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
> 	at
> org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
> 	at
> org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
> ...
> ...
> 
> ERROR 4:
> ===========================================================================
> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
> 'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to length
> 1024.
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> 	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
> 	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
> 	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
> 	at
> org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
> Source)
> 	at
> org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
> Source)
> 	at
> org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
> Source)
> 	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> Source)
> 	at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
> Source)
> ...
> ...
> ERROR 5:
> ===========================================================================
> 31802563 [Thread-2] ERROR
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project  -
> Error while executing task.
> java.lang.NullPointerException
> 	at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
> 	at
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
> 	at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> 	at java.lang.Thread.run(Thread.java:534)
> 
> 
> 
> 
> 


[Continumm 1.0.3] Alot of errors in the continumm log file..

Posted by Mattias Andersson <ma...@caleotech.com>.
Hi,

I got some errors today in the continuum log fil that I do know how to
solve? The appeared when I pressed the build button for a project. It's a
shell project, SCM is CVS and I use continumm 1.0.3. Are these errors
known or should I add new isues? And are there any workarounds? (the
complete stack trace is not included below to keep the mail smaller. They
are available if needed)

Regards,
       Mattias

ERROR 1:
===========================================================================
cvs update: move away
scripts/Database/mssql/Views/dbo.DB_SubRatParamHistory_1.VIW; it is in the
way

31802313 [Thread-2] WARN  org.apache.maven.continuum.scm.ContinuumScm  -
Provider message: The cvs command failed.
31802391 [Thread-2] ERROR
org.apache.maven.continuum.buildcontroller.BuildController  - Error while
building project.
javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
SCMRESULT
(SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
VALUES (?,?,?,?,?,?,?)
	at
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
	at
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
	at
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
	at
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
	at
org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
	at
org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
	at
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
	at
org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
...
...

ERROR 2:
===========================================================================
ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to length
1024.
	at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
	at
org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
Source)
	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
...
...

ERROR 3:
===========================================================================
javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
SCMRESULT
(SCMRESULT_ID,SUCCESS,COMMAND_OUTPUT,"EXCEPTION",COMMAND_LINE,PROVIDER_MESSAGE,MODEL_ENCODING)
VALUES (?,?,?,?,?,?,?)
	at
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:387)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2146)
	at org.jpox.store.StoreManager.insert(StoreManager.java:739)
	at
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3415)
	at
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3388)
	at
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1146)
	at
org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1187)
	at
org.jpox.store.mapping.PersistenceCapableMapping.setObject(PersistenceCapableMapping.java:409)
	at
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:132)
	at
org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2627)
	at
org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
	at
org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
...
...

ERROR 4:
===========================================================================
ERROR 22001: A truncation error was encountered trying to shrink VARCHAR
'cvs update: move away scripts/Database/factorydata/CUSTOMER_&' to length
1024.
	at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
	at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
	at
org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown
Source)
	at
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
Source)
	at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
	at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
...
...
ERROR 5:
===========================================================================
31802563 [Thread-2] ERROR
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project  -
Error while executing task.
java.lang.NullPointerException
	at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:342)
	at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
	at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
	at java.lang.Thread.run(Thread.java:534)



Re: Why does Continuum build the projects even there is no change

Posted by Emmanuel Venisse <em...@venisse.net>.
if you use cvs, you must put in cvsignore all files/directories that are generated by the build (and 
remove them from your scm if they are in.
Check the changes list and you'll know which files/directories must be ignored.

Emmanuel

L. J. a écrit :
> We have 20+ projects that are scheduled to be built every 3 hours daily.
> Some of them are built even there is no changes. Some of them do not get
> built while no changes. Does anyone know why this is happening? I read
> earlier email about putting target directory in the cvsignore file, but 
> this
> does not seem to help. Also, for those projects that do not get built while
> there is no changes, I see either they do not have cvsignore file or the
> cvsignore file only contains "bin" directory.
> 
> Thanks.
> 
> LJ
>