0
votes

Getting

'An error occurred: org.apache.jorphan.collections.HashTree.replaceKey(Ljava/lang/Object;Ljava/lang/Object;)' when tried to run the jmeter test in non gui mode with master and slave concept (jmeter version: 3.1, java: 7).

please suggest. jmeterlogfile

jmeter new log file

1
Full stacktrace or jmeter.log file, please - Dmitri T
Thanks for quick reply. I am using EC2 instance with docker images/continer(jmeter 3.1). Under bin folder not able to see jmeter.log file. Please suggest where can i see log files. - la1
Try launching JMeter as jmeter -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx -Dserver_port=1099 -s -j jmeter.log - Dmitri T
Thanks @DmitriT. I have attached the jmeter.log file as screenshot in the original post. Please suggest. - la1
This is clear now, thanks - Dmitri T

1 Answers

0
votes

You have master and slave versions mismatch, one of them is JMeter 2.13 and the other one is JMeter 3.1.

Make sure you upgrade all JMeter instances to JMeter 3.1 and the issue should be resolved.

Also make sure that Java version is the same, as you seem to have Java 7 on one machine and Java 8 on the other.

Reference: Remote Testing User Manual Chapter:

Step 0: Configure the nodes

Make sure that all the nodes (client and servers) :

  • are running exactly the same version of JMeter.

  • are using the same version of Java on all systems. Using different versions of Java may work but is discouraged.