Hi Vladimir,

Why not, but I think we need to:
Add a warning in the beginning of the release notes with "A lot of core
features has been modified, please test your JMeter plugins before
migrating,"
Add a post in JMeter plugins forum which explain modification to allow them
to fix their plugins quickly.



Le jeu. 22 juin 2023 à 09:02, Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
a écrit :

> > Caused by: java.lang.NullPointerException: Cannot invoke
> > "javax.swing.JPanel.remove(int)" because "optionPanel" is null
> >     at
>
> com.blazemeter.jmeter.http2.sampler.gui.HTTP2SamplerPanel.replaceKeepAliveCheckWithHttp1Upgrade(HTTP2SamplerPanel.java:60)
> > ~[jmeter-bzm-http2-2.0.2.jar:?]
> >     at
>
> com.blazemeter.jmeter.http2.sampler.gui.HTTP2SamplerPanel.createTabbedConfigPane(HTTP2SamplerPanel.java:51)
>
> It looks like blazemeter.jmeter.http2 code issue to me.
>
> The code is invasive, and it searches for a JCheckBox:
>
> https://github.com/Blazemeter/jmeter-http2-plugin/blob/94060bdf2f4f04157e6cb1cee408ac44cde1b31b/src/main/java/com/blazemeter/jmeter/http2/sampler/gui/HTTP2SamplerPanel.java#L58-L72
>
> Apparently, the checkbox is no longer there since it has been replaced with
> an editable "checkbox with the expression".
> The code relies on internal structures, and it does not handle nulls
> properly, so I don't quite like to spend my time
> adjusting JMeter to make the exact code in http2 work, and I do not like to
> block the 5.6 release either.
> Surely they can fix the NPE and release an update.
>
> Vladimir
>

Reply via email to