Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-12066

Deleting a matrix throws stack trace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.5.0
    • Component/s: OSP: Wizards - Matrix
    • Labels:
      None
    • Environment:
      Linux, HSQL

      Description

      When I deleted a matrix (status preview) I got the following error:

      ERROR: Servlet.service() for servlet springapp threw exception (2007-10-29 11:31:26,603 http-8080-Processor22_org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/osp-matrix-tool].[springapp])
      org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): org.theospi.portfolio.matrix.model.Cell#351F6EB5EAC2657E2BAFB09367AFE072
      at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1014)
      at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:165)
      at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94)
      at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
      .
      .
      .
      at org.theospi.portfolio.matrix.control.DeleteScaffoldingConfirmationController.handleRequest(DeleteScaffoldingConfirmationController.java:102)
      .
      .
      .

      (complete traceback moved to crash-dump.txt for readability)

        Gliffy Diagrams

          Zeplin

            Attachments

            1. crash-dump.txt
              26 kB
            2. matrix test.zip
              10 kB
            3. matrix-test-plan.doc
              107 kB
            4. matrix-test-plan-revised.doc
              119 kB
            5. notes_delete-matrix-nightly2-hsql.txt
              22 kB

              Activity

                People

                • Assignee:
                  bkirschn Beth Kirschner
                  Reporter:
                  mbreuker Mark Breuker
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration