zalando-stups/fullstop

Error: versionId must not be blank

Closed this issue · 0 comments

Fullstop should not try to load an application version from Kio, if the versionId is blank.

ERROR [pool-7-thread-1] o.z.s.f.PluginEventsProcessor - java.lang.IllegalArgumentException: versionId must not be blank
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: versionId must not be blank
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203) ~[guava-18.0.jar!/:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3937) ~[guava-18.0.jar!/:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) ~[guava-18.0.jar!/:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) ~[guava-18.0.jar!/:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830) ~[guava-18.0.jar!/:?]
at org.zalando.stups.fullstop.plugin.provider.impl.KioVersionProviderImpl.apply(KioVersionProviderImpl.java:62) ~[fullstop-instance-plugin-support-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.plugin.provider.impl.KioVersionProviderImpl.apply(KioVersionProviderImpl.java:21) ~[fullstop-instance-plugin-support-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.plugin.impl.EC2InstanceContextImpl.getKioVersion(EC2InstanceContextImpl.java:154) ~[fullstop-instance-plugin-support-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.plugin.ApplicationRegistryPlugin.process(ApplicationRegistryPlugin.java:73) ~[fullstop-registry-plugin-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.plugin.AbstractEC2InstancePlugin$$Lambda$56/296355274.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_45-internal]
at org.zalando.stups.fullstop.plugin.AbstractEC2InstancePlugin.processEvent(AbstractEC2InstancePlugin.java:36) ~[fullstop-instance-plugin-support-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.PluginEventsProcessor.doProcess(PluginEventsProcessor.java:52) [fullstop-processing-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.PluginEventsProcessor.doProcess(PluginEventsProcessor.java:43) [fullstop-processing-1.2.0-SNAPSHOT.jar!/:?]
at org.zalando.stups.fullstop.PluginEventsProcessor$$Lambda$49/1107547513.accept(Unknown Source) [fullstop-processing-1.2.0-SNAPSHOT.jar!/:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) [?:1.8.0_45-internal]
at org.zalando.stups.fullstop.PluginEventsProcessor.process(PluginEventsProcessor.java:33) [fullstop-processing-1.2.0-SNAPSHOT.jar!/:?]
at com.amazonaws.services.cloudtrail.processinglibrary.reader.EventReader.emitEvents(EventReader.java:229) [aws-cloudtrail-processing-library-1.0.2.jar!/:?]
at com.amazonaws.services.cloudtrail.processinglibrary.reader.EventReader.processSource(EventReader.java:156) [aws-cloudtrail-processing-library-1.0.2.jar!/:?]
at com.amazonaws.services.cloudtrail.processinglibrary.AWSCloudTrailProcessingExecutor$ScheduledJob$1.run(AWSCloudTrailProcessingExecutor.java:178) [aws-cloudtrail-processing-library-1.0.2.jar!/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45-internal]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45-internal]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
Caused by: java.lang.IllegalArgumentException: versionId must not be blank
at org.springframework.util.Assert.hasText(Assert.java:168) ~[spring-core-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
at org.zalando.stups.clients.kio.spring.RestTemplateKioOperations.getApplicationVersion(RestTemplateKioOperations.java:132) ~[kio-client-java-spring-0.11.0.jar!/:?]
at org.zalando.stups.clients.kio.spring.RestTemplateKioOperations.getApplicationVersion(RestTemplateKioOperations.java:132) ~[kio-client-java-spring-0.11.0.jar!/:?]
at org.zalando.stups.fullstop.hystrix.HystrixKioOperations.getApplicationVersion(HystrixKioOperations.java:64) ~[fullstop.jar!/:?]
at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]
at com.netflix.hystrix.contrib.javanica.command.MethodExecutionAction.execute(MethodExecutionAction.java:116) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.contrib.javanica.command.MethodExecutionAction.executeWithArgs(MethodExecutionAction.java:89) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.contrib.javanica.command.MethodExecutionAction.execute(MethodExecutionAction.java:78) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.contrib.javanica.command.GenericCommand$1.execute(GenericCommand.java:47) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.contrib.javanica.command.AbstractHystrixCommand.process(AbstractHystrixCommand.java:158) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.contrib.javanica.command.GenericCommand.run(GenericCommand.java:44) ~[hystrix-javanica-1.4.21.jar!/:1.4.21]
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:294) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at rx.Observable$1.call(Observable.java:144) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable$1.call(Observable.java:136) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable$1.call(Observable.java:144) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable$1.call(Observable.java:136) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable$1.call(Observable.java:144) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable$1.call(Observable.java:136) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.Observable.unsafeSubscribe(Observable.java:7507) ~[rxjava-1.0.10.jar!/:1.0.10]
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:534) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:509) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at rx.Observable.unsafeSubscribe(Observable.java:7507) ~[rxjava-1.0.10.jar!/:1.0.10]
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62) ~[rxjava-1.0.10.jar!/:1.0.10]
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69) ~[hystrix-core-1.4.10.jar!/:1.4.10]
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) ~[rxjava-1.0.10.jar!/:1.0.10]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_45-internal]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_45-internal]
... 3 more