{"action":"created","issue":{"url":"https://api.github.com/repos/reactor/reactor-core/issues/1118","repository_url":"https://api.github.com/repos/reactor/reactor-core","labels_url":"https://api.github.com/repos/reactor/reactor-core/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/reactor/reactor-core/issues/1118/comments","events_url":"https://api.github.com/repos/reactor/reactor-core/issues/1118/events","html_url":"https://github.com/reactor/reactor-core/issues/1118","id":303628559,"number":1118,"title":"Error is not propagated. Mono hangs when StackOverflowError is thrown in map or flatMap","user":{"login":"0v1se","id":32102012,"avatar_url":"https://avatars3.githubusercontent.com/u/32102012?v=4","gravatar_id":"","url":"https://api.github.com/users/0v1se","html_url":"https://github.com/0v1se","followers_url":"https://api.github.com/users/0v1se/followers","following_url":"https://api.github.com/users/0v1se/following{/other_user}","gists_url":"https://api.github.com/users/0v1se/gists{/gist_id}","starred_url":"https://api.github.com/users/0v1se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0v1se/subscriptions","organizations_url":"https://api.github.com/users/0v1se/orgs","repos_url":"https://api.github.com/users/0v1se/repos","events_url":"https://api.github.com/users/0v1se/events{/privacy}","received_events_url":"https://api.github.com/users/0v1se/received_events","type":"User","site_admin":false},"labels":[{"id":284719891,"url":"https://api.github.com/repos/reactor/reactor-core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":284719894,"url":"https://api.github.com/repos/reactor/reactor-core/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"simonbasle","id":6986166,"avatar_url":"https://avatars0.githubusercontent.com/u/6986166?v=4","gravatar_id":"","url":"https://api.github.com/users/simonbasle","html_url":"https://github.com/simonbasle","followers_url":"https://api.github.com/users/simonbasle/followers","following_url":"https://api.github.com/users/simonbasle/following{/other_user}","gists_url":"https://api.github.com/users/simonbasle/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbasle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbasle/subscriptions","organizations_url":"https://api.github.com/users/simonbasle/orgs","repos_url":"https://api.github.com/users/simonbasle/repos","events_url":"https://api.github.com/users/simonbasle/events{/privacy}","received_events_url":"https://api.github.com/users/simonbasle/received_events","type":"User","site_admin":false},"assignees":[{"login":"simonbasle","id":6986166,"avatar_url":"https://avatars0.githubusercontent.com/u/6986166?v=4","gravatar_id":"","url":"https://api.github.com/users/simonbasle","html_url":"https://github.com/simonbasle","followers_url":"https://api.github.com/users/simonbasle/followers","following_url":"https://api.github.com/users/simonbasle/following{/other_user}","gists_url":"https://api.github.com/users/simonbasle/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbasle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbasle/subscriptions","organizations_url":"https://api.github.com/users/simonbasle/orgs","repos_url":"https://api.github.com/users/simonbasle/repos","events_url":"https://api.github.com/users/simonbasle/events{/privacy}","received_events_url":"https://api.github.com/users/simonbasle/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/reactor/reactor-core/milestones/18","html_url":"https://github.com/reactor/reactor-core/milestone/18","labels_url":"https://api.github.com/repos/reactor/reactor-core/milestones/18/labels","id":2516193,"number":18,"title":"3.2.0.RELEASE","description":"","creator":{"login":"smaldini","id":76718,"avatar_url":"https://avatars2.githubusercontent.com/u/76718?v=4","gravatar_id":"","url":"https://api.github.com/users/smaldini","html_url":"https://github.com/smaldini","followers_url":"https://api.github.com/users/smaldini/followers","following_url":"https://api.github.com/users/smaldini/following{/other_user}","gists_url":"https://api.github.com/users/smaldini/gists{/gist_id}","starred_url":"https://api.github.com/users/smaldini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaldini/subscriptions","organizations_url":"https://api.github.com/users/smaldini/orgs","repos_url":"https://api.github.com/users/smaldini/repos","events_url":"https://api.github.com/users/smaldini/events{/privacy}","received_events_url":"https://api.github.com/users/smaldini/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":27,"state":"open","created_at":"2017-05-11T21:19:24Z","updated_at":"2018-03-13T12:26:17Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-03-08T20:56:18Z","updated_at":"2018-03-14T06:36:57Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\nStackOverFlow should be thrown\r\n### Actual behavior\r\njava.lang.IllegalStateException: Timeout on blocking read for 5000 MILLISECONDS\r\n### Steps to reproduce\r\nrun strange method provided:\r\n\r\n    private void exception() {\r\n        exception();\r\n    }\r\n\r\n    public void strange() {\r\n        CompletableFuture<Integer> future = new CompletableFuture<>();\r\n        future.complete(1);\r\n        Mono<Integer> simple = Mono.fromFuture(future);//Mono.just(1)\r\n\r\n        simple.map(r -> {\r\n            exception();\r\n            return r;\r\n        }).block(Duration.ofSeconds(5));\r\n    }\r\n### Reactor Core version\r\n3.1.5.RELEASE\r\n### JVM version (e.g. `java -version`)\r\njava version \"1.8.0_162\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_162-b12)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)\r\n"},"comment":{"url":"https://api.github.com/repos/reactor/reactor-core/issues/comments/372919531","html_url":"https://github.com/reactor/reactor-core/issues/1118#issuecomment-372919531","issue_url":"https://api.github.com/repos/reactor/reactor-core/issues/1118","id":372919531,"user":{"login":"0v1se","id":32102012,"avatar_url":"https://avatars3.githubusercontent.com/u/32102012?v=4","gravatar_id":"","url":"https://api.github.com/users/0v1se","html_url":"https://github.com/0v1se","followers_url":"https://api.github.com/users/0v1se/followers","following_url":"https://api.github.com/users/0v1se/following{/other_user}","gists_url":"https://api.github.com/users/0v1se/gists{/gist_id}","starred_url":"https://api.github.com/users/0v1se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0v1se/subscriptions","organizations_url":"https://api.github.com/users/0v1se/orgs","repos_url":"https://api.github.com/users/0v1se/repos","events_url":"https://api.github.com/users/0v1se/events{/privacy}","received_events_url":"https://api.github.com/users/0v1se/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T06:36:57Z","updated_at":"2018-03-14T06:36:57Z","author_association":"NONE","body":"Ok. Thanks. \r\nWhere can I get the list of fatal errors? It's not obvious what errors can be swallowed.\r\n\r\nAlso, such behaviour can be observed not only when CompletableFuture is used. It was only an example"}}
{"actor":{"display_login":"0v1se"}}