You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/03/09 13:56:12 UTC
[Bug 59153] New: java.io.FileNotFoundException with a CSV Data Set
Config + empty filemane field
https://bz.apache.org/bugzilla/show_bug.cgi?id=59153
Bug ID: 59153
Summary: java.io.FileNotFoundException with a CSV Data Set
Config + empty filemane field
Product: JMeter
Version: Nightly (Please specify date)
Hardware: PC
OS: Windows NT
Status: NEW
Severity: minor
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: ra0077@gmail.com
Created attachment 33653
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33653&action=edit
Test plan to reproduce the bug
Hi,
Whe you add a CSV Data Set Config in your test plan and you don't fill the
filename field we have an exception
ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.IllegalArgumentException: Could not read file header line
at org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:280)
at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:178)
at
org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:405)
at
org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:397)
at
org.apache.jmeter.control.GenericController.next(GenericController.java:158)
at org.apache.jmeter.control.LoopController.next(LoopController.java:123)
at
org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:87)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:238)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\XXXXXXXXX (Accès refusé)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.apache.jmeter.services.FileServer.createBufferedReader(FileServer.java:419)
at org.apache.jmeter.services.FileServer.readLine(FileServer.java:345)
at org.apache.jmeter.services.FileServer.readLine(FileServer.java:329)
at org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:277)
... 8 more
Antonio
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59153] java.io.FileNotFoundException with a CSV Data Set Config
+ empty filemane field
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59153
Antonio Gomes Rodrigues <ra...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |---
Status|RESOLVED |REOPENED
--- Comment #3 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
New fix provided with PR 167
Antonio
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59153] java.io.FileNotFoundException with a CSV Data Set Config
+ empty filemane field
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59153
--- Comment #1 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
PR 162 commited
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59153] java.io.FileNotFoundException with a CSV Data Set Config
+ empty filemane field
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59153
Vladimir Sitnikov <si...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Vladimir Sitnikov <si...@gmail.com> ---
Fixed in r1737490
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59153] java.io.FileNotFoundException with a CSV Data Set Config
+ empty filemane field
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59153
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #2 from Sebb <se...@apache.org> ---
This is not a bug.
Nor do I think it should be implemented as an enhancement.
Why should a missing file name be treated any differently from a missing file?
This will cause problems for a working test plan if the file name is
accidentally wiped; far better to fail than to continue.
--
You are receiving this mail because:
You are the assignee for the bug.