Uploaded image for project: 'Contrib: Textbook'
  1. Contrib: Textbook
  2. TXB-206

Whenever a modification is made to a site with TextBook tool placed, TextbookContext throws an NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9_RC03
    • Fix Version/s: None
    • Component/s: Textbook
    • Labels:
      None

      Description

      This error has been around for awhile (First noticed 12/08). Basically, if your site has the TextBook tool on it, and you make any modifications to the tool set (add or remove a new tool) tbook throws an NPE. There's usually at least 10 stack traces a day in the logs with this. It doesn't seem cause any problems, but is a top bug in ctools.
      (Issue in latest tag: https://source.sakaiproject.org/contrib/textbook/tbook/tags/tbook-0.9.2RC03)

      May 18 05:45:08 10.211.253.110 [TP-Processor42] WARN org.sakaiproject.site.impl.BaseSiteService - Error encountered while notifying ContextObserver of Site Change
      May 18 05:45:08 10.211.253.110 java.lang.NullPointerException
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.tbook.context.TextbookContext.contextUpdated(TextbookContext.java:157)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.impl.BaseSiteService.enableRelated(BaseSiteService.java:1875)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.impl.BaseSiteService.doSave(BaseSiteService.java:890)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.impl.BaseSiteService.save(BaseSiteService.java:807)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.cover.SiteService.save(SiteService.java:165)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.tool.SiteAction.commitSite(SiteAction.java:8901)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.tool.SiteAction.saveFeatures(SiteAction.java:8604)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.tool.SiteAction.doFinish(SiteAction.java:4916)
      May 18 05:45:08 10.211.253.110 at org.sakaiproject.site.tool.SiteAction.doAdd_site_option(SiteAction.java:10244)

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                jonespm Matthew Jones
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated: