You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/11/11 06:29:56 UTC
[Bug 64916] New: java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
Bug ID: 64916
Summary: java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local
class incompatible: stream classdesc serialVersionUID
= 2, local class serialVersionUID = 1
Product: JMeter
Version: 5.3
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: 328808193@qq.com
Target Milestone: JMETER_5.4
Created attachment 37556
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37556&action=edit
error info
JSONPathAssertion:when I use this class to new a instance to generate a
hashtree for save as a jmx file, run the testplan,the jmeter.log has a error
occured.
env: jmeter deploy in the k8s with one master and three slave,the dockerfile
pull the jmeter from https://archive.apache.org/dist/jmeter/binaries/
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Are you sure, that all JMeter nodes have the same image (especially jars)? This
seems to be a problem with mixed JMeter versions in a clustered setup. That is
not supported.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
raistlin <32...@qq.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |INVALID
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Looks like a setup issue , not a JMeter one, so closing.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
raistlin <32...@qq.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |Linux
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
raistlin <32...@qq.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #2 from raistlin <32...@qq.com> ---
if I use the jmeter-plugin, JsonPathAssertion will reload in the ext of
lib,sure?
so the serialVersionUID = 1 will be find?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64916] java.io.InvalidClassException:
org.apache.jmeter.assertions.JSONPathAssertion; local class incompatible:
stream classdesc serialVersionUID = 2, local class serialVersionUID = 1
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64916
--- Comment #3 from Felix Schumacher <fe...@internetallee.de> ---
The JSONPathAssertion you are looking for is the one, that is distributed with
JMeter. As written previously, look for jar files in your Docker images, that
contain the JSONPathAssertion class and make sure, they are from the same
version of JMeter.
In shell syntax, you could use something like the following:
find . -name "*.jar" -type f | while read i; do
jar tf $i | grep JSONPathAssertion && md5sum $i;
done
The script snippet assumes, that you run it from within the JMeter directory.
The expected result is, that you get only one hit for a jar and that the md5sum
for the jar is the same for all of your images/nodes.
--
You are receiving this mail because:
You are the assignee for the bug.