Autosleep App will not start
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(
Same issue here. Any updates?
I am also facing the same issue. Any Progress?
Any timeframe on when the #287 will be available in the releases? Latest binaries are quite old.
Any resolutions to this issue? I'm also experiencing this.
@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 ?
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: