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

NullPointerException not managed locks resources from being deleted

    XMLWordPrintable

    Details

    • 10 status:
      Resolved
    • Previous Issue Keys:
      KNL-1194

      Description

      We have found several files in Resources tool that can not be deleted at any time.

      Tracking the issue, it seems that a NullPointerException is thrown when Kernel tries to store these resources in the deleted resources table.

      NPE is not managed and deletion process is aborted, so these resources are permanently locked.

      We have solved it with a simple catch block, though maybe Kernel experts would like to look deeper in the problem. Anyway, I attach our little patch.

      Unfortunately, I can not replicate the steps to detect the issue. If you need more info, please ask it to me.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  buckett Matthew Buckett
                  Reporter:
                  daniel.merino Daniel Merino Echeverría
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code