{"action":"created","issue":{"url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/54","labels_url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/54/comments","events_url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/54/events","html_url":"https://github.com/mebigfatguy/fb-contrib/issues/54","id":99606025,"number":54,"title":"FalsePositive on AssertionError","user":{"login":"Lonzak","id":1830174,"avatar_url":"https://avatars.githubusercontent.com/u/1830174?v=3","gravatar_id":"","url":"https://api.github.com/users/Lonzak","html_url":"https://github.com/Lonzak","followers_url":"https://api.github.com/users/Lonzak/followers","following_url":"https://api.github.com/users/Lonzak/following{/other_user}","gists_url":"https://api.github.com/users/Lonzak/gists{/gist_id}","starred_url":"https://api.github.com/users/Lonzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lonzak/subscriptions","organizations_url":"https://api.github.com/users/Lonzak/orgs","repos_url":"https://api.github.com/users/Lonzak/repos","events_url":"https://api.github.com/users/Lonzak/events{/privacy}","received_events_url":"https://api.github.com/users/Lonzak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-07T08:34:28Z","updated_at":"2015-08-07T12:00:50Z","closed_at":null,"body":"There seems to be a false positive when creating an AssertionError. \r\n\r\n    try {\r\n     //do someting which might throw an exception\r\n    } \r\n    catch (SomeException se) {\r\n     throw new AssertionError(se);\r\n    }\r\n\r\nFindbugs throws: **Correctness - Method throws alternative exception from catch block without history [fb-contrib]** which is not true since the AssertionError sets the cause:\r\n\r\n    public AssertionError(Object detailMessage) {\r\n        this(\"\" +  detailMessage);\r\n        if (detailMessage instanceof Throwable)\r\n            initCause((Throwable) detailMessage);\r\n    }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/comments/128683313","html_url":"https://github.com/mebigfatguy/fb-contrib/issues/54#issuecomment-128683313","issue_url":"https://api.github.com/repos/mebigfatguy/fb-contrib/issues/54","id":128683313,"user":{"login":"mebigfatguy","id":170161,"avatar_url":"https://avatars.githubusercontent.com/u/170161?v=3","gravatar_id":"","url":"https://api.github.com/users/mebigfatguy","html_url":"https://github.com/mebigfatguy","followers_url":"https://api.github.com/users/mebigfatguy/followers","following_url":"https://api.github.com/users/mebigfatguy/following{/other_user}","gists_url":"https://api.github.com/users/mebigfatguy/gists{/gist_id}","starred_url":"https://api.github.com/users/mebigfatguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mebigfatguy/subscriptions","organizations_url":"https://api.github.com/users/mebigfatguy/orgs","repos_url":"https://api.github.com/users/mebigfatguy/repos","events_url":"https://api.github.com/users/mebigfatguy/events{/privacy}","received_events_url":"https://api.github.com/users/mebigfatguy/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T12:00:50Z","updated_at":"2015-08-07T12:00:50Z","body":"Actually after looking at this, it was an issue at one time, but i thought i fixed it, awhile back. I have added a sample test for it here be5267b3acc and I don't see it happening. Does this test report an issue for you?\r\n\r\nWhat version are you using?\r\n"}}