NPE in Runner.run().entrySet() in JMH > 0.4.2

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Apr 10 18:56:54 UTC 2014


On 04/10/2014 10:44 PM, Roman Leventov wrote:
>  BTW with JMH 0.4.2 this line also cause NPE when pattern (from
> command line) don't match any methods (for example, because of a
> typo).

That's because we should not be that liberal with returning nulls. Fixed
in tip [1]. Can you try to build the bleeding edge (1.0-SNAPSHOT) and
try again?

-Aleksey

[1] http://hg.openjdk.java.net/code-tools/jmh/rev/44b34803e101



More information about the jmh-dev mailing list