jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <>
Subject Possible NPE in converters
Date Mon, 22 Dec 2014 16:34:36 GMT
Hi all,

in the converters in there are a few 
possible NPE. In the method canConvert(Class) often the implementation 
looks like

  "return arg0.equals(SomeClass.class)"

without arg0 being checked for non-null.

I have a patch, that reverts the logic to

  "return SomeClass.class.equals(arg0)"

This is null safe and should return the same values (apart from possible 

Can I check those changes in whithout creating a bugzilla entry?


View raw message