java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType;

Atlassian JIRA | Daniel Leng | 9 months ago
  1. 0

    h3. Summary The activity stream no longer shows Bitbucket Cloud data. h3. Environment * Tested on JIRA 7.1.1, 7.1.2 * Does not happen in JIRA 6.4.12 h3. Steps to Reproduce # Install JIRA 7.1.2, connect any BitBucket Cloud account that has repositories using the DVCS Connector add-on in JIRA. # Create a project and issue in JIRA. # Test a commit on one of the connected repositories. Ensure the commit has the issue key of issue from step #2. # Check in the issue's Development Panel that the commit already shows up. !CommitDVCSConnector.png|thumbnail! # Go to either the Activity Stream gadget on a dashboard or to the project's activity stream. h3. Expected Results # You should be able to see the latest commit you made similar to the following: !ActivityStreamJIRA6.png|thumbnail! Screenshot is from JIRA 6.4.12 where its working. h3. Actual Results No commit information is shown in the Activity Stream. !ActivityStreamJIRA7.png|thumbnail! Enabling DEBUG for the following class: {code} com.atlassian.streams.internal.StreamsCompletionService {code} We can see the following long stacktrace being thrown in the logs: {noformat} 2016-03-18 17:52:15,590 http-nio-8085-exec-17 DEBUG admin 1072x2883x1 ew82u 0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Handling a non-timeout exception java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType; at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.atlassian.streams.internal.StreamsCompletionService$Execution$CancellingCompletionService$1.get(StreamsCompletionService.java:355) at com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:466) at com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:453) at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125) at com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:498) at com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:495) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43) at com.atlassian.streams.internal.StreamsCompletionService.registerFailures(StreamsCompletionService.java:152) at com.atlassian.streams.internal.StreamsCompletionService.execute(StreamsCompletionService.java:145) ... Caused by: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType; at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.toStreamsEntry(DvcsStreamsActivityProvider.java:194) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.transformEntries(DvcsStreamsActivityProvider.java:129) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.access$400(DvcsStreamsActivityProvider.java:69) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:313) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:292) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:205) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:186) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) ... 2016-03-18 17:52:15,613 http-nio-8085-exec-17 WARN admin 1072x2883x1 ew82u 0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Registering failure for stream provider Bitbucket Connector due to error other {noformat} h3.Workaround None.

    Atlassian JIRA | 9 months ago | Daniel Leng [Atlassian]
    java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType;
  2. 0

    h3. Summary The activity stream no longer shows Bitbucket Cloud data. h3. Environment * Tested on JIRA 7.1.1, 7.1.2 * Does not happen in JIRA 6.4.12 h3. Steps to Reproduce # Install JIRA 7.1.2, connect any BitBucket Cloud account that has repositories using the DVCS Connector add-on in JIRA. # Create a project and issue in JIRA. # Test a commit on one of the connected repositories. Ensure the commit has the issue key of issue from step #2. # Check in the issue's Development Panel that the commit already shows up. !CommitDVCSConnector.png|thumbnail! # Go to either the Activity Stream gadget on a dashboard or to the project's activity stream. h3. Expected Results # You should be able to see the latest commit you made similar to the following: !ActivityStreamJIRA6.png|thumbnail! Screenshot is from JIRA 6.4.12 where its working. h3. Actual Results No commit information is shown in the Activity Stream. !ActivityStreamJIRA7.png|thumbnail! Enabling DEBUG for the following class: {code} com.atlassian.streams.internal.StreamsCompletionService {code} We can see the following long stacktrace being thrown in the logs: {noformat} 2016-03-18 17:52:15,590 http-nio-8085-exec-17 DEBUG admin 1072x2883x1 ew82u 0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Handling a non-timeout exception java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType; at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.atlassian.streams.internal.StreamsCompletionService$Execution$CancellingCompletionService$1.get(StreamsCompletionService.java:355) at com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:466) at com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:453) at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125) at com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:498) at com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:495) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43) at com.atlassian.streams.internal.StreamsCompletionService.registerFailures(StreamsCompletionService.java:152) at com.atlassian.streams.internal.StreamsCompletionService.execute(StreamsCompletionService.java:145) ... Caused by: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType; at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.toStreamsEntry(DvcsStreamsActivityProvider.java:194) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.transformEntries(DvcsStreamsActivityProvider.java:129) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.access$400(DvcsStreamsActivityProvider.java:69) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:313) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:292) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:205) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:186) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) ... 2016-03-18 17:52:15,613 http-nio-8085-exec-17 WARN admin 1072x2883x1 ew82u 0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Registering failure for stream provider Bitbucket Connector due to error other {noformat} h3.Workaround None.

    Atlassian JIRA | 9 months ago | Daniel Leng
    java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType;
  3. 0

    TreeStep is running out of memory in Giraph

    GitHub | 2 years ago | okram
    java.lang.IllegalStateException: run: Caught an unrecoverable exception waitFor: ExecutionException occurred while waiting for org.apache.giraph.utils.ProgressableUtils$FutureWaitable@41a4555e
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Uncaught UnknownHostException in host lookup

    GitHub | 12 months ago | karlgoldstein
    java.util.concurrent.ExecutionException: java.net.UnknownHostException: a9c6d0d6a85e: a9c6d0d6a85e: unknown error
  6. 0

    We have a CLI action post-function in a JIRA workflow which runs --action copySpace in Confluence. After the upgrade to JIRA 7 it throws the following exception in the log. 2016-01-06 13:07:15,924 http-nio-8103-exec-1 ERROR uho 787x5242x1 a7246k 31.16.131.226,127.0.0.1 /secure/CommentAssignIssue.jspa [o.s.j.acli.utilities.CliRunner] Exception running action: Exception: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/swift/common/soap/confluence/ConfluenceSoapServiceServiceLocator. java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/swift/common/soap/confluence/ConfluenceSoapServiceServiceLocator at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at org.swift.jira.acli.utilities.CliRunner.doWork(CliRunner.java:187) at org.swift.jira.acli.utilities.CliRunner.doWork(CliRunner.java:171) at org.swift.jira.acli.utilities.CliRunner.runAction(CliRunner.java:137) at org.swift.jira.acli.utilities.CliRunnerHelper.runCliAction(CliRunnerHelper.java:172) at org.swift.jira.acli.functions.CliFunction.process(CliFunction.java:106) at org.swift.jira.library.AbstractPostFunction.execute(AbstractPostFunction.java:171) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:564) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:825) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:786) at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:430) at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:164) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 17 filtered at com.softwareplant.ganttlib.service.jiraevents.PluginIssueLinkListener.doFilter(PluginIssueLinkListener.java:61) ... 36 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 151 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/swift/common/soap/confluence/ConfluenceSoapServiceServiceLocator at org.swift.confluence.cli.ConfluenceClient.serviceSetup(ConfluenceClient.java:433) at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:403) at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:266) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:303) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.common.cli.CliClient.doWork(CliClient.java:496) at org.swift.jira.acli.utilities.CliRunner$1.run(CliRunner.java:191) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more 2016-01-06 13:07:15,928 http-nio-8103-exec-1 ERROR uho 787x5242x1 a7246k 31.16.131.226,127.0.0.1 /secure/CommentAssignIssue.jspa [o.s.j.acli.utilities.CliRunnerHelper] Request failed due to an unexpected exception: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/swift/common/soap/confluence/ConfluenceSoapServiceServiceLocator

    JIRA | 11 months ago | Ulrich Hobelmann [catWorkX]
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/swift/common/soap/confluence/ConfluenceSoapServiceServiceLocator

  1. rp 6 times, last 3 months ago
  2. qavid 1 times, last 4 months ago
  3. Mark 6 times, last 5 months ago
  4. tfr 3 times, last 4 months ago
  5. rp 4 times, last 4 months ago
2 more registered users
52 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.concurrent.ExecutionException

    java.lang.NoSuchMethodError: com.atlassian.streams.api.ActivityObjectTypes.status()Lcom/atlassian/streams/api/ActivityObjectType;

    at java.util.concurrent.FutureTask.report()
  2. Java RT
    FutureTask.get
    1. java.util.concurrent.FutureTask.report(FutureTask.java:122)
    2. java.util.concurrent.FutureTask.get(FutureTask.java:206)
    2 frames
  3. com.atlassian.streams
    StreamsCompletionService$Completer$CompletionFunction$1.get
    1. com.atlassian.streams.internal.StreamsCompletionService$Execution$CancellingCompletionService$1.get(StreamsCompletionService.java:355)
    2. com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:466)
    3. com.atlassian.streams.internal.StreamsCompletionService$Completer$CompletionFunction$1.get(StreamsCompletionService.java:453)
    3 frames
  4. Guava
    Suppliers$MemoizingSupplier.get
    1. com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
    1 frame
  5. com.atlassian.streams
    StreamsCompletionService$Completer$1.apply
    1. com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:498)
    2. com.atlassian.streams.internal.StreamsCompletionService$Completer$1.apply(StreamsCompletionService.java:495)
    2 frames
  6. Guava
    TransformedIterator.hasNext
    1. com.google.common.collect.Iterators$8.transform(Iterators.java:799)
    2. com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    3. com.google.common.collect.Iterators$7.computeNext(Iterators.java:651)
    4. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
    5. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
    6. com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
    6 frames
  7. com.atlassian.streams
    StreamsCompletionService.execute
    1. com.atlassian.streams.internal.StreamsCompletionService.registerFailures(StreamsCompletionService.java:152)
    2. com.atlassian.streams.internal.StreamsCompletionService.execute(StreamsCompletionService.java:145)
    2 frames