autosleep icon indicating copy to clipboard operation
autosleep copied to clipboard

Autosleep App will not start

Open filidav opened this issue 8 years ago • 6 comments

Regard Issue: #283

Existing install or new install Tried with two different Buildpacks java_buiildpack_offline v319 and 4.5

Here are the logs

283

macC02T61C9H03Q:autosleep-1.0.0 filidav$ cf push -f manifest-sandbox.yml Using manifest file manifest-sandbox.yml

Creating app autowakeup-app in org system / space autosleep as admin... OK

Creating route autowakeup.apps.use.sandbox.pcf.manulife.com... OK

Binding autowakeup.apps.use.sandbox.pcf.manulife.com to autowakeup-app... OK

Uploading autowakeup-app... Uploading app files from: /var/folders/7g/2sww9c193nbdrd114qb30nmcxwb7lj/T/unzipped-app862205867 Uploading 526.7K, 105 files Done uploading
OK Binding service mysql-autosleep to app autowakeup-app in org system / space autosleep as admin... OK

Starting app autowakeup-app in org system / space autosleep as admin... Downloading java_buildpack_offline_v319... Downloaded java_buildpack_offline_v319 Creating container Successfully created container Downloading app package... Downloaded app package (32.1M) Staging... -----> Java Buildpack Version: v3.19 (offline) | https://github.com/cloudfoundry/java-buildpack.git#727297d -----> Downloading Open Jdk JRE 1.8.0_141 from https://java-buildpack.cloudfoundry.org/openjdk/trusty/x86_64/openjdk-1.8.0_141.tar.gz (found in cache) -----> Downloading Open JDK Like Memory Calculator 2.0.2_RELEASE from https://java-buildpack.cloudfoundry.org/memory-calculator/trusty/x86_64/memory-calculator-2.0.2_RELEASE.tar.gz (found in cache) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.0s) Memory Settings: -Xmx1363148K -XX:MaxMetaspaceSize=209715K -Xss699K -Xms1363148K -XX:MetaspaceSize=209715K -----> Downloading Client Certificate Mapper 1.1.0_RELEASE from https://java-buildpack.cloudfoundry.org/client-certificate-mapper/client-certificate-mapper-1.1.0_RELEASE.jar (found in cache) -----> Downloading Container Customizer 1.2.0_RELEASE from https://java-buildpack.cloudfoundry.org/container-customizer/container-customizer-1.2.0_RELEASE.jar (found in cache) -----> Downloading Container Security Provider 1.7.0_RELEASE from https://java-buildpack.cloudfoundry.org/container-security-provider/container-security-provider-1.7.0_RELEASE.jar (found in cache) -----> Downloading Spring Auto Reconfiguration 1.12.0_RELEASE from https://java-buildpack.cloudfoundry.org/auto-reconfiguration/auto-reconfiguration-1.12.0_RELEASE.jar (found in cache) Exit status 0 Staging complete Uploading droplet, build artifacts cache... Uploading build artifacts cache... Uploading droplet... Uploaded build artifacts cache (131B) Uploaded droplet (78M) Uploading complete Stopping instance 64ff9aa4-df3a-4839-b026-d370145ff6fd Destroying container

0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 starting 0 of 1 instances running, 1 crashed FAILED Error restarting application: Start unsuccessful

TIP: use 'cf logs autowakeup-app --recent' for more information macC02T61C9H03Q:autosleep-1.0.0 filidav$

DEBUG LOGS

macC02T61C9H03Q:autosleep-1.0.0 filidav$ cf logs autowakeup-app --recent Retrieving logs for app autowakeup-app in org system / space autosleep as admin...

