Details
-
Bug
-
Resolution: Done
-
Low
-
3.10.0
-
None
Description
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.
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
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.
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.