Stress_Test.xml Unable to parse config file : java.lang.NullPointerException
I'm having problems using the Stress_Test config, I've just downloaded 2.6.1163.
./charbench -c ../configs/Stress_Test.xml -debugf Unable to parse config file : java.lang.NullPointerException please correct the following problem and try again
If I use other config files it seems to read them:
./charbench -c ../configs/SOE_Server_Side_V2.xml -debugf Swingbench Author : Dominic Giles Version : 2.6.0.1163
4:50:08 PM FINE [10] com.dom.benchmarking.swingbench.configuration.Configuration initConfiguration() Connection Refresh set to : null
4:50:08 PM SEVERE [10] com.dom.benchmarking.swingbench.configuration.Configuration
I've tried with the previous charbench and same config file and it seems to work:
./charbench -c ../../swingbench/configs/Stress_Test.xml Author : Dominic Giles Version : 2.6.0.1124 ...
Found a solution: Its faling in the Driver, current setting in the Stress_Test.xml from 2.6.0.1163 is "<DriverType>Oracle10g Type IV jdbc driver (thin)</DriverType>" Change it to "<DriverType>Oracle jdbc Driver</DriverType>" I found this in the other xml's (Github removed my xml tags)
That works, thanks.
[root@vm24 configs]$ cd ../bin/ [root@vm24 bin]$ ./charbench -c ../configs/Stress_Test.xml Swingbench Author : Dominic Giles Version : 2.6.0.1163
but only from the bin dir.
[root@vm24 configs]$ ../bin/charbench -c ./Stress_Test.xml SwingBench config file : ./Stress_Test.xml does not exist. Exiting, please try again [root@vm24 configs]$ ls -l Stress_Test.xml -rwx------. 1 lperf wheel 4578 Apr 26 11:29 Stress_Test.xml