https://bz.apache.org/bugzilla/show_bug.cgi?id=63238

            Bug ID: 63238
           Summary: While starting Jmeter by bypassing proxy it is
                    returning "java.lang.NullPointerException: null"
           Product: JMeter
           Version: 5.1
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: JMETER_5.2

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to