{"action":"closed","issue":{"url":"https://api.github.com/repos/mockito/mockito/issues/230","labels_url":"https://api.github.com/repos/mockito/mockito/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/mockito/mockito/issues/230/comments","events_url":"https://api.github.com/repos/mockito/mockito/issues/230/events","html_url":"https://github.com/mockito/mockito/issues/230","id":87669747,"number":230,"title":"Null Pointer when invoking Whitebox.invokeMethod() with null one of the params null ","user":{"login":"DarshanBangre","id":12858313,"avatar_url":"https://avatars.githubusercontent.com/u/12858313?v=3","gravatar_id":"","url":"https://api.github.com/users/DarshanBangre","html_url":"https://github.com/DarshanBangre","followers_url":"https://api.github.com/users/DarshanBangre/followers","following_url":"https://api.github.com/users/DarshanBangre/following{/other_user}","gists_url":"https://api.github.com/users/DarshanBangre/gists{/gist_id}","starred_url":"https://api.github.com/users/DarshanBangre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarshanBangre/subscriptions","organizations_url":"https://api.github.com/users/DarshanBangre/orgs","repos_url":"https://api.github.com/users/DarshanBangre/repos","events_url":"https://api.github.com/users/DarshanBangre/events{/privacy}","received_events_url":"https://api.github.com/users/DarshanBangre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mockito/mockito/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T09:29:46Z","updated_at":"2015-06-12T17:38:23Z","closed_at":"2015-06-12T17:38:23Z","body":"Getting below exceptions when trying to invoke Whitebox.invokeMethod(erxProviderManager, \"setCommand\", Provider, null,retait, mail);\r\n\r\nVersion used 1.6.2\r\n\r\nFAILED: testSetEnrollmentCommandWithUnEnrollmentWithNull\r\njava.lang.NullPointerException\r\n\tat java.lang.Class.isAssignableFrom(Native Method)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.checkIfParameterTypesAreSame(WhiteboxImpl.java:2257)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.getMethods(WhiteboxImpl.java:1800)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.getBestMethodCandidate(WhiteboxImpl.java:955)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.findMethodOrThrowException(WhiteboxImpl.java:832)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.doInvokeMethod(WhiteboxImpl.java:770)\r\n\tat org.powermock.reflect.internal.WhiteboxImpl.invokeMethod(WhiteboxImpl.java:638)\r\n\tat org.powermock.reflect.Whitebox.invokeMethod(Whitebox.java:401)"}}