java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *Symptoms* * Tasks do not appear or are missing from the list of tasks in Task Reports Macro * Users are not notified of tasks, nor do they show up in their My Tasks panel. *Cause* * Tasks using Anchor Links (for example: https://example.com#anchor) will throw an error in the log and will not appear in the related pages. {noformat}2014-06-30 23:08:56.199401500 2014-06-30 23:08:56,193 ERROR [TP-Processor5] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageUpdateEvent@17eeb68[originalPage=page: Test Tasks v.1 (1212419),updateTrigger=UNKNOWN,page=page: Test Tasks v.2 (1212418),suppressNotifications=false,timestamp=1404133736169]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.plugins.tasklist.listener.InlineTasksContentEventListener.pageUpdated(com.atlassian.confluence.event.events.content.page.PageUpdateEvent), listener=com.atlassian.confluence.plugins.tasklist.listener.InlineTasksContentEventListener@7510b9}] 2014-06-30 23:08:56.199413500 -- url: /wiki/pages/doeditpage.action | page: 1212418 | userName: sysadmin | referer: https://subcon.atlassian.net/wiki/pages/editpage.action?pageId=1212418 | action: doeditpage 2014-06-30 23:08:56.199414500 java.lang.RuntimeException: com.ctc.wstx.evt.WEndElement cannot be cast to javax.xml.stream.events.StartElement 2014-06-30 23:08:56.199418500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) 2014-06-30 23:08:56.199418500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) 2014-06-30 23:08:56.199419500 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) 2014-06-30 23:08:56.199421500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) 2014-06-30 23:08:56.199421500 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) 2014-06-30 23:08:56.199422500 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) 2014-06-30 23:08:56.199423500 at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36) 2014-06-30 23:08:56.199424500 at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:48) 2014-06-30 23:08:56.199424500 at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source) 2014-06-30 23:08:56.199425500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2014-06-30 23:08:56.199426500 at java.lang.reflect.Method.invoke(Method.java:597) eetc. 2014-06-30 23:08:56.199805500 Caused by: java.lang.ClassCastException: com.ctc.wstx.evt.WEndElement cannot be cast to javax.xml.stream.events.StartElement 2014-06-30 23:08:56.199806500 at com.ctc.wstx.evt.WEvent.asStartElement(WEvent.java:63) 2014-06-30 23:08:56.199807500 at com.atlassian.confluence.plugins.tasklist.transformer.InlineTaskUserExtractor.extractUsersForInlineTask(InlineTaskUserExtractor.java:58) 2014-06-30 23:08:56.199809500 at com.atlassian.confluence.plugins.tasklist.transformer.InlineTaskFinderImpl.parseTask(InlineTaskFinderImpl.java:162) 2014-06-30 23:08:56.199810500 at com.atlassian.confluence.plugins.tasklist.transformer.InlineTaskFinderImpl.findTasks(InlineTaskFinderImpl.java:130) 2014-06-30 23:08:56.199811500 at com.atlassian.confluence.plugins.tasklist.transformer.InlineTaskFinderImpl.findTasks(InlineTaskFinderImpl.java:81) 2014-06-30 23:08:56.199816500 at com.atlassian.confluence.plugins.tasklist.listener.InlineTasksContentEventListener.processContent(InlineTasksContentEventListener.java:85) 2014-06-30 23:08:56.199817500 at com.atlassian.confluence.plugins.tasklist.listener.InlineTasksContentEventListener.pageUpdated(InlineTasksContentEventListener.java:233) 2014-06-30 23:08:56.199818500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-30 23:08:56.199820500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) {noformat} *Workaround* Remove anchor links from task.
    via by Shannon Mackie [Atlassian],
    • java.lang.RuntimeException: com.ctc.wstx.evt.WEndElement cannot be cast to javax.xml.stream.events.StartElement 2014-06-30 23:08:56.199418500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) 2014-06-30 23:08:56.199418500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) 2014-06-30 23:08:56.199419500 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) 2014-06-30 23:08:56.199421500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) 2014-06-30 23:08:56.199421500 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) 2014-06-30 23:08:56.199422500 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) 2014-06-30 23:08:56.199423500 at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36) at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:48) at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
    No Bugmate found.