{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13191","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13191/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13191/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13191/events","html_url":"https://github.com/spring-projects/spring-boot/issues/13191","id":323668733,"node_id":"MDU6SXNzdWUzMjM2Njg3MzM=","number":13191,"title":"Support Snakeyaml 1.20+","user":{"login":"twicksell","id":301239,"node_id":"MDQ6VXNlcjMwMTIzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/301239?v=4","gravatar_id":"","url":"https://api.github.com/users/twicksell","html_url":"https://github.com/twicksell","followers_url":"https://api.github.com/users/twicksell/followers","following_url":"https://api.github.com/users/twicksell/following{/other_user}","gists_url":"https://api.github.com/users/twicksell/gists{/gist_id}","starred_url":"https://api.github.com/users/twicksell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twicksell/subscriptions","organizations_url":"https://api.github.com/users/twicksell/orgs","repos_url":"https://api.github.com/users/twicksell/repos","events_url":"https://api.github.com/users/twicksell/events{/privacy}","received_events_url":"https://api.github.com/users/twicksell/received_events","type":"User","site_admin":false},"labels":[{"id":69230488,"node_id":"MDU6TGFiZWw2OTIzMDQ4OA==","url":"https://api.github.com/repos/spring-projects/spring-boot/labels/type:%20task","name":"type: task","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/104","html_url":"https://github.com/spring-projects/spring-boot/milestone/104","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/104/labels","id":3206272,"node_id":"MDk6TWlsZXN0b25lMzIwNjI3Mg==","number":104,"title":"2.0.x","description":"Issues that we want to solve in the 2.0.x line.","creator":{"login":"philwebb","id":519772,"node_id":"MDQ6VXNlcjUxOTc3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/519772?v=4","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":0,"state":"open","created_at":"2018-03-21T13:49:34Z","updated_at":"2018-08-24T16:06:23Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2018-05-16T15:19:24Z","updated_at":"2018-08-27T15:37:05Z","closed_at":null,"author_association":"MEMBER","body":"When running Spring Boot 2.0.2 we see the following error when Snakeyaml 1.20 is on the classpath. This occurs when we do not use the dependency management plugin, and have Spring Framework 5.0.4+ on the classpath which introduced Snakeyaml 1.20. \r\n\r\n```\r\njava.lang.NoSuchMethodError: org.yaml.snakeyaml.nodes.ScalarNode.getStyle()Ljava/lang/Character;\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$KeyScalarNode.<init>(OriginTrackedYamlLoader.java:127)\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$KeyScalarNode.get(OriginTrackedYamlLoader.java:138)\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$KeyScalarNode.get(OriginTrackedYamlLoader.java:133)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$OriginTrackingConstructor.replaceMappingNodeKeys(OriginTrackedYamlLoader.java:99)\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$OriginTrackingConstructor.constructObject(OriginTrackedYamlLoader.java:92)\r\n\tat org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:161)\r\n\tat org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:127)\r\n\tat org.yaml.snakeyaml.Yaml$1.next(Yaml.java:547)\r\n\tat org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:168)\r\n\tat org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:141)\r\n\tat org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:75)\r\n\tat org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:50)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadDocuments(ConfigFileApplicationListener.java:547)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:517)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadForFileExtension(ConfigFileApplicationListener.java:496)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:464)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$null$6(ConfigFileApplicationListener.java:446)\r\n\tat java.lang.Iterable.forEach(Iterable.java:75)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$load$7(ConfigFileApplicationListener.java:445)\r\n\tat java.lang.Iterable.forEach(Iterable.java:75)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:442)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:330)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:212)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:195)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:182)\r\n\tat org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:168)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)\r\n\tat org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)\r\n\tat org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)\r\n\tat org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:358)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:317)\r\n\tat org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:139)\r\n\tat org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)\r\n\tat org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117)\r\n\tat org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108)\r\n\tat org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)\r\n\tat org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)\r\n\tat org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:44)\r\n\tat org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)\r\n\tat org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/416268324","html_url":"https://github.com/spring-projects/spring-boot/issues/13191#issuecomment-416268324","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/13191","id":416268324,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjI2ODMyNA==","user":{"login":"jisikoff","id":1562188,"node_id":"MDQ6VXNlcjE1NjIxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1562188?v=4","gravatar_id":"","url":"https://api.github.com/users/jisikoff","html_url":"https://github.com/jisikoff","followers_url":"https://api.github.com/users/jisikoff/followers","following_url":"https://api.github.com/users/jisikoff/following{/other_user}","gists_url":"https://api.github.com/users/jisikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/jisikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jisikoff/subscriptions","organizations_url":"https://api.github.com/users/jisikoff/orgs","repos_url":"https://api.github.com/users/jisikoff/repos","events_url":"https://api.github.com/users/jisikoff/events{/privacy}","received_events_url":"https://api.github.com/users/jisikoff/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T15:37:05Z","updated_at":"2018-08-27T15:37:05Z","author_association":"NONE","body":"@asomov  will give it a try"}}
{"actor":{"display_login":"jisikoff"}}