java.io.FileNotFoundException: /home/username/src/xxx/build/reports/tests (No such file or directory)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

try new webdriver if you have this error with firefox while uploading files

Solutions on the web

via GitHub by jtzwu
, 1 year ago
/home/username/src/xxx/build/reports/tests (No such file or directory)
via GitHub by luchuantao
, 2 months ago
/RemoteControlPC/screenshot.png (No such file or directory)
via Oracle Community by 807573, 4 months ago
/AccessManager/AMConfig_sun_webserver7_https-VMAM_web-app_VMAM_amserver_ (No such file or directory) [12/Mar/2008:17:20:41] warning ( 6851): CORE3283: stderr:
via Stack Overflow by Ondrej Tokar
, 1 year ago
data/04-12-2015.csv (No such file or directory)
via Coderanch by Sophie Jo, 1 year ago
c:\got\b.txt b.txt (The filename, directory name, or volume label syntax is incorrect)
via JIRA by Don Mimlitch, 1 year ago
/tmp/wado/requestType%3DWADO%26studyUID%3D91.2.860.81180.33.17.12.803.48.246.110.20090313081753567%26seriesUID%3D94.3.880.11478.52.70.67.613.29.60.133.20090313081753567%26objectUID%3D1.24.746.5.489333.63.4.3.60.5310.20090313081755351%26contentType%3Dapplication%2Fdicom (File name too long)
java.io.FileNotFoundException: /home/username/src/xxx/build/reports/tests (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:212)
at java.io.FileOutputStream.(FileOutputStream.java:165)
at org.scalatest.tools.HtmlReporter.(HtmlReporter.scala:57)
at org.scalatest.tools.ReporterFactory.createHtmlReporter(ReporterFactory.scala:118)
at org.scalatest.tools.ReporterFactory.org$scalatest$tools$ReporterFactory$$getReporterFromConfiguration$1(ReporterFactory.scala:155)
at org.scalatest.tools.ReporterFactory$$anonfun$1.apply(ReporterFactory.scala:162)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1156)
at org.scalatest.tools.ReporterConfigurations.foreach(ReporterConfiguration.scala:37)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at org.scalatest.tools.ReporterConfigurations.map(ReporterConfiguration.scala:37)
at org.scalatest.tools.ReporterFactory.getDispatchReporter(ReporterFactory.scala:161)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1643)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:703)
at org.scalatest.tools.Runner$.main(Runner.scala:573)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
93 times, 4 weeks ago
166 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.