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/06/03 16:26:11 UTC

[Bug 62281] Cannot Load MapProperty - java.lang.NullPointerException

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |JMETER_4.1
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for your contribution.

I can't get your jmx file to work, but I think that is because the jmx file is
not correct.

It would be nice, if you could check, whether the fix works for you.

Date: Sun Jun  3 13:44:15 2018
New Revision: 1832768

URL: http://svn.apache.org/viewvc?rev=1832768&view=rev
Log:
Prevent NPE in MapProperty.

Initialize the backing Map when no Map was passed into constructor.
Patch by belugabehr (dam6923 at gmail.com)

Bugzilla Id: 62281

Added:
   
jmeter/trunk/test/src/org/apache/jmeter/testelement/property/MapPropertyTest.java
  (with props)
Modified:
   
jmeter/trunk/src/core/org/apache/jmeter/testelement/property/MapProperty.java
    jmeter/trunk/xdocs/changes.xml

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