Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhiteBox invoke method must handle null #26

Closed
johanhaleby opened this issue Jul 23, 2015 · 1 comment
Closed

WhiteBox invoke method must handle null #26

johanhaleby opened this issue Jul 23, 2015 · 1 comment

Comments

@johanhaleby
Copy link
Collaborator

From johan.ha...@gmail.com on September 11, 2008 08:56:06

WhiteBox.invokeMethod(...) must throw an exception of the object passed to
the method is null (i.e. invokeMethod(null, ...)). Right now we get NPE.

Original issue: http://code.google.com/p/powermock/issues/detail?id=6

@johanhaleby
Copy link
Collaborator Author

From johan.ha...@gmail.com on September 13, 2008 03:08:50

WhiteBox invoke method and invoke constructor methods now throws an
IllegalArgumentException if the first argument is null.

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant