gordonad / powermock

Automatically exported from code.google.com/p/powermock
0 stars 0 forks source link

invokeMethod throws NPE when an argument is null when the method cannot be found #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
java.lang.NullPointerException
at org.powermock.Whitebox.getArgumentsAsString(Whitebox.java:529)
at org.powermock.Whitebox.throwExceptionIfMethodWasNotFound(Whitebox.java:508)
at org.powermock.Whitebox.findMethodOrThrowException(Whitebox.java:425)
at org.powermock.Whitebox.doInvokeMethod(Whitebox.java:341)
at org.powermock.Whitebox.invokeMethod(Whitebox.java:277)

Original issue reported on code.google.com by johan.ha...@gmail.com on 27 Oct 2008 at 1:18

GoogleCodeExporter commented 8 years ago
invokeMethod no longer throws NullPointerException when an argument is null 
when the
method cannot be found

Original comment by johan.ha...@gmail.com on 29 Oct 2008 at 2:23