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

NPE during a site import but the tool can't be retrieved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0, 20.0
    • Fix Version/s: 19.1, 20.0
    • Component/s: Site Info
    • Labels:
      None
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

       If a tool can't be retrieved during site import then log a warning message that the page is being skipped. This could happen if a tool was removed but was not cleaned up and there are pages that still refer to it.

      Caused by: java.lang.NullPointerException
                      at org.sakaiproject.sitemanage.impl.SiteManageServiceImpl.importToolContent(SiteManageServiceImpl.java:180)
                      at org.sakaiproject.site.tool.SiteAction.doFinish(SiteAction.java:7065)
                      at org.sakaiproject.site.tool.SiteAction.doNewSiteDelegateConfirm(SiteAction.java:15085)
      

       

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    ern Earle R Nietzel
                    Reporter:
                    ern Earle R Nietzel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration