java.lang.RuntimeException: Failed to switch state from 'VIRGIN' to 'SCHEDULED'.

JFrog JIRA | wim heuts | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cannot recover backup after failed upgrade from 2.3.1 to 2.3.4!!! (backup creation was reported "succesfull" previously!) 2011-11-04 12:31:20,422 [http-28080-3] [ERROR] (o.a.c.CentralConfigServiceImpl:290) - Failed to reload configuration: Failed to switch state from 'VIRGIN' to 'SCHEDULED'. java.lang.RuntimeException: Failed to switch state from 'VIRGIN' to 'SCHEDULED'. at org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:334) [artifactory-core-2.3.1.jar:na] at org.artifactory.schedule.TaskBase.schedule(TaskBase.java:79) [artifactory-core-2.3.1.jar:na] at org.artifactory.schedule.TaskServiceImpl.onContextReady(TaskServiceImpl.java:90) [artifactory-core-2.3.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_23] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_23] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_23] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_23] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy25.onContextReady(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.setReady(ArtifactoryApplicationContext.java:336) [artifactory-core-2.3.1.jar:na] ... (etc.)...

    JFrog JIRA | 5 years ago | wim heuts
    java.lang.RuntimeException: Failed to switch state from 'VIRGIN' to 'SCHEDULED'.
  2. 0

    Cannot recover backup after failed upgrade from 2.3.1 to 2.3.4!!! (backup creation was reported "succesfull" previously!) 2011-11-04 12:31:20,422 [http-28080-3] [ERROR] (o.a.c.CentralConfigServiceImpl:290) - Failed to reload configuration: Failed to switch state from 'VIRGIN' to 'SCHEDULED'. java.lang.RuntimeException: Failed to switch state from 'VIRGIN' to 'SCHEDULED'. at org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:334) [artifactory-core-2.3.1.jar:na] at org.artifactory.schedule.TaskBase.schedule(TaskBase.java:79) [artifactory-core-2.3.1.jar:na] at org.artifactory.schedule.TaskServiceImpl.onContextReady(TaskServiceImpl.java:90) [artifactory-core-2.3.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_23] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_23] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_23] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_23] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy25.onContextReady(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.setReady(ArtifactoryApplicationContext.java:336) [artifactory-core-2.3.1.jar:na] ... (etc.)...

    JFrog JIRA | 5 years ago | wim heuts
    java.lang.RuntimeException: Failed to switch state from 'VIRGIN' to 'SCHEDULED'.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failed to switch state from 'VIRGIN' to 'SCHEDULED'.

      at org.artifactory.schedule.TaskBase.guardedTransitionToState()
    2. org.artifactory.schedule
      TaskServiceImpl.onContextReady
      1. org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:334)[artifactory-core-2.3.1.jar:na]
      2. org.artifactory.schedule.TaskBase.schedule(TaskBase.java:79)[artifactory-core-2.3.1.jar:na]
      3. org.artifactory.schedule.TaskServiceImpl.onContextReady(TaskServiceImpl.java:90)[artifactory-core-2.3.1.jar:na]
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_23]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_23]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_23]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.6.0_23]
      4 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE]
      2 frames
    5. Unknown
      $Proxy25.onContextReady
      1. $Proxy25.onContextReady(Unknown Source)[na:na]
      1 frame
    6. org.artifactory.spring
      ArtifactoryApplicationContext.setReady
      1. org.artifactory.spring.ArtifactoryApplicationContext.setReady(ArtifactoryApplicationContext.java:336)[artifactory-core-2.3.1.jar:na]
      1 frame