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/02/25 15:38:59 UTC

[Bug 63207] New: java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options

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

            Bug ID: 63207
           Summary: java.lang.NullPointerException: null when run Jmeter
                    5.1 with proxy options
           Product: JMeter
           Version: 5.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: michaelkhil78@gmail.com
  Target Milestone: JMETER_5.2

Created attachment 36459
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36459&action=edit
log

Hi there !
When I start Jmeter 5.1 with proxy options like jmeter.bat -H host -P port -u
login -a password jmeter failed with error level =1 and in log file
information:
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]

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

[Bug 63207] java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options

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

Mike Khil <mi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #3 from Mike Khil <mi...@gmail.com> ---
yes/ works well in both cases. Thanks

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

[Bug 63207] java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options

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

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you test next CI build which is in progress (if it fails check next
successful one):
https://builds.apache.org/job/JMeter-trunk/7121/

And tell if it works.

As a workaround, add to your command line:

 --proxyScheme http

or 

 --proxyScheme https

Thanks for your feedback.

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

[Bug 63207] java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
                 OS|                            |All
             Status|NEW                         |NEEDINFO
           Hardware|PC                          |All
           Keywords|                            |FixedInTrunk
           Severity|normal                      |regression

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Mon Feb 25 15:47:07 2019
New Revision: 1854317

URL: http://svn.apache.org/viewvc?rev=1854317&view=rev
Log:
Bug 63207 - java.lang.NullPointerException: null when run Jmeter 5.1 with proxy
options
Bugzilla Id: 63207

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 63207] java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pravinjha9324@gmail.com

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 63238 has been marked as a duplicate of this bug. ***

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