-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Issue]: Error while processing sampler: 'Kafka Broker'. java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "registry" is null #428
Comments
Can someone please help me here. |
Could you add the jmx without the Prometheus plugin part to give it a look? |
Here's the file without Prometheus. Thank you very much for looking at it. |
I need to upgrade to the latest jmeter version 5.6.3 for security reasons - I am currently still using version 5.5. They are forcing me to switch to 5.6.3 as soon as possible. If I don't have a solution for kloadgen, I will have to remove kloadgen with a heavy heart. I would be very happy if kloadgen would work for me. |
This is really odd and sad. Still do not know why is failing to your setup since we aree working in the latest for a while. Cheers |
I am using JMeter 5.6.2, Windows 10, Java 17.0.3.1, kloadgen 5.6.10 (from https://mvnrepository.com/artifact/com.sngular/kloadgen/5.6.10). I have uploaded the JMX file, jmeter.log, property files and a screenshot with a list of the plugins in a ZIP file. I also had the errors based on kloadgen 5.6.7 (I built a version myself because the one provided had dependency errors). If you need anything else to analyse, just let me know. Thank you very much for looking at this :-) |
The same error occurs on Ubuntu Linux 22.04 as well. Is there any way I can assist in resolving the issue? |
We had tried to reproduce in the same O.S. and versions and we could not see it failing. For all of us is working like a charm. Is there any other way you can send to us. |
I have downloaded JMeter version 5.6.2 and kloadgen 5.6.11 again. Nothing else. I still get the error. I can use the button "Test Registry", press the button "Load Subject" at Key Schema and Value Schema, everything is ok. Only when I start the load test do I get the reported errors. I am now completely at a loss!?!? |
Sorry, i meant kloadgen 5.6.10. |
@xck1007 did u get a solution for this |
What happened?
I get nullpointer exceptions when calling the kafka broker (java request). I can call the schema registry on a test basis. I can call the key schema und the value schema. But the java request (Kafka Broker) receives errors.
Error.zip
KloadGen Version
my built version 5.6.11 on the basis of 5.6.7
Relevant log output
Have you added your JMX Testplan or a replica?
Have you added your Schema or a replica?
The text was updated successfully, but these errors were encountered: