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.

  • h4. Summary In Stash 3.10.0, the following error can be seen in the logs. It doesn't seem to be causing any problems but it shouldn't be in the logs. {code}2015-06-09 14:01:02,164 ERROR [AtlassianEvent::thread-1] @6L0J81x841x7951x0 1ul1wka 109.2.250.98 SSH - git-receive-pack '/test/test.git' c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.stash.plugin.remote.event.StashBranchCreatedRemoteEvent@27ee68f3[branchName=master,repositoryProject=TEST,repositorySlug=test,committer=jeff,sourceId=<null>,sourceUrl=<null>]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(com.atlassian.event.remote.RemoteEvent), listener=com.atlassian.event.remote.impl.RemoteEventListener@49754dac}'. java.lang.RuntimeException: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.10.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [sal-core-2.13.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_40] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] ... 1 frame trimmed Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:26) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:67) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] ... 6 common frames omitted Caused by: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.stash.internal.jira.index.impl.IssueChangesetIndexer.produces(IssueChangesetIndexer.scala:51) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.mutable.HashSet.foreach(HashSet.scala:79) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.scala$collection$mutable$SynchronizedSet$$super$foreach(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at scala.collection.mutable.SynchronizedSet$class.foreach(SynchronizedSet.scala:82) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.foreach(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) ~[na:na] at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:19) ~[na:na] at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:182) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:26) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:67) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) ~[guava-11.0.2-atlassian-02.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:202) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.internal.event.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:75) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:90) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.plugin.remote.event.listener.StashRepositoryRefsChangedEventProducer.handleRepositoryRefsChanged(StashRepositoryRefsChangedEventProducer.java:63) ~[na:na] ... 7 common frames omitted Caused by: java.lang.ClassNotFoundException: scala.collection.JavaConverters$ not found by com.atlassian.stash.dev-summary-plugin [74] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) ~[org.apache.felix.framework-3.2.2.jar:na] ... 35 common frames omitted{code} This issue also seems to also cause problems with Application Links in JIRA. The Symptom is that JIRA appears to be slow to update information in the Development Panel ('Dev Panel') with wait times up to 30 minutes for information to be up to date. h4. Workaround Root cause investigation is ongoing but the possible culprit is an improperly starting plugin. This issue has been known to resolve itself with an application restart but if you do encounter this error please provide an application Support Zip to Support at https://support.atlassian.com so that we can investigate further.
    via by Jeff Thomas,
  • h4. Summary In Stash 3.10.0, the following error can be seen in the logs. It doesn't seem to be causing any problems but it shouldn't be in the logs. {code}2015-06-09 14:01:02,164 ERROR [AtlassianEvent::thread-1] @6L0J81x841x7951x0 1ul1wka 109.2.250.98 SSH - git-receive-pack '/test/test.git' c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.stash.plugin.remote.event.StashBranchCreatedRemoteEvent@27ee68f3[branchName=master,repositoryProject=TEST,repositorySlug=test,committer=jeff,sourceId=<null>,sourceUrl=<null>]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(com.atlassian.event.remote.RemoteEvent), listener=com.atlassian.event.remote.impl.RemoteEventListener@49754dac}'. java.lang.RuntimeException: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.10.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [sal-core-2.13.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_40] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] ... 1 frame trimmed Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:26) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:67) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] ... 6 common frames omitted Caused by: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.stash.internal.jira.index.impl.IssueChangesetIndexer.produces(IssueChangesetIndexer.scala:51) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.mutable.HashSet.foreach(HashSet.scala:79) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.scala$collection$mutable$SynchronizedSet$$super$foreach(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at scala.collection.mutable.SynchronizedSet$class.foreach(SynchronizedSet.scala:82) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.foreach(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) ~[na:na] at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:21) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:19) ~[na:na] at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:182) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-2.6.3.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:26) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:67) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) ~[guava-11.0.2-atlassian-02.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:202) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.internal.event.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:75) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:90) ~[stash-platform-3.10.0.jar:na] at com.atlassian.stash.plugin.remote.event.listener.StashRepositoryRefsChangedEventProducer.handleRepositoryRefsChanged(StashRepositoryRefsChangedEventProducer.java:63) ~[na:na] ... 7 common frames omitted Caused by: java.lang.ClassNotFoundException: scala.collection.JavaConverters$ not found by com.atlassian.stash.dev-summary-plugin [74] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) ~[org.apache.felix.framework-3.2.2.jar:na] ... 35 common frames omitted{code} This issue also seems to also cause problems with Application Links in JIRA. The Symptom is that JIRA appears to be slow to update information in the Development Panel ('Dev Panel') with wait times up to 30 minutes for information to be up to date. h4. Workaround Root cause investigation is ongoing but the possible culprit is an improperly starting plugin. This issue has been known to resolve itself with an application restart but if you do encounter this error please provide an application Support Zip to Support at https://support.atlassian.com so that we can investigate further.
    via by Jeff Thomas,
  • The offending code is in {{BranchVersion.compareTo}}. We should probably just throw a more meaningful exception, as without numeric components trying to compare the branches is not a great idea. {noformat} c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.stash.event.pull.PullRequestMergedEvent[source=com.atlassian.stash.internal.pull.PullRequestServiceImpl@2bfc34d3]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.stash.internal.branch.automerge.AutoMergePullRequestProcessor.onPullRequestMerged(com.atlassian.stash.event.pull.PullRequestMergedEvent), listener=com.atlassian.stash.internal.branch.automerge.AutoMergePullRequestProcessor@3d1fc30e}'. java.lang.RuntimeException: index (-1) must not be negative at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.2.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [sal-core-2.12.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] ... 1 frame trimmed Caused by: java.lang.IndexOutOfBoundsException: index (-1) must not be negative at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:301) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:280) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.SingletonImmutableList.get(SingletonImmutableList.java:46) ~[guava-11.0.2-atlassian-01.jar:na] at com.atlassian.stash.internal.branch.model.version.BranchVersion.componentAt(BranchVersion.java:155) ~[na:na] at com.atlassian.stash.internal.branch.model.version.BranchVersion.compareTo(BranchVersion.java:67) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch.compareTo(VersionedBranch.java:84) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch$4.apply(VersionedBranch.java:77) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch$4.apply(VersionedBranch.java:74) ~[na:na] at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:338) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:649) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Lists.newArrayList(Lists.java:138) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Lists.newArrayList(Lists.java:119) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.NaturalOrdering.sortedCopy(NaturalOrdering.java:57) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Ordering.immutableSortedCopy(Ordering.java:534) ~[guava-11.0.2-atlassian-01.jar:na] at com.atlassian.stash.util.Chainable.sort(Chainable.java:102) ~[stash-util-3.2.0.jar:na] at com.atlassian.stash.internal.branch.model.SimpleBranchModel.getMergePath(SimpleBranchModel.java:72) ~[na:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[na:na] at {noformat}
    via by Dariusz Kordonski [Atlassian],
  • Whenever a user deletes an SSH key, we're seeing an error in the logs. The key is deleted, but we see the following exception: {code} 2015-07-13 17:55:43,634 ERROR [AtlassianEvent::thread-1] whughes @5DSGV3x1075x641648x0 1yduy58 10.200.18.31,127.0.0.1 "DELETE /rest/ssh/latest/keys/655 HTTP/1.1" c.a.s.i.a.AbstractAuditEven 2015-07-13 17:55:43,638 ERROR [AtlassianEvent::thread-1] whughes @5DSGV3x1075x641648x0 1yduy58 10.200.18.31,127.0.0.1 "DELETE /rest/ssh/latest/keys/655 HTTP/1.1" c.a.s.i.e.AsyncBatchingInvo java.lang.RuntimeException: null value at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.10.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) ~[sal-core-2.13.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] ... 1 frame trimmed Caused by: java.lang.NullPointerException: null value at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) ~[guava-11.0.2-atlassian-02.jar:na] at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139) ~[guava-11.0.2-atlassian-02.jar:na] at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:178) ~[guava-11.0.2-atlassian-02.jar:na] at com.atlassian.stash.ssh.SshKeyEventConverter.convert(SshKeyEventConverter.java:32) ~[na:na] at com.atlassian.stash.ssh.SshKeyEventConverter.convert(SshKeyEventConverter.java:24) ~[na:na] at com.atlassian.stash.internal.audit.AuditedAnnotatedEventListener.onEvent(AuditedAnnotatedEventListener.java:44) ~[stash-service-impl-3.10.0.jar:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] ... 6 common frames omitted {code}
    via by Wilfred Hughes,
  • h3. Summary No events transitioned to JIRA when user pushed a commit or raised a Pull Request. h3. Steps to Reproduce Not clear. h3. Actual Results The below exception is thrown in the {{atlassian-bitbucket.log}} - {{java.lang.ClassNotFoundException}} {noformat} java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:94) ~[bitbucket-platform-4.2.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) [atlassian-event-3.0.0.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) [sal-core-3.0.5.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] ... 1 frame trimmed Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:23) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:76) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na] ... 6 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.stash.internal.jira.index.impl.IssueCommitIndexer.produces(IssueCommitIndexer.scala:58) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.mutable.HashSet.foreach(HashSet.scala:79) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.scala$collection$mutable$SynchronizedSet$$super$foreach(DefaultRemoteEventProducerRegistrar.scala:13) ~[na:na] at scala.collection.mutable.SynchronizedSet$class.foreach(SynchronizedSet.scala:82) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.foreach(DefaultRemoteEventProducerRegistrar.scala:13) ~[na:na] at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) ~[na:na] at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:179) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:23) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:76) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) [atlassian-event-3.0.0.jar:na] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) ~[guava-18.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:105) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:260) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:102) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:84) ~[bitbucket-platform-4.2.0.jar:na] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) ~[atlassian-plugins-core-4.0.4.jar:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) ~[na:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) ~[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) ~[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) ~[na:na] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) ~[na:na] at com.atlassian.bitbucket.plugin.remote.event.listener.BitbucketRepositoryRefsChangedEventProducer.handleRepositoryRefsChanged(BitbucketRepositoryRefsChangedEventProducer.java:64) ~[na:na] ... 7 common frames omitted Caused by: java.lang.ClassNotFoundException: Unable to load class 'com.atlassian.devstatus.vcs.LimitExceededEvent' because the bundle wiring for com.atlassian.bitbucket.server.bitbucket-jira-development-integration is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1494) ~[org.apache.felix.framework-4.2.1.jar:na] ... 41 common frames omitted {noformat} h3. Notes The class that is the subject of all your {{ClassNotFoundException}}'s - {{com.atlassian.devstatus.vcs.LimitExceededEvent}} - isn't part of Bitbucket core or any bundled plugin and hasn't been for a very long time. It used to be part of a bundled plugin called the {{atlassian-dev-status-plugin}}, but this was removed from Stash 3.1 and replaced with another plugin called the {{atlassian-remote-event-producer-plugin}} that doesn't export any {{LimitExceededEvent}} class. The context of the {{ClassNotFoundException}} seems to indicate it was thrown inside of an event handler, possibly in a plugin, but the stack for this is gone as the exception isn't caught until it gets to {{SingleParameterMethodListenerInvoker}} (which is where in fact the {{LimitExceededEvent}} class loading error is reported). h3.Solution {{atlassian-dev-status}} plugin, Perform a search on your file system of our server and and you should find an old {{atlassian-dev-status-api-2.5.9.jar}} in OSGI cache directory. The problem should be solved by cleaning the cache directory: # Shutdown Bitbucket Server. # Backup and remove the following directories. They will be rebuilt when Stash starts again: #* {{$BITBUCKET_HOME/plugins/.bundled-plugins/}} #* {{$BITBUCKET_HOME/plugins/.osgi-cache/}} # Restart Bitbucket Server.
    via by Roman Kirilenko,
  • Whenever a user deletes an SSH key, we're seeing an error in the logs. The key is deleted, but we see the following exception: {code} 2015-07-13 17:55:43,634 ERROR [AtlassianEvent::thread-1] whughes @5DSGV3x1075x641648x0 1yduy58 10.200.18.31,127.0.0.1 "DELETE /rest/ssh/latest/keys/655 HTTP/1.1" c.a.s.i.a.AbstractAuditEven 2015-07-13 17:55:43,638 ERROR [AtlassianEvent::thread-1] whughes @5DSGV3x1075x641648x0 1yduy58 10.200.18.31,127.0.0.1 "DELETE /rest/ssh/latest/keys/655 HTTP/1.1" c.a.s.i.e.AsyncBatchingInvo java.lang.RuntimeException: null value at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.10.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) ~[sal-core-2.13.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] ... 1 frame trimmed Caused by: java.lang.NullPointerException: null value at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) ~[guava-11.0.2-atlassian-02.jar:na] at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139) ~[guava-11.0.2-atlassian-02.jar:na] at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:178) ~[guava-11.0.2-atlassian-02.jar:na] at com.atlassian.stash.ssh.SshKeyEventConverter.convert(SshKeyEventConverter.java:32) ~[na:na] at com.atlassian.stash.ssh.SshKeyEventConverter.convert(SshKeyEventConverter.java:24) ~[na:na] at com.atlassian.stash.internal.audit.AuditedAnnotatedEventListener.onEvent(AuditedAnnotatedEventListener.java:44) ~[stash-service-impl-3.10.0.jar:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na] ... 6 common frames omitted {code}
    via by Wilfred Hughes,
  • h3. Summary No events transitioned to JIRA when user pushed a commit or raised a Pull Request. h3. Steps to Reproduce Not clear. h3. Actual Results The below exception is thrown in the {{atlassian-bitbucket.log}} - {{java.lang.ClassNotFoundException}} {noformat} java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:94) ~[bitbucket-platform-4.2.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) [atlassian-event-3.0.0.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) [sal-core-3.0.5.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] ... 1 frame trimmed Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:23) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:76) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na] ... 6 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/atlassian/devstatus/vcs/LimitExceededEvent at com.atlassian.stash.internal.jira.index.impl.IssueCommitIndexer.produces(IssueCommitIndexer.scala:58) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2$$anonfun$create$1.apply(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[na:na] at scala.collection.mutable.HashSet.foreach(HashSet.scala:79) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.scala$collection$mutable$SynchronizedSet$$super$foreach(DefaultRemoteEventProducerRegistrar.scala:13) ~[na:na] at scala.collection.mutable.SynchronizedSet$class.foreach(SynchronizedSet.scala:82) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$1.foreach(DefaultRemoteEventProducerRegistrar.scala:13) ~[na:na] at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) ~[na:na] at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:18) ~[na:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar$$anon$2.create(DefaultRemoteEventProducerRegistrar.scala:16) ~[na:na] at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:179) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) ~[atlassian-util-concurrent-3.0.0.jar:na] at com.atlassian.event.remote.impl.DefaultRemoteEventProducerRegistrar.isRegistered(DefaultRemoteEventProducerRegistrar.scala:23) ~[na:na] at com.atlassian.event.remote.impl.RemoteEventListener.onRemoteEvent(RemoteEventListener.scala:76) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) [atlassian-event-3.0.0.jar:na] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) ~[guava-18.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:105) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:260) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:102) ~[atlassian-event-3.0.0.jar:na] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:84) ~[bitbucket-platform-4.2.0.jar:na] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) ~[atlassian-plugins-core-4.0.4.jar:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) ~[na:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) ~[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) ~[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) ~[na:na] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) ~[na:na] at com.atlassian.bitbucket.plugin.remote.event.listener.BitbucketRepositoryRefsChangedEventProducer.handleRepositoryRefsChanged(BitbucketRepositoryRefsChangedEventProducer.java:64) ~[na:na] ... 7 common frames omitted Caused by: java.lang.ClassNotFoundException: Unable to load class 'com.atlassian.devstatus.vcs.LimitExceededEvent' because the bundle wiring for com.atlassian.bitbucket.server.bitbucket-jira-development-integration is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1494) ~[org.apache.felix.framework-4.2.1.jar:na] ... 41 common frames omitted {noformat} h3. Notes The class that is the subject of all your {{ClassNotFoundException}}'s - {{com.atlassian.devstatus.vcs.LimitExceededEvent}} - isn't part of Bitbucket core or any bundled plugin and hasn't been for a very long time. It used to be part of a bundled plugin called the {{atlassian-dev-status-plugin}}, but this was removed from Stash 3.1 and replaced with another plugin called the {{atlassian-remote-event-producer-plugin}} that doesn't export any {{LimitExceededEvent}} class. The context of the {{ClassNotFoundException}} seems to indicate it was thrown inside of an event handler, possibly in a plugin, but the stack for this is gone as the exception isn't caught until it gets to {{SingleParameterMethodListenerInvoker}} (which is where in fact the {{LimitExceededEvent}} class loading error is reported). h3.Solution {{atlassian-dev-status}} plugin, Perform a search on your file system of our server and and you should find an old {{atlassian-dev-status-api-2.5.9.jar}} in OSGI cache directory. The problem should be solved by cleaning the cache directory: # Shutdown Bitbucket Server. # Backup and remove the following directories. They will be rebuilt when Stash starts again: #* {{$BITBUCKET_HOME/plugins/.bundled-plugins/}} #* {{$BITBUCKET_HOME/plugins/.osgi-cache/}} # Restart Bitbucket Server.
    via by Roman Kirilenko,
  • The offending code is in {{BranchVersion.compareTo}}. We should probably just throw a more meaningful exception, as without numeric components trying to compare the branches is not a great idea. {noformat} c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.stash.event.pull.PullRequestMergedEvent[source=com.atlassian.stash.internal.pull.PullRequestServiceImpl@2bfc34d3]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.stash.internal.branch.automerge.AutoMergePullRequestProcessor.onPullRequestMerged(com.atlassian.stash.event.pull.PullRequestMergedEvent), listener=com.atlassian.stash.internal.branch.automerge.AutoMergePullRequestProcessor@3d1fc30e}'. java.lang.RuntimeException: index (-1) must not be negative at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[stash-platform-3.2.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [sal-core-2.12.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] ... 1 frame trimmed Caused by: java.lang.IndexOutOfBoundsException: index (-1) must not be negative at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:301) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:280) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.SingletonImmutableList.get(SingletonImmutableList.java:46) ~[guava-11.0.2-atlassian-01.jar:na] at com.atlassian.stash.internal.branch.model.version.BranchVersion.componentAt(BranchVersion.java:155) ~[na:na] at com.atlassian.stash.internal.branch.model.version.BranchVersion.compareTo(BranchVersion.java:67) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch.compareTo(VersionedBranch.java:84) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch$4.apply(VersionedBranch.java:77) ~[na:na] at com.atlassian.stash.internal.branch.model.version.VersionedBranch$4.apply(VersionedBranch.java:74) ~[na:na] at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:338) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:649) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Lists.newArrayList(Lists.java:138) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Lists.newArrayList(Lists.java:119) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.NaturalOrdering.sortedCopy(NaturalOrdering.java:57) ~[guava-11.0.2-atlassian-01.jar:na] at com.google.common.collect.Ordering.immutableSortedCopy(Ordering.java:534) ~[guava-11.0.2-atlassian-01.jar:na] at com.atlassian.stash.util.Chainable.sort(Chainable.java:102) ~[stash-util-3.2.0.jar:na] at com.atlassian.stash.internal.branch.model.SimpleBranchModel.getMergePath(SimpleBranchModel.java:72) ~[na:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[na:na] at {noformat}
    via by Dariusz Kordonski,
    • java.lang.RuntimeException: java.lang.NoClassDefFoundError: scala/collection/JavaConverters$ at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)[atlassian-event-2.3.5.jar:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100)[stash-platform-3.10.0.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)[atlassian-event-2.3.5.jar:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38)[sal-core-2.13.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_40] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]
    No Bugmate found.