java.lang.RuntimeException

Compared versions should be created off the same branch

Samebug tips1

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web8957

  • via Atlassian JIRA by Carlen Benard, 10 months ago
    Compared versions should be created off the same branch
  • via Atlassian JIRA by Turner Benard [Atlassian], 1 year ago
    Compared versions should be created off the same branch
  • via Stack Overflow by Bukic
    , 1 year ago
    Unable to start activity ComponentInfo{com.bojan.baby/com.bojan.baby.WeightForLengthPercentileActivity}: java.lang.IllegalArgumentException: Dataset and renderer should be not null and should have the same number of series
  • Stack trace

    • java.lang.RuntimeException: Compared versions should be created off the same branch at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.bamboo.event.spi.EventInvokerRunnable.run(EventInvokerRunnable.java:29) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Compared versions should be created off the same branch at com.google.common.base.Preconditions.checkState(Preconditions.java:145) at com.atlassian.bamboo.deployments.versions.persistence.DeploymentVersionDaoImpl.findVersionsBetween(DeploymentVersionDaoImpl.java:400) at sun.reflect.GeneratedMethodAccessor1932.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy55.findVersionsBetween(Unknown Source) at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionServiceImpl.findVersionsBetween(DeploymentVersionServiceImpl.java:689) at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(DeploymentVersionVcsChangesetServiceImpl.java:101) at com.atlassian.bamboo.deployments.notification.DeploymentFinishedNotification.getContext(DeploymentFinishedNotification.java:123) at com.atlassian.bamboo.deployments.notification.DeploymentFinishedNotification.getHtmlImContent(DeploymentFinishedNotification.java:85) at com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:87) at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60) at com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentFinished(DeploymentNotificationEventListener.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 7 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 1 year ago
    84 more bugmates