You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2019/03/06 14:14:24 UTC

[Bug 63238] New: While starting Jmeter by bypassing proxy it is returning "java.lang.NullPointerException: null"

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: issues@jmeter.apache.org
          Reporter: pravinjha9324@gmail.com
                CC: pravinjha9324@gmail.com
  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.

[Bug 63238] While starting Jmeter by bypassing proxy it is returning "java.lang.NullPointerException: null"

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63238

Pravin <pr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows 10

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

[Bug 63238] While starting Jmeter by bypassing proxy it is returning "java.lang.NullPointerException: null"

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63238

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |DUPLICATE
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Keywords|                            |FixedInTrunk
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---


*** This bug has been marked as a duplicate of bug 63207 ***

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