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

While starting Jmeter by bypassing proxy it is returning "java.lang.NullPointerException: null" #5032

Closed
asfimport opened this issue Mar 6, 2019 · 1 comment

Comments

@asfimport
Copy link
Collaborator

Pravin (Bug 63238):
Actual:-
When Jmeter(v5.1) is started using following command by bypassing he proxy it is returning null in console.

Jmeter start up command used to bypass proxy & opnen Jmeter:-
C:\Performance\apache-jmeter-5.1\bin>jmeter.bat -H <proxyName> -P <Port> -u <userName>

Full stack trace from Jmeter.log:-

2019-03-05 19:31:30,482 ERROR o.a.j.JMeter: An error occurred:
java.lang.NullPointerException: null
at org.apache.jmeter.JMeter.setProxy(JMeter.java:763) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.JMeter.start(JMeter.java:490) [ApacheJMeter_core.jar:5.1 r1853635]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191]
at org.apache.jmeter.NewDriver.main(NewDriver.java:253) [ApacheJMeter.jar:5.1 r1853635]

Output from console:-

An error occurred: null
errorlevel=1
Press any key to continue . . .

Note:- When same command is used in Jmeter version 5.0 it is working & I am able to see jmeter GUI opening bypassing proxy server.

Severity: major
OS: All

Duplicated by:

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
This bug has been marked as a duplicate of #5023

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

No branches or pull requests

1 participant