statemap.TransitionUndefinedException

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.

  • An exception thrown during secure central capability construction can leave it in an invalid state. {quote} 2014-07-01 13:04:45 ERROR [AuthtokenFetcherImpl-task] admin com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl - Life-cycle operation failed java.lang.IllegalArgumentException: Illegal character in path at index 33: http://files.couchbase.com/maven2 / at java.net.URI.create(URI.java:859) ~[na:1.7.0_25] at com.sonatype.central.secure.nexus.plugin.internal.Uris.normalize(Uris.java:67) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl.shouldTrackRepository(SecureCentralServiceImpl.java:276) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl.maybeConfigureRepository(SecureCentralServiceImpl.java:291) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl.maybeConfigureRepositories(SecureCentralServiceImpl.java:259) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl.doStart(SecureCentralServiceImpl.java:208) ~[na:na] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:69) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:32) ~[na:na] at org.sonatype.nexus.capability.support.CapabilitySupport.onActivate(CapabilitySupport.java:186) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference$EnabledState.activate(DefaultCapabilityReference.java:578) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference.activate(DefaultCapabilityReference.java:218) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.ActivationConditionHandler.handle(ActivationConditionHandler.java:68) ~[na:na] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.nexus.plugins.capabilities.support.condition.ConditionSupport.setSatisfied(ConditionSupport.java:126) ~[na:na] at org.sonatype.nexus.plugins.capabilities.support.condition.CompositeConditionSupport.handle(CompositeConditionSupport.java:76) ~[na:na] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.nexus.plugins.capabilities.support.condition.ConditionSupport.setSatisfied(ConditionSupport.java:126) ~[na:na] at org.sonatype.nexus.plugins.capabilities.support.condition.CompositeConditionSupport.handle(CompositeConditionSupport.java:76) ~[na:na] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.nexus.plugins.capabilities.support.condition.ConditionSupport.setSatisfied(ConditionSupport.java:126) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.condition.PassivateCapabilityDuringUpdateCondition.handle(PassivateCapabilityDuringUpdateCondition.java:99) ~[na:na] at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) ~[goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference$DisabledState.update(DefaultCapabilityReference.java:512) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference.update(DefaultCapabilityReference.java:283) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityRegistry.update(DefaultCapabilityRegistry.java:200) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl.setAuthtoken(SecureCentralServiceImpl.java:150) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralServiceImpl$1.onSuccess(SecureCentralServiceImpl.java:193) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.AuthtokenFetcherImpl.fetchAuthtoken(AuthtokenFetcherImpl.java:161) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.AuthtokenFetcherImpl.access$100(AuthtokenFetcherImpl.java:39) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.AuthtokenFetcherImpl$1.doTask(AuthtokenFetcherImpl.java:113) ~[na:na] at org.sonatype.sisu.goodies.thread.PeriodicThreadSupport.doRun(PeriodicThreadSupport.java:44) ~[na:na] at org.sonatype.sisu.goodies.thread.ThreadSupport.run(ThreadSupport.java:82) ~[na:na] Caused by: java.net.URISyntaxException: Illegal character in path at index 33: http://files.couchbase.com/maven2 / at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_25] at java.net.URI$Parser.checkChars(URI.java:3002) ~[na:1.7.0_25] at java.net.URI$Parser.parseHierarchical(URI.java:3086) ~[na:1.7.0_25] at java.net.URI$Parser.parse(URI.java:3034) ~[na:1.7.0_25] at java.net.URI.<init>(URI.java:595) ~[na:1.7.0_25] at java.net.URI.create(URI.java:857) ~[na:1.7.0_25] ... 67 common frames omitted {quote} Once it's in this state, only a restart can get it out again. {quote} 2014-07-10 09:47:55 ERROR [qtp1841810192-411050] admin org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference - Could not activate capability SecureCentralCapability{id='40421b87e2f1', config=SecureCentralCapabilityConfiguration{authtoken=null}} (40421b87e2f1) statemap.TransitionUndefinedException: State: MainMap.Failed, Transition: start at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$LifecycleHandlerState.Default(LifecycleHandlerContext.java:159) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$LifecycleHandlerState.start(LifecycleHandlerContext.java:139) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Failed.start(LifecycleHandlerContext.java:466) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.start(LifecycleHandlerContext.java:49) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:128) ~[goodies-lifecycle-1.7.4.jar:1.7.4] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:69) ~[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:32) ~[na:na] at org.sonatype.nexus.capability.support.CapabilitySupport.onActivate(CapabilitySupport.java:186) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference$EnabledState.activate(DefaultCapabilityReference.java:578) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference.activate(DefaultCapabilityReference.java:218) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityRegistry.update(DefaultCapabilityRegistry.java:203) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource.put(CapabilitiesResource.java:193) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource$$EnhancerByGuice$$4d964b56.CGLIB$put$2(<generated>) ~[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource$$EnhancerByGuice$$4d964b56$$FastClassByGuice$$4190b131.invoke(<generated>) ~[na:na] at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228) ~[sisu-guice-3.1.4.jar:3.1.4] {quote}
    via by Rich Seddon,
    • statemap.TransitionUndefinedException: State: MainMap.Failed, Transition: start at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$LifecycleHandlerState.Default(LifecycleHandlerContext.java:159)[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$LifecycleHandlerState.start(LifecycleHandlerContext.java:139)[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Failed.start(LifecycleHandlerContext.java:466)[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.start(LifecycleHandlerContext.java:49)[goodies-lifecycle-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:128)[goodies-lifecycle-1.7.4.jar:1.7.4] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:69)[na:na] at com.sonatype.central.secure.nexus.plugin.internal.SecureCentralCapability.onActivate(SecureCentralCapability.java:32)[na:na] at org.sonatype.nexus.capability.support.CapabilitySupport.onActivate(CapabilitySupport.java:186)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference$EnabledState.activate(DefaultCapabilityReference.java:578)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference.activate(DefaultCapabilityReference.java:218)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityRegistry.update(DefaultCapabilityRegistry.java:203)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource.put(CapabilitiesResource.java:193)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource$$EnhancerByGuice$$4d964b56.CGLIB$put$2(<generated>)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilitiesResource$$EnhancerByGuice$$4d964b56$$FastClassByGuice$$4190b131.invoke(<generated>)[na:na] at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)[sisu-guice-3.1.4.jar:3.1.4]
    No Bugmate found.