oltpbench icon indicating copy to clipboard operation
oltpbench copied to clipboard

Null pointer exception

Open yanivg10 opened this issue 4 years ago • 0 comments

More than once I received a null pointer exception while using oltpbench in execute mode (tpcc and postgres):

19:52:51,566 (DBWorkload.java:271) INFO - ====================================================================== 19:52:51,576 (DBWorkload.java:849) INFO - Creating 12 virtual terminals... 19:52:51,776 (DBWorkload.java:854) INFO - Launching the TPCC Benchmark with 1 Phase... 19:52:51,788 (ThreadBench.java:341) INFO - ^[[0;1mPHASE START^[[0;0m :: [Workload=TPCC] [Serial=false] [Time=58] [WarmupTime=0] [Rate=unlimited] [Arrival=REGULAR] [Ratios=[45.0, 43.0, 4.0, 4.0, 4.0]] [A$ 19:52:52,789 (ThreadBench.java:492) INFO - ^[[0;1mMEASURE^[[0;0m :: Warmup complete, starting measurements. 19:53:50,789 (ThreadBench.java:447) INFO - ^[[0;1mTERMINATE^[[0;0m :: Waiting for all terminals to finish .. java.lang.NullPointerException at com.oltpbenchmark.api.Worker.run(Worker.java:332) at java.lang.Thread.run(Thread.java:748)

Fatal error: local() encountered an error (return code 255) while executing './oltpbenchmark -b tpcc -c ../config/tpcc1_config_postgres.xml --execute=true -s 5 -o 182_2020-10-20-19-52-50 '

Aborting.

yanivg10 avatar Oct 21 '20 05:10 yanivg10