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

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

            [CONFSERVER-38666] Adding New Task To Tasklist Throws NullpointerException

            No need to provide us any more information - I've reproduced the issue, and found the root cause (uninitialised values in deprecated code paths). I'm working on resolving this now, targeting release in a bugfix version soon.

            Richard Atkins added a comment - No need to provide us any more information - I've reproduced the issue, and found the root cause (uninitialised values in deprecated code paths). I'm working on resolving this now, targeting release in a bugfix version soon.

            evolver added a comment -

            Hi there,

            we experience this issue too. We run Confluence 5.8.6 and are not able to add, remove or edit an entry.
            If you want, we can provide our logs, however the stack trace seems to be similar.

            Greetings,
            Marco Dickert
            evolver services GmbH

            evolver added a comment - Hi there, we experience this issue too. We run Confluence 5.8.6 and are not able to add, remove or edit an entry. If you want, we can provide our logs, however the stack trace seems to be similar. Greetings, Marco Dickert evolver services GmbH

              richatkins Richard Atkins
              jalbion Janet Albion (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: