slachiewicz / caliper

Automatically exported from code.google.com/p/caliper
Apache License 2.0
0 stars 0 forks source link

NPE in the console result processor #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DemoBenchmark

http://code.google.com/p/caliper/source/browse/examples/src/main/java/examples/D
emoBenchmark.java

hangs/takes forever

if it really works, meaningful progress report should be shown

Original issue reported on code.google.com by Andrei.Pozolotin on 10 Jan 2013 at 4:38

GoogleCodeExporter commented 9 years ago
it blows up

java.lang.NullPointerException
    at com.google.caliper.runner.ConsoleResultProcessor.processRun(ConsoleResultProcessor.java:110)
    at com.google.caliper.runner.CaliperRun.run(CaliperRun.java:143)
    at com.google.caliper.runner.CaliperMain.exitlessMain(CaliperMain.java:90)
    at com.google.caliper.runner.CaliperMain.main(CaliperMain.java:60)
    at com.google.caliper.runner.CaliperMain.main(CaliperMain.java:49)
    at com.barchart.bench.caliper.DemoBenchmark.main(DemoBenchmark.java:55)

since no one inits defaults for scenario.vmArguments

Original comment by Andrei.Pozolotin on 10 Jan 2013 at 4:57

GoogleCodeExporter commented 9 years ago
I think that this issue is really just a side-effect of not having done a 1.0 
push in a while.  I.e. this is almost certainly already fixed.  I hope to push 
an update very soon.

For now I'll mark this fixed and ping the bug when new code has been pushed.

Sorry for the inconvenience in the meantime.

Original comment by gak@google.com on 10 Jan 2013 at 6:16

GoogleCodeExporter commented 9 years ago
The Google-internal version has been sync'd.  Fee free to re-open if you're 
still having issues.

Original comment by gak@google.com on 11 Jan 2013 at 8:22