{"action":"opened","issue":{"url":"https://api.github.com/repos/Netflix/Hystrix/issues/987","labels_url":"https://api.github.com/repos/Netflix/Hystrix/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/Hystrix/issues/987/comments","events_url":"https://api.github.com/repos/Netflix/Hystrix/issues/987/events","html_url":"https://github.com/Netflix/Hystrix/issues/987","id":117829030,"number":987,"title":"ClasscastException on Observable Command Call","user":{"login":"lukaseichler","id":14976726,"avatar_url":"https://avatars.githubusercontent.com/u/14976726?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaseichler","html_url":"https://github.com/lukaseichler","followers_url":"https://api.github.com/users/lukaseichler/followers","following_url":"https://api.github.com/users/lukaseichler/following{/other_user}","gists_url":"https://api.github.com/users/lukaseichler/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseichler/subscriptions","organizations_url":"https://api.github.com/users/lukaseichler/orgs","repos_url":"https://api.github.com/users/lukaseichler/repos","events_url":"https://api.github.com/users/lukaseichler/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseichler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T14:48:39Z","updated_at":"2015-11-19T14:48:39Z","closed_at":null,"body":"When I try to call a method that is annotated with `@HystrixCommand` and returns a `ObservableResult` I get the following exception:\r\n `java.lang.ClassCastException: rx.subjects.ReplaySubject cannot be cast to com.netflix.hystrix.contrib.javanica.command.ObservableResult`. \r\n\r\nHystrix/javanic version: `1.4.21`\r\nrxjava-Version: `1.0.14`\r\naspectJ-Version: `1.8.7``\r\nWeavingMode: LoadTime\r\n\r\n    @HystrixCommand\r\n    public ObservableResult<Data> get(@NotNull final String id) {\r\n        return new ObservableResult<Data>() {\r\n            @Override\r\n            public CarportData invoke() {\r\n               return new Data();\r\n            }\r\n        };\r\n    }"}}