2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(529) - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(484) - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(221) - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(448) - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(529) - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(484) - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 2017-10-25T09:13:37.90-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(221) - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(529) - Eagerly caching bean 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor' to allow for resolving potential circular references 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(221) - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(529) - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.a.AnnotationConfigApplicationContext(718) - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@574d6bdb] 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor' 2017-10-25T09:13:37.91-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(448) - Creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor' 2017-10-25T09:13:37.92-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(484) - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor' 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.a.InjectionMetadata(86) - Processing injected element of bean 'cloudfoundryClientBuilder': AutowiredFieldElement for private org.springframework.core.env.Environment org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder.env 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.a.AutowiredAnnotationBeanPostProcessor(492) - Autowiring by type from bean name 'cloudfoundryClientBuilder' to bean named 'environment' 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(484) - Finished creating instance of bean 'cloudfoundryClientBuilder' 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' 2017-10-25T09:13:37.94-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(251) - Returning cached instance of singleton bean 'org.springframework.boot.autoconfigure.condition.BeanTypeRegistry' 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.target.host' in [systemProperties] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.target.host' in [systemEnvironment] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.skip.ssl.validation' in [systemEnvironment] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(90) - Found key 'cf.client.skip.ssl.validation' in [systemEnvironment] with type [String] and value 'false' 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.username' in [vcap] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.username' in [systemEnvironment] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.password' in [systemProperties] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(90) - Found key 'cf.client.password' in [systemEnvironment] with type [String] and value 'VQCsO3o9urNF1UB84nbXfB-8caC5mOTV' 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.clientId' in [vcap] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.clientId' in [systemProperties] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.clientId' in [applicationConfig: [classpath:/application.properties]] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(103) - Could not find key 'cf.client.clientId' in any property source. Returning [null] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.clientSecret' in [vcap] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(81) - Searching for key 'cf.client.clientSecret' in [systemEnvironment] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.c.e.PropertySourcesPropertyResolver(103) - Could not find key 'cf.client.clientSecret' in any property source. Returning [null] 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.c.a.a.c.c.CloudfoundryClientBuilder(78) - buildClient - skipSslValidation=false 2017-10-25T09:13:37.96-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.c.a.a.c.c.CloudfoundryClientBuilder(79) - buildClient - username=admin 2017-10-25T09:13:38.44-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.w.c.RestTemplate(79) - Created GET request for "https://api.sys.use.sandbox.pcf.manulife.com:443/v2/info" 2017-10-25T09:13:39.56-0400 [APP/PROC/WEB/0] OUT DEBUG - cloud-foundry-3 - c.request(37) - GET /v2/info 2017-10-25T09:13:39.56-0400 [APP/PROC/WEB/0] OUT DEBUG - cloud-foundry-2 - c.request(37) - GET /v2/info 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:85) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.UnicastProcessor.drain(UnicastProcessor.java:131) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.UnicastProcessor.onNext(UnicastProcessor.java:213) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.subscriber.SignalEmitter.emit(SignalEmitter.java:198) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.subscriber.SignalEmitter.onNext(SignalEmitter.java:444) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.spring.util.AbstractSpringOperations.lambda$null$1(AbstractSpringOperations.java:68) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.util.DeferredSubscription.request(DeferredSubscription.java:92) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.FluxPublishOn$PublishOnPipeline.run(FluxPublishOn.java:164) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1081) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1063) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.WorkQueueProcessor$QueueSubscriberLoop.run(WorkQueueProcessor.java:842) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748) 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT WARN - main - o.s.c.a.AnnotationConfigApplicationContext(546) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getClient' defined in org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.cloudfoundry.client.CloudFoundryClient]: Factory method 'getClient' threw exception; nested exception is org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.65-0400 [APP/PROC/WEB/0] OUT DEBUG - main - o.s.b.f.s.DefaultListableBeanFactory(512) - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@45df216b: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,cloudfoundryClientBuilder,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,org.springframework.boot.autoconfigure.condition.BeanTypeRegistry,getClient,getLogClient]; root of factory hierarchy 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT ERROR - main - o.s.b.SpringApplication(827) - Application startup failed 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getClient' defined in org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.cloudfoundry.client.CloudFoundryClient]: Factory method 'getClient' threw exception; nested exception is org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.builder.SpringApplicationBuilder.configureAsChildIfNecessary(SpringApplicationBuilder.java:147) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:130) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.WakeUpApplication.main(WakeUpApplication.java:42) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at java.lang.reflect.Method.invoke(Method.java:498) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.cloudfoundry.client.CloudFoundryClient]: Factory method 'getClient' threw exception; nested exception is org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT ... 24 common frames omitted 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT Caused by: org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder.buildIfNeeded(CloudfoundryClientBuilder.java:97) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder.getClient(CloudfoundryClientBuilder.java:110) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419.CGLIB$getClient$0() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419$$FastClassBySpringCGLIB$$71c9f4fb.invoke() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419.getClient() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at java.lang.reflect.Method.invoke(Method.java:498) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT ... 25 common frames omitted 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT Caused by: java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:121) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:85) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.UnicastProcessor.drain(UnicastProcessor.java:131) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.UnicastProcessor.onNext(UnicastProcessor.java:213) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.FluxPublishOn$PublishOnPipeline.onNext(FluxPublishOn.java:131) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.subscriber.SignalEmitter.emit(SignalEmitter.java:198) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.subscriber.SignalEmitter.onNext(SignalEmitter.java:444) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at org.cloudfoundry.spring.util.AbstractSpringOperations.lambda$null$1(AbstractSpringOperations.java:68) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.FluxYieldingEmitter$YieldingSignalEmitter.request(FluxYieldingEmitter.java:72) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.util.DeferredSubscription.request(DeferredSubscription.java:92) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.FluxPublishOn$PublishOnPipeline.run(FluxPublishOn.java:164) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1081) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1063) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at reactor.core.publisher.WorkQueueProcessor$QueueSubscriberLoop.run(WorkQueueProcessor.java:842) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT ... 1 common frames omitted 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] OUT INFO - main - o.s.b.l.ClasspathLoggingApplicationListener(57) - Application failed to start with classpath: [file:/home/vcap/app/, jar:file:/home/vcap/app/WEB-INF/lib/spring-web-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/logback-classic-1.1.7.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-security-oauth2-2.0.9.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/java-semver-0.9.0.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/h2-1.4.191.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/hibernate-commons-annotations-4.0.5.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/mysql-connector-java-5.1.38.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/classmate-1.1.0.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/client_certificate_mapper-1.1.0_RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-security-core-4.0.4.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-beans-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/validation-api-1.1.0.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-cloud-spring-service-connector-1.2.2.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/aspectjrt-1.8.9.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/cloudfoundry-client-spring-2.0.0.M1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/slf4j-api-1.7.21.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/commons-codec-1.9.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/reactor-core-2.5.0.M2.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-data-commons-1.11.4.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-aop-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/liquibase-core-3.4.2.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/commons-pool-1.6.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/snakeyaml-1.16.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-starter-logging-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/protobuf-java-2.6.1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-starter-validation-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/dom4j-1.6.1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-autoconfigure-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/aopalliance-1.0.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-jdbc-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jul-to-slf4j-1.7.21.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/javassist-3.18.1-GA.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/hibernate-validator-5.2.4.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jackson-core-asl-1.9.13.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-webmvc-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/reactive-streams-1.0.0.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jackson-databind-2.6.6.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jandex-1.1.0.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jboss-logging-3.3.0.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/antlr-2.7.7.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jackson-annotations-2.6.6.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-security-web-4.0.4.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jackson-core-2.6.6.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/janino-2.7.8.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/log4j-over-slf4j-1.7.21.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/logback-core-1.1.7.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/container_customizer-1.2.0_RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/xml-apis-1.0.b2.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-security-config-4.0.4.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jcl-over-slf4j-1.7.21.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/hibernate-entitymanager-4.3.11.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-orm-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-cloud-cloudfoundry-connector-1.2.2.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/commons-lang3-3.4.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-tx-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/org.cloudfoundry.autosleep.common-1.0.0.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/cloudfoundry-util-2.0.0.M1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-data-jpa-1.9.4.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/commons-dbcp-1.4.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-starter-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-starter-web-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/commons-compiler-2.7.8.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-cloud-core-1.2.2.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring_auto_reconfiguration-1.12.0_RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-expression-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-actuator-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-core-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-boot-starter-actuator-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/spring-context-4.2.6.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/evo-inflector-1.1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/cloudfoundry-client-2.0.0.M1.jar!/, jar:file:/home/vcap/app/WEB-INF/lib/hibernate-core-4.3.11.Final.jar!/, file:/home/vcap/app/WEB-INF/classes/, jar:file:/home/vcap/app/WEB-INF/lib-provided/tomcat-embed-core-8.0.33.jar!/, jar:file:/home/vcap/app/WEB-INF/lib-provided/tomcat-embed-websocket-8.0.33.jar!/, jar:file:/home/vcap/app/WEB-INF/lib-provided/tomcat-embed-logging-juli-8.0.33.jar!/, jar:file:/home/vcap/app/WEB-INF/lib-provided/spring-boot-starter-tomcat-1.3.5.RELEASE.jar!/, jar:file:/home/vcap/app/WEB-INF/lib-provided/tomcat-embed-el-8.0.33.jar!/] 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at java.lang.Thread.run(Thread.java:748) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Caused by: java.lang.reflect.InvocationTargetException 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at java.lang.reflect.Method.invoke(Method.java:498) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR ... 1 more 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getClient' defined in org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.cloudfoundry.client.CloudFoundryClient]: Factory method 'getClient' threw exception; nested exception is org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.builder.SpringApplicationBuilder.configureAsChildIfNecessary(SpringApplicationBuilder.java:147) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:130) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.WakeUpApplication.main(WakeUpApplication.java:42) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR ... 6 more 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.cloudfoundry.client.CloudFoundryClient]: Factory method 'getClient' threw exception; nested exception is org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR ... 24 more 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Caused by: org.springframework.context.ApplicationContextException: Failed to build client; nested exception is java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder.buildIfNeeded(CloudfoundryClientBuilder.java:97) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder.getClient(CloudfoundryClientBuilder.java:110) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419.CGLIB$getClient$0() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419$$FastClassBySpringCGLIB$$71c9f4fb.invoke() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.autosleep.access.cloudfoundry.config.CloudfoundryClientBuilder$$EnhancerBySpringCGLIB$$3a1bc419.getClient() 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at java.lang.reflect.Method.invoke(Method.java:498) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR ... 25 more 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR Caused by: java.lang.NullPointerException: The mapper returned a null value. 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:121) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:85) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.UnicastProcessor.drain(UnicastProcessor.java:131) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.UnicastProcessor.onNext(UnicastProcessor.java:213) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxPublishOn$PublishOnPipeline.onNext(FluxPublishOn.java:131) 2017-10-25T09:13:39.67-0400 [APP/PROC/WEB/0] ERR at reactor.core.subscriber.SignalEmitter.emit(SignalEmitter.java:198) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.subscriber.SignalEmitter.onNext(SignalEmitter.java:444) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at org.cloudfoundry.spring.util.AbstractSpringOperations.lambda$null$1(AbstractSpringOperations.java:68) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxYieldingEmitter$YieldingSignalEmitter.request(FluxYieldingEmitter.java:72) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.util.DeferredSubscription.request(DeferredSubscription.java:92) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxPublishOn$PublishOnPipeline.run(FluxPublishOn.java:164) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1081) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.SchedulerGroup$TaskSubscriber.onNext(SchedulerGroup.java:1063) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at reactor.core.publisher.WorkQueueProcessor$QueueSubscriberLoop.run(WorkQueueProcessor.java:842) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 2017-10-25T09:13:39.68-0400 [APP/PROC/WEB/0] ERR ... 1 more 2017-10-25T09:14:36.11-0400 [CELL/0] ERR Failed to make TCP connection to port 8080: connection refused 2017-10-25T09:14:36.11-0400 [CELL/0] ERR Timed out after 1m0s: health check never passed. 2017-10-25T09:14:36.12-0400 [CELL/0] OUT Exit status 0 2017-10-25T09:14:36.47-0400 [APP/PROC/WEB/0] OUT Exit status 143 2017-10-25T09:14:36.49-0400 [CELL/0] OUT Stopping instance dc8c4536-5185-4b4a-5635-605b 2017-10-25T09:14:36.49-0400 [CELL/0] OUT Destroying container 2017-10-25T09:14:36.54-0400 [API/1] OUT Process has crashed with type: "web" 2017-10-25T09:14:36.56-0400 [API/1] OUT App instance exited with guid 37532b24-bbe0-4356-ae8a-f974d6de70eb payload: {"instance"=>"dc8c4536-5185-4b4a-5635-605b", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"Instance never healthy after 1m0s: Failed to make TCP connection to port 8080: connection refused", "crash_count"=>7, "crash_timestamp"=>1508937276498039517, "version"=>"b8c1fbde-7f59-44cc-b6ea-3d47c3592f14"} 2017-10-25T09:14:36.78-0400 [CELL/0] OUT Successfully destroyed container macC02T61C9H03Q:autosleep-1.0.0 filidav$

