Anyone seen Confluence UndeclaredThrowableException on Task Re-open?

Mark Symons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2015

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

0 votes
Christian Schlaefcke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2015

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
TAGS
AUG Leaders

Atlassian Community Events