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 2018/10/29 09:22:13 UTC

[Bug 62860] New: JSON Extractor : Avoid NPE and noisy error message "Error processing JSON content in" when variable is not found

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

            Bug ID: 62860
           Summary: JSON Extractor : Avoid NPE and noisy error message
                    "Error processing JSON content in" when variable is
                    not found
           Product: JMeter
           Version: 3.3
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: JMETER_5.1

When using JSON Extractor with "JMeter variable Name to use", if the variable
is missing, then JSON Extractor will trigger a NullPointerException leading to
a logging and setting of default value.
It's cleaner to test the nullity.

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

[Bug 62860] JSON Extractor : Avoid NPE and noisy error message "Error processing JSON content in" when variable is not found

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

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

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

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Mon Oct 29 09:23:28 2018
New Revision: 1845092

URL: http://svn.apache.org/viewvc?rev=1845092&view=rev
Log:
Bug 62860 - JSON Extractor : Avoid NPE and noisy error message "Error
processing JSON content in" when variable is not found
Bugzilla Id: 62860

Modified:
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/JSONPostProcessor.java
    jmeter/trunk/xdocs/changes.xml


Author: pmouawad
Date: Mon Oct 29 09:23:45 2018
New Revision: 1845093

URL: http://svn.apache.org/viewvc?rev=1845093&view=rev
Log:
Bug 62860 - JSON Extractor : Avoid NPE and noisy error message "Error
processing JSON content in" when variable is not found
Bugzilla Id: 62860

Modified:
   
jmeter/trunk/test/src/org/apache/jmeter/extractor/TestJSONPostProcessor.java

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