{"action":"created","issue":{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/120","labels_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/120/comments","events_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/120/events","html_url":"https://github.com/codecentric/spring-boot-admin/issues/120","id":114371746,"number":120,"title":"Unable to start admin due some ClassCastException","user":{"login":"staleks","id":1543466,"avatar_url":"https://avatars.githubusercontent.com/u/1543466?v=3","gravatar_id":"","url":"https://api.github.com/users/staleks","html_url":"https://github.com/staleks","followers_url":"https://api.github.com/users/staleks/followers","following_url":"https://api.github.com/users/staleks/following{/other_user}","gists_url":"https://api.github.com/users/staleks/gists{/gist_id}","starred_url":"https://api.github.com/users/staleks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staleks/subscriptions","organizations_url":"https://api.github.com/users/staleks/orgs","repos_url":"https://api.github.com/users/staleks/repos","events_url":"https://api.github.com/users/staleks/events{/privacy}","received_events_url":"https://api.github.com/users/staleks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/labels/waiting-for-feedback","name":"waiting-for-feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-30T23:19:19Z","updated_at":"2015-11-07T21:26:25Z","closed_at":null,"body":"Hi,\r\n\r\nI've followed README.md file, with some \"small\" modifications since I am using Gradle instead of Maven.\r\n\r\nso here is the build.gradle\r\n```\r\ndependencyManagement {\r\n\timports {\r\n\t\tmavenBom \"org.springframework.cloud:spring-cloud-starter-parent:Brixton.M1\"\r\n\t}\r\n}\r\n\r\ndependencies {\r\n\t\r\n\tcompile('org.springframework.cloud:spring-cloud-starter-eureka-server')\r\n\tcompile('org.springframework.cloud:spring-cloud-starter-zuul')\r\n\t\r\n\tcompile 'de.codecentric:spring-boot-admin-server:1.2.4'\r\n\tcompile 'de.codecentric:spring-boot-admin-server-ui:1.2.4'\r\n\t\r\n\ttestCompile('org.springframework.boot:spring-boot-starter-test')\r\n}\r\n```\r\n\r\nMain application file is:\r\n```\r\n@SpringBootApplication\r\n@EnableDiscoveryClient\r\n@EnableAdminServer\r\npublic class SpringBootAdminServerApplication {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tSpringApplication.run(SpringBootAdminServerApplication.class, args);\r\n\r\n\t}\r\n}\r\n```\r\n\r\nand last but not least, application.yml file:\r\n```\r\ninfo:\r\n  version: 1.0.0\r\n  \r\nserver:\r\n  port: 8585\r\n  \r\nspring:\r\n  application:\r\n    name: ESBAA\r\n  cloud:\r\n    config:\r\n      enabled: false    \r\n      \r\n  \r\neureka:\r\n  instance:\r\n    leaseRenewalIntervalInSeconds: 5\r\n    metadataMap:\r\n      instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}\r\n  client:\r\n    serviceUrl:\r\n      defaultZone: http://localhost:8761/eureka/    \r\n```\r\n\r\nSo once I try to start application, here is the output\r\n```\r\n2015-10-31 00:13:36.031 ERROR 13458 --- [  restartedMain] o.s.boot.SpringApplication               : Application startup failed\r\njava.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String\r\n\tat de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:92) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:70) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat de.codecentric.boot.admin.config.AdminServerWebConfiguration$2.onApplicationEvent(AdminServerWebConfiguration.java:136) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat de.codecentric.boot.admin.config.AdminServerWebConfiguration$2.onApplicationEvent(AdminServerWebConfiguration.java:132) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:380) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat de.codecentric.boot.admin.registry.ApplicationRegistry.register(ApplicationRegistry.java:86) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat de.codecentric.boot.admin.discovery.ApplicationDiscoveryListener.discover(ApplicationDiscoveryListener.java:79) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat de.codecentric.boot.admin.discovery.ApplicationDiscoveryListener.onApplicationEvent(ApplicationDiscoveryListener.java:57) ~[spring-boot-admin-server-1.2.4.jar:1.2.4]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:380) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration.start(EurekaDiscoveryClientConfiguration.java:109) ~[spring-cloud-netflix-core-1.1.0.M1.jar:1.1.0.M1]\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\t... 19 common frames omitted\r\nWrapped by: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration'; nested exception is java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:176) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:847) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:140) ~[spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:540) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) [spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) [spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:273) [spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:980) [spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:969) [spring-boot-1.3.0.M5.jar:1.3.0.M5]\r\n\tat rs.in.staleksit.evidencija.spring.boot.admin.server.SpringBootAdminServerApplication.main(SpringBootAdminServerApplication.java:15) [bin/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]\r\n\tat java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]\r\n\tat org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.3.0.M5.jar:1.3.0.M5]\r\n```\r\n\r\nNOTE: I've already started Eureka server at port 8761.\r\nThis is because I would like not to change each of services but to have 2nd setup as explained in README.md document. Spring Boot Admin app. should contact Eureka Server and fetch needed information from there.\r\n\r\n\r\nCan you please help me on this issue? \r\nThank you"},"comment":{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/comments/154753072","html_url":"https://github.com/codecentric/spring-boot-admin/issues/120#issuecomment-154753072","issue_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/120","id":154753072,"user":{"login":"staleks","id":1543466,"avatar_url":"https://avatars.githubusercontent.com/u/1543466?v=3","gravatar_id":"","url":"https://api.github.com/users/staleks","html_url":"https://github.com/staleks","followers_url":"https://api.github.com/users/staleks/followers","following_url":"https://api.github.com/users/staleks/following{/other_user}","gists_url":"https://api.github.com/users/staleks/gists{/gist_id}","starred_url":"https://api.github.com/users/staleks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staleks/subscriptions","organizations_url":"https://api.github.com/users/staleks/orgs","repos_url":"https://api.github.com/users/staleks/repos","events_url":"https://api.github.com/users/staleks/events{/privacy}","received_events_url":"https://api.github.com/users/staleks/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T21:26:25Z","updated_at":"2015-11-07T21:26:25Z","body":"I've just downloaded it and start all 4:\r\n- eureka\r\n- cloud config server\r\n- my microService and\r\n- spring boot admin\r\n\r\nEverything is fine so far.\r\n\r\n\r\nRelated to your last post, I am even wondering if I will need config server to have /admin, but\r\nthat was some example that I've used in process of evaluation.\r\n\r\nCan you tell me, what is road map for 1.3.0-SNAPSHOT ?\r\nRelease comming soon ?\r\n"}}