NPE when generating benchmark code
Mark Price
Mark.Price at lmax.com
Wed May 21 16:06:15 UTC 2014
Hm. No Microbenchmarks file in the jar created using the annotation processor:
[pricem at host tfx]$ jar tf build/dist/tfx-test.jar | grep META
META-INF/
META-INF/MANIFEST.MF
I will have another look at my usage tomorrow. Thanks for the suggestions today.
Mark
----- Original Message -----
> On 05/21/2014 05:46 PM, Mark Price wrote:
> > Now that I have a microbenchmark.jar, I am having troubles running
> > the benchmark. Generated files are all present and correct, but are
> > not found when executing the jar.
>
> Benchmarks are listed in META-INF/MicroBenchmarks, and that resource
> file should be present. It is normally generated by JMH generators, and
> should be packaged along with microbenchmark.jar.
>
> -Aleksey.
>
More information about the jmh-dev
mailing list