SOAP/XML-RPC Sampler file browser generates NullPointerException

Bugzilla Id: 58293


git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1698295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2015-08-28 10:31:36 +00:00
parent afd0116ee8
commit 23964cfea8
2 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,9 @@ public class FilePanelEntry extends HorizontalPanel implements ActionListener {
if (listener != null) {
listeners.add(listener);
}
if (exts != null) {
if (exts != null &&
!(exts.length == 1 && exts[0] == null) // String null is converted to String[]{null}
) {
this.filetypes = new String[exts.length];
System.arraycopy(exts, 0, this.filetypes, 0, exts.length);
} else {

View File

@ -184,6 +184,7 @@ Summary
<li><bug>57821</bug>Command-line option "-X --remoteexit" doesn't work since 2.13 (regression related to <bugzilla>57500</bugzilla>)</li>
<li><bug>57731</bug>TESTSTART.MS has always the value of the first Test started in Server mode in NON GUI Distributed testing</li>
<li><bug>58016</bug> Error type casting using external SSL Provider. Contributed by Kirill Yankov (myworkpostbox at gmail.com)</li>
<li><bug>58293</bug>SOAP/XML-RPC Sampler file browser generates NullPointerException</li>
</ul>
<!-- =================== Thanks =================== -->