Anyone seen Confluence UndeclaredThrowableException on Task Re-open?

Has anyone noticed logged UndeclaredThrowableException in Confluence that occur when a task that contains an @mention is re-opened?  There is no error in the UI.  I've seen these exceptions with Confluence v5.7.4 and v5.8.6.  If it's not just me then I'll log it on JAC: it just seems strange that there is nothing already logged.

2015-09-24 12:35:34,300 ERROR [http-bio-8090-exec-407] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [ConfluenceTaskUpdateEvent{user=com.atlassian.confluence.user.ConfluenceUserImpl@2a541eb3[alice,ff80808141044f6c0141044fdfda000a], task=Task [globalId=0, id=3, contentId=22938087, taskStatus=UNCHECKED, title=blah blah blah. Alice http://foo.bar.com/display/~alice, description=, body=<span>blah blah blah. <ac:link><ri:user ri:userkey="ff80808141044f6c0141044fdfda000a" /></ac:link> <br /></span>, creator=null, assignee=alice, createDate=null, dueDate=null, updateDate=null, completeUser=null, completeDate=null]}] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.mywork.providers.confluence.ConfluenceTasksEventListener.onTaskUpdatedEvent(com.atlassian.confluence.plugins.tasklist.event.ConfluenceTaskUpdateEvent) throws java.lang.Exception, listener=com.atlassian.mywork.providers.confluence.ConfluenceTasksEventListener@685c6c4d}]
 -- referer: http://foo.bar.com/plugins/inlinetasks/mytasks.action | url: /rest/inlinetasks/1/task/22938087/3/ | userName: alice
java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
    at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50)
    at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)
...
Caused by: java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy1183.markIncomplete(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.NullPointerException
    at com.atlassian.mywork.model.TaskBuilder.<init>(TaskBuilder.java:42)
    at com.atlassian.mywork.host.service.LocalTaskServiceImpl$2.apply(LocalTaskServiceImpl.java:112)
    at com.atlassian.mywork.host.service.LocalTaskServiceImpl$2.apply(LocalTaskServiceImpl.java:108)

 

 

1 answer

Yes - I have found this too when running the log scanner on Confluence 5.7.3

I will also leave a comment on CONF-31800.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

309 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you