java.io.FileNotFoundException: c:\temp\pw.txt (The system cannot find the file specified)

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

Solutions on the web

via Coderanch by nirjari patel, 1 year ago
c:\temp\pw.txt (The system cannot find the file specified)
via Oracle Community by 807605, 4 months ago
mswest.dat (The system cannot find the file specified)
via Stack Overflow by Unknown author, 2 years ago
words.txt (The system cannot find the file specified)
via Stack Overflow by cak nizar
, 2 years ago
C:\Users\june1.json (The system cannot find the file specified)
via Google Groups by ngogovski, 7 months ago
D:\Eclipse_workspace\TestTestNG \suite1.xml (The system cannot find the file specified)
via Google Groups by ngogovski, 2 years ago
D:\Eclipse_workspace\TestTestNG \suite1.xml (The system cannot find the file specified)
java.io.FileNotFoundException: c:\temp\pw.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at java.util.Scanner.(Scanner.java:636)
at com.rbc.ReportDriverRunner.getPassword(AuditReportDriverRunner.java:39)
at com.rbc.analysis.ReportDriverRunner.testRunTheAuditReport(AuditReportDriverRunner.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

5 times, 2 weeks ago
4 times, 1 month ago
2 times, 1 month ago
Once, 3 months ago
5 times, 3 months ago

Write tip

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