maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brigitte.Ilsan...@gi-de.com
Subject can't delete project from continuum, foreign key violation
Date Thu, 26 Oct 2006 11:03:39 GMT


I need help with deleting a project from continuum 1.0.3. There are a few
projects left. I had more and deleted all the experimental ones. But two of
them remain toughly with that exception:

ognl.MethodFailedException: Method "removeProject" failed for object
org.apache.maven.continuum.DefaultContinuum@1e8614a
[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 (59).  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.java:47)
      at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
      at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.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:615)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
      at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.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(WebApplicationContext.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(AbstractPersistenceManager.java:1438)
      at
org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContainerStore.java:595)
      at
org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.java:304)

      ...




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message