{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12457","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12457/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12457/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12457/events","html_url":"https://github.com/spring-projects/spring-boot/issues/12457","id":304611920,"number":12457,"title":"Spring Boot 2 no logging exception message when use Apache Commons BeanUtils","user":{"login":"alanbear","id":18578373,"avatar_url":"https://avatars3.githubusercontent.com/u/18578373?v=4","gravatar_id":"","url":"https://api.github.com/users/alanbear","html_url":"https://github.com/alanbear","followers_url":"https://api.github.com/users/alanbear/followers","following_url":"https://api.github.com/users/alanbear/following{/other_user}","gists_url":"https://api.github.com/users/alanbear/gists{/gist_id}","starred_url":"https://api.github.com/users/alanbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanbear/subscriptions","organizations_url":"https://api.github.com/users/alanbear/orgs","repos_url":"https://api.github.com/users/alanbear/repos","events_url":"https://api.github.com/users/alanbear/events{/privacy}","received_events_url":"https://api.github.com/users/alanbear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T03:05:57Z","updated_at":"2018-03-13T03:05:57Z","closed_at":null,"author_association":"NONE","body":"When I use Apache Commons BeanUtils with Spring Boot 2, I can't catch exception stacktrace message.\r\n\r\nI also try other version, only 2.X have this problem.\r\n\r\n## build.gradle\r\n```\r\nbuildscript {\r\n\text {\r\n\t\tspringBootVersion = '2.0.0.RELEASE'\r\n//\t\tspringBootVersion = '1.5.10.RELEASE'\r\n//\t\tspringBootVersion = '2.0.1.BUILD-SNAPSHOT'\r\n\t}\r\n\trepositories {\r\n\t\tmavenCentral()\r\n        maven {\r\n            url 'https://repo.spring.io/libs-snapshot'\r\n        }\r\n\t}\r\n\tdependencies {\r\n\t\tclasspath(\"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}\")\r\n\t}\r\n}\r\n\r\napply plugin: 'java'\r\napply plugin: 'eclipse'\r\napply plugin: 'org.springframework.boot'\r\napply plugin: 'io.spring.dependency-management'\r\n\r\ngroup = 'com.example'\r\nversion = '0.0.1-SNAPSHOT'\r\nsourceCompatibility = 1.8\r\n\r\nrepositories {\r\n\tmavenCentral()\r\n    maven {\r\n        url 'https://repo.spring.io/libs-snapshot'\r\n    }\r\n}\r\n\r\n\r\ndependencies {\r\n\tcompile('org.springframework.boot:spring-boot-starter')\r\n\tcompile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'\r\n\r\n\ttestCompile('org.springframework.boot:spring-boot-starter-test')\r\n}\r\n\r\n```\r\n## DemoApplication.java\r\n```\r\n@SpringBootApplication\r\npublic class DemoApplication {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tSpringApplication.run(DemoApplication.class, args);\r\n\t}\r\n\r\n\t@Bean\r\n\tpublic CommandLineRunner run() {\r\n\t\treturn (args) -> {\r\n\t\t    throw new Exception(\"test\");\r\n\t\t};\r\n\t}\r\n}\r\n```\r\n\r\n## Console\r\n```\r\n2018-03-13 11:03:05.166  INFO 22690 --- [           main] com.example.demo.DemoApplication         : No active profile set, falling back to default profiles: default\r\n2018-03-13 11:03:05.267  INFO 22690 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@22f59fa: startup date [Tue Mar 13 11:03:05 CST 2018]; root of context hierarchy\r\n2018-03-13 11:03:06.089  INFO 22690 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup\r\n2018-03-13 11:03:06.103  INFO 22690 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 1.67 seconds (JVM running for 3.222)\r\nDisconnected from the target VM, address: '127.0.0.1:63647', transport: 'socket'\r\n\r\nProcess finished with exit code 1\r\n```\r\n"}}
{"actor":{"display_login":"alanbear"}}