filidav avatar Oct 25 '17 13:10 filidav

Same issue here. Any updates?

reefloretto avatar Nov 04 '17 18:11 reefloretto

I am also facing the same issue. Any Progress?

chaitanya-sabale avatar Nov 08 '17 14:11 chaitanya-sabale

Any timeframe on when the #287 will be available in the releases? Latest binaries are quite old.

ukabu avatar Apr 20 '18 18:04 ukabu

Any resolutions to this issue? I'm also experiencing this.

alexw19 avatar Apr 15 '19 21:04 alexw19

@alexw19 there are commits that were never yet released, did you try deploying a version built from sources and see if the problem still reproduces ?

gberche-orange avatar Apr 24 '19 20:04 gberche-orange

I tried deploying the latest release and looks like I got past this error but am now getting Cloud Foundry login issues even though I gave admin rights to the client. The scopes are listed below: scope: cloud_controller.read cloud_controller.global_auditor oauth.approval cloud_controller.write oauth.login cloud_controller.admin client_id: test_autosleep resource_ids: none authorized_grant_types: refresh_token client_credentials authorization_code redirect_uri: https://uaa.<system.domain> autoapprove: authorities: clients.read password.write cloud_controller.read oauth.approval clients.secret cloud_controller.write clients.write oauth.login uaa.admin scim.write scim.read name: test_autosleep signup_redirect_url: lastmodified:

alexw19 avatar Apr 29 '19 20:04 alexw19