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 (1). The statement has been rolled back.]

grokbase.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] Created: (CONTINUUM-1135) Deleting subproject from multiproject can corrupt database - Grokbase

    grokbase.com | 8 months ago
    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 (1). The statement has been rolled back.]
  2. 0

    can't delete project from continuum, foreign key violation - Grokbase

    grokbase.com | 8 months ago
    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.]

    Root Cause Analysis

    1. 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 (1). The statement has been rolled back.]

      at ognl.OgnlRuntime.callAppropriateMethod()
    2. OGNL - Object Graph Navigation Library
      Ognl.getValue
      1. ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
      2. ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
      3. ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
      4. ognl.ASTMethod.getValueBody(ASTMethod.java:75)
      5. ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
      6. ognl.SimpleNode.getValue(SimpleNode.java:210)
      7. ognl.Ognl.getValue(Ognl.java:333)
      8. ognl.Ognl.getValue(Ognl.java:378)
      9. ognl.Ognl.getValue(Ognl.java:357)
      9 frames
    3. org.codehaus.plexus
      Summit.doPost
      1. org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation(DeleteEntity.java:57)
      2. org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.java:47)
      3. org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
      4. org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
      5. org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
      6. org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
      6 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      2 frames
    5. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
      2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
      3 frames
    6. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
      1 frame
    7. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
      1 frame
    8. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:879)
      3. org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
      4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
      5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
      6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
      6 frames
    9. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
      2 frames