Am 25.04.22 um 14:06 schrieb Stuart Kenworthy:
Seem to have identified the issue, but not sure why it is so. When I say a clean installation, I did have to add a custom jar in there for authentication purposes. This jar seems to be quietly causing issues with the JMeter installation, I have no idea why, it is an internal binary for creating auth tokens. I also noticed my log files did not go through so the full call error is:java.lang.NoSuchMethodError: org.apache.jmeter.save.converters.HashTreeConverter.readBareItem(Lcom/thoughtworks/xstream/io/HierarchicalStreamReader;Lcom/thoughtworks/xstream/converters/UnmarshallingContext;Ljava/lang/Object;)Ljava/lang/Object;
That probably not the complete error (in jmeter.log, that is). It should be longer and point to the location, where this was called.
As a side note. The method readBareItem comes from the xstream library and should be found on the HashTreeConverter. Do you have older xstream libraries in the new installation directory?
What have you added to your installation to get your custom binary installed?
Felix
so may be a conflict in xstream libraries but once again no real information being provided by JMeter and there is no reference to these packages in the custom jar. From: Stuart Kenworthy<stuart.kenwor...@bjss.com> Sent: 25 April 2022 12:36 To: JMeter Users List<user@jmeter.apache.org> Subject: JMeter 5.4.3 unable to open jmx created in 5.2.1 I am currently going through an upgrade of our JMeter instances from 5.2.1 to 5.4.3. Most of our existing scripts were generated in JMeter 5.2.1, and all have been modified in such so they are all compliant with 5.2.1. When I try to open any of my scripts with either the default JMeter properties files, or our customised properties files we get an exception java.lang.NoSuchMethodError: org.apache.jmeter.save.converters.HashTreeConverter.readBareItem The full log sanitised log file has been included in the exception in a clean instance of jmeter 5.4.3. The script being loaded (portalLogOut.jmx) is one of our simplest. It was created in 5.2.1 and contains a single TestFragmentController, which contains a HttpTestSamplerGui, JSR223PostProcessor and Header Manager. As we are not undertaking a major release upgrade, I was expecting this to be a trivial move. I am struggling to find any other evidence of this occurring in the wild but also cannot find a recommended upgrade path from 5.2.1 to 5.4.3. I would like to avoid going through every version in between if I can. Any advice on how to resolve this issue? Thanks The information included in this email and any files transmitted with it may contain information that is confidential and it must not be used by, or its contents or attachments copied or disclosed to, persons other than the intended addressee. If you have received this email in error, please notify BJSS. In the absence of written agreement to the contrary BJSS' relevant standard terms of contract for any work to be undertaken will apply. Please carry out virus or such other checks as you consider appropriate in respect of this email. BJSS does not accept responsibility for any adverse effect upon your system or data in relation to this email or any files transmitted with it. BJSS Limited, a company registered in England and Wales (Company Number 2777575), VAT Registration Number 613295452, Registered Office Address, 1 Whitehall Quay, Leeds, LS1 4HR The information included in this email and any files transmitted with it may contain information that is confidential and it must not be used by, or its contents or attachments copied or disclosed to, persons other than the intended addressee. If you have received this email in error, please notify BJSS. In the absence of written agreement to the contrary BJSS' relevant standard terms of contract for any work to be undertaken will apply. Please carry out virus or such other checks as you consider appropriate in respect of this email. BJSS does not accept responsibility for any adverse effect upon your system or data in relation to this email or any files transmitted with it. BJSS Limited, a company registered in England and Wales (Company Number 2777575), VAT Registration Number 613295452, Registered Office Address, 1 Whitehall Quay, Leeds, LS1 4HR
OpenPGP_0xEA6C3728EA91C4AF.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature