Summary: | SOAP/XML-RPC Sampler file browser generates NullPointerException | ||
---|---|---|---|
Product: | JMeter | Reporter: | Kenny Yu <kennethyuman> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 2.13 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | jmeter.log |
Description
Kenny Yu
2015-08-28 04:19:55 UTC
I can confirm the NPE in the current development version. It seems that the extensions list contains a null. Not sure yet where this is coming from. I think I've found the problem. The ctor FilePanelEntry(String label, ChangeListener listener, String... exts) was converted to use String ... rather than String[] a long while back. When it is called with a null String as the final parameter, that is converted into an array with a single null entry. Not sure why the compiler does not warn about this. Thanks for the report, fixed here: URL: http://svn.apache.org/r1698295 Log: SOAP/XML-RPC Sampler file browser generates NullPointerException Bugzilla Id: 58293 Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java jmeter/trunk/xdocs/changes.xml |