jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Possible NPE in FileServer
Date Mon, 09 Feb 2015 00:16:40 GMT
On 8 February 2015 at 17:08, Andrey Pokhilko <apc4@ya.ru> wrote:
> It occurs when you have CSV Data Set and specified file was not found.
> Then in the log there is one exception about "file not found" and many
> of NPE, I guess for every iteration.

Which class?
What line number?

> Andrey Pokhilko
>
> On 02/08/2015 04:36 AM, sebb wrote:
>> On 6 February 2015 at 22:48, Andrey Pokhilko <apc4@ya.ru> wrote:
>>> Hi,
>>>
>>> I just met the situation, when this line of code returns null and
>>> causing NPE:
>>> https://github.com/apache/jmeter/blob/31c3385075bff2140a4c2b6cdaa2c4a4c1a4a76e/src/core/org/apache/jmeter/services/FileServer.java#L286
>>>
>>> fileEntry.headerLine will be non-null only if hasHeader parameter is
>>> true. Is this what expected?
>> The Javadoc says the method can return null.
>>
>> Where does the NPE occur?
>>
>>> --
>>> Andrey Pokhilko
>>>
>

Mime
View raw message