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

Fix NPE constructor withArguments() #19

Merged
merged 1 commit into from Jun 25, 2015
Merged

Conversation

occho
Copy link
Contributor

@occho occho commented Jun 24, 2015

NPE occurs at the line below when withArguments() is passed just two arguments, where the first one is not null and the second one is null.
master...occho:master#diff-cc5b1cb3f25544c6d7ad4d0ba720bf87R40

A simple test with a variable arity method.
https://gist.github.com/occho/32583fc23183e2aca6fa

johanhaleby added a commit that referenced this pull request Jun 25, 2015
Fix NPE constructor withArguments()
@johanhaleby johanhaleby merged commit 173010d into powermock:master Jun 25, 2015
@johanhaleby
Copy link
Collaborator

Thank you

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

Successfully merging this pull request may close these issues.

None yet

2 participants