This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better safety checking for null Wikipedia config parameters #102
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9ec650b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still getting a null error. Here is what my config file for the trace file looks like:
C:\Users\IBM_ADMIN\Documents\GitHub\oltpbench\config\traces\wikipedia-100k.trace
10
<base_ip>10.1.</base_ip>
9ec650b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9ec650b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C:\Users\IBM_ADMIN\Documents\GitHub\oltpbench>oltpbenchmark.bat -b wikipedia -c
config/sample_wiki_config.xml --create=true --load=true
Exception in thread "main" java.lang.RuntimeException: Failed to create new inst
ance of WikipediaBenchmark
at com.oltpbenchmark.util.ClassUtil.newInstance(ClassUtil.java:182)
at com.oltpbenchmark.util.ClassUtil.newInstance(ClassUtil.java:166)
at com.oltpbenchmark.DBWorkload.main(DBWorkload.java:231)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.oltpbenchmark.util.ClassUtil.newInstance(ClassUtil.java:180)
... 2 more
Caused by: java.lang.NullPointerException
at java.io.File.(Unknown Source)
at com.oltpbenchmark.benchmarks.wikipedia.WikipediaBenchmark.(Wiki
pediaBenchmark.java:65)
... 7 more