Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS 3.0 java.lang.NullPointerException: null #9

Closed
kankan145 opened this issue May 7, 2020 · 9 comments
Closed

HLS 3.0 java.lang.NullPointerException: null #9

kankan145 opened this issue May 7, 2020 · 9 comments

Comments

@kankan145
Copy link

kankan145 commented May 7, 2020

I has one issue.
HLS sample version: jmeter-bzm-hls-3.0.1
Step:

  1. Jmeter script has HLS sample, run this script in local machine success.
  2. Configure Remote (Distributed) Testing
  3. But send this script to remote, remote fail.

cmd error infomation:

Could not find ApacheJmeter_core.jar ...
... Trying JMETER_HOME=..
Found ApacheJMeter_core.jar
Using local port: 4000
Created remote object: UnicastServerRef2 [liveRef: [endpoint:10.216.19.205:4000
,objID:[-769d26b:171eeae9380:-7fff, -6730233970893481700]]]
Starting the test on host 10.216.19.205:1099 @ Thu May 07 18:29:43 CST 2020 (158
8847383810)
Uncaught Exception java.lang.NullPointerException in thread Thread[StandardJMete
rEngine,5,RMI Runtime]. See log file for details.

Jmeter-server log:
2020-05-07 18:29:44,153 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[StandardJMeterEngine,5,RMI Runtime]
java.lang.NullPointerException: null
at com.blazemeter.jmeter.hls.logic.HlsSampler.testStarted(HlsSampler.java:234) ~[jmeter-bzm-hls-3.0.1.jar:?]
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.testStarted(HTTPSamplerBase.java:1590) ~[ApacheJMeter_http.jar:5.2.1]
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:208) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:381) ~[ApacheJMeter_core.jar:5.2.1]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]

But i replace HLS 2.0 , this issue not reproduce . Jmeter version : 5.2.1

@ingoheut
Copy link

I'm getting the same error message in a distributed (master/slave) configuration. The plugin works fine for me for mpeg dash in a non distributed setup.

@Baraujo25
Copy link
Contributor

Hello,

Thanks for reporting this bug. We have already identified the issue. As @ingoheut has mentioned, this issue is triggered when running a master/slave test.
We have already added this issue to our road map. We will be reaching back to you as soon as possible with any further updates.

Best regards,
Joaquin.

@pipoe2h
Copy link

pipoe2h commented May 30, 2020

Hi Joaquin,

First at all, thank you for the plugin.
In the meantime, is there a workaround that could you share?

Regards,
Jose

@fume
Copy link

fume commented Jul 17, 2020

same issue here with HLS 3.0.2 and jmeter 5.3

@waqqas-meraj-rt
Copy link

Hi, any pointers to how this issue could be resolved until the fix is made available?

@Baraujo25
Copy link
Contributor

Hello,

Thanks everyone for manifesting this issue. We have just released a new version of the plugin, v3.0.3. This release should have fixed this issue when running master-slave tests.

Let us know if the new version solves it.

Note: This version will be available on the Plugin Manager in a couple of days. In the meantime, the plugin can be installed manually.
Steps to install HLS-Plugin manually:

  1. Download all the jar dependencies attached to the last release.
  2. Copy the jar file called jmeter-bzm-hls-3.0.3.jar into JMeterHome/lib/ext/
  3. Copy the leftover jars (should be nine) into the JMeterHome/lib/

Best regards,
Joaquin.

@waqqas-meraj-rt
Copy link

waqqas-meraj-rt commented Jul 29, 2020

Hi @Baraujo25. I installed and tested it. 3 /lib jars (jackson-annoation, jackson-core and jackson-databind) in my installation were on a different version as compared to 3.0.3 release, so I replaced them. Rest of /lib jars were on the same version as in the release. Also, I deleted jmeter-bzm-hls-3.0.1.jar and added jmeter-bzm-hls-3.0.3.jar in /lib/ext.

It works on inital tests (y). Will keep you updated. Thanks!

@Baraujo25
Copy link
Contributor

Hi @waqqas-meraj-rt ,

I'm glad to hear that. Yes, some of the dependencies didn't change its version.

As an update: The plugin is now available for download on Plugin Manager

Best regards,
Joaquin.

@ingoheut
Copy link

ingoheut commented Aug 5, 2020

Hi @Baraujo25,
thank you for you work on the issue. I upgraded the plugin to 3.0.3 and the distributed test setup works great now.
Thank you.
Ingo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants