jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Pokhilko <a...@ya.ru>
Subject Possible NPE in FileServer
Date Fri, 06 Feb 2015 22:48:39 GMT
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?

-- 
Andrey Pokhilko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message