ashoknellore / oltpbenchmark

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

ERROR - Failed to find DDL file for jpab #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.[mravi@localhost oltpbench-master]$ ./oltpbenchmark -b jpab -c 
config/sample_jpab_config.xml --create=true  -s 1 -o outputfile
10:56:38,403 (DBWorkload.java:295) INFO  - 
********************************************************************************
**

Benchmark:     JPAB {com.oltpbenchmark.benchmarks.jpab.JPABBenchmark}
Configuration: config/sample_jpab_config.xml
Type:          MYSQL
Driver:        com.mysql.jdbc.Driver
URL:           jdbc:mysql://localhost:3306/jpab
Isolation:     TRANSACTION_SERIALIZABLE
Scale Factor:  1000000.0

10:56:38,406 (DBWorkload.java:296) INFO  - 
********************************************************************************
**
10:56:38,420 (DBWorkload.java:343) INFO  - Creating new JPAB database...
10:56:38,961 (BenchmarkModule.java:192) ERROR - Failed to find DDL file for jpab
Exception in thread "main" java.lang.RuntimeException: Unexpected error when 
trying to create the jpab database
        at com.oltpbenchmark.api.BenchmarkModule.createDatabase(BenchmarkModule.java:243)
        at com.oltpbenchmark.api.BenchmarkModule.createDatabase(BenchmarkModule.java:222)
        at com.oltpbenchmark.DBWorkload.runCreator(DBWorkload.java:476)
        at com.oltpbenchmark.DBWorkload.main(DBWorkload.java:344)
Caused by: java.lang.NullPointerException
        at java.io.FileInputStream.<init>(FileInputStream.java:134)
        at java.io.FileReader.<init>(FileReader.java:72)
        at com.oltpbenchmark.util.ScriptRunner.runScript(ScriptRunner.java:95)
        at com.oltpbenchmark.api.BenchmarkModule.createDatabase(BenchmarkModule.java:241)
        ... 3 more

Original issue reported on code.google.com by ps...@cloudtree.net on 17 Sep 2013 at 5:52