Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-38666

Adding New Task To Tasklist Throws NullpointerException

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. create a tasklist in using Markup: Edit > Insert > Markup > use {tasklist:foobar}
      2. save the page
      3. add new task using the Task List

      Expected resulted:

      New task will be shown as per screenshot

      Actual result:

      Task is not added even after clicking on the Add button. Refer to screenshot

      In the Confluence logs throws:

      2015-08-01 21:30:43,474 ERROR [http-nio-8585-exec-5] [[Standalone].[localhost].[/conf8585].[servlet-module-container-servlet]] log Servlet.service() for servlet [servlet-module-container-servlet] in context with path [/conf8585] threw exception
      java.lang.NullPointerException
      	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
      	at com.atlassian.confluence.event.events.content.page.PageUpdateEvent.<init>(PageUpdateEvent.java:59)
      	at com.atlassian.confluence.pages.DefaultPageManager.publishUpdateEvent(DefaultPageManager.java:1237)
      	at com.atlassian.confluence.core.DefaultContentEntityManager.saveContentEntity(DefaultContentEntityManager.java:138)
      	at com.atlassian.confluence.pages.DefaultPageManager.saveContentEntity(DefaultPageManager.java:1154)
      	...
      

      Notes:

      • this is not reproducible in Confluence 5.7.5
      • this is tested and reproducible in Confluence 5.8.5

      Attachments

        1. 575-working.png
          575-working.png
          134 kB
        2. v585-broken.png
          v585-broken.png
          115 kB

        Issue Links

          Activity

            People

              richatkins Richard Atkins
              jalbion Janet Albion (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: