Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.6
    • Component/s: None
    • Labels:
      None
    • Environment:

      Stash 3.5

      Description

      Known Error

      This is a known error, currently without fix.
      As a workaround: restarting Stash will resolve the error

      On push, the following exception is logged on the server:

      2015-01-09 23:45:00,143 ERROR [AtlassianEvent::thread-1] sank @138D1FOx1424x780529x0 1ab5u84 10.77.2.74 SSH - git-receive-pack '/h4j/structure.git' c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.stash.event.RepositoryPushEvent[source=com.atlassian.stash.internal.hook.PushPostReceiveHook@6517e9d5]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void nl.stefankohler.stash.notifyr.listener.RepositoryPushListener.onRepositoryPush(com.atlassian.stash.event.RepositoryPushEvent), listener=nl.stefankohler.stash.notifyr.listener.RepositoryPushListener@53b9d2a7}'.
      java.lang.RuntimeException: nl.stefankohler.stash.notifyr.listener.RepositoryPushNotificationRequest cannot be cast to nl.stefankohler.stash.notifyr.listener.RepositoryPushNotificationRequest
      	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[SingleParameterMethodListenerInvoker.class:na]
      	at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[AsyncBatchingInvokersTransformer$AsyncInvokerBatch.class:na]
      	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [AsynchronousAbleEventDispatcher$1$1.class:na]
      	at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [ThreadLocalDelegateRunnable.class:na]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
      	... 1 frame trimmed
      Caused by: java.lang.ClassCastException: nl.stefankohler.stash.notifyr.listener.RepositoryPushNotificationRequest cannot be cast to nl.stefankohler.stash.notifyr.listener.RepositoryPushNotificationRequest
      	at nl.stefankohler.stash.notifyr.listener.RepositoryPushNotificationProcessor$1.apply(RepositoryPushNotificationProcessor.java:61) ~[na:na]
      	at com.atlassian.stash.internal.concurrent.HazelcastBucketedExecutor.schedule(HazelcastBucketedExecutor.java:60) ~[HazelcastBucketedExecutor.class:na]
      	at com.atlassian.stash.internal.concurrent.DelegatingInternalBucketedExecutor.schedule(DelegatingInternalBucketedExecutor.java:24) ~[DelegatingInternalBucketedExecutor.class:na]
      	at nl.stefankohler.stash.notifyr.listener.RepositoryPushListener.onRepositoryPush(RepositoryPushListener.java:44) ~[na:na]
      	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[SingleParameterMethodListenerInvoker.class:na]
      	... 6 common frames omitted
      
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                stefan Stefan Kohler
                Reporter:
                sereda Igor Sereda [ALM Works]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: