java.io.FileNotFoundException: \test.log (Access is denied)


Samebug tips1

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


2 weeks ago

Solutions on the web828

Solution icon of web
\test.log (Access is denied)

Solution icon of coderanch
via Coderanch by Jaykiran Teraiya, 11 months ago
template.xlsx (Access is denied)

Solution icon of coderanch
via Coderanch by Ahmed Jadoon, 9 months ago
debug.keystore (Access is denied)

Solution icon of oraclecommunity
via Oracle Community by SaichandVaranasi, 3 months ago
.\snps_login_security.xml (Access is denied)

Solution icon of stackoverflow
test.txt (Access is denied)

Solution icon of stackoverflow
via Stack Overflow by Priyam
, 1 year ago
vidyav.docx (Access is denied)

Solution icon of web
via knowcoding.com by Unknown author, 1 year ago
C: (Access is denied)

Solution icon of web
\new_report.rptdesign.html (Access is denied)

Solution icon of oraclecommunity
via Oracle Community by 713392, 1 year ago
.\snps_login_security.xml (Access is denied)

Solution icon of stackoverflow
\NS.xml (Access is denied)

Stack trace

java.io.FileNotFoundException: \test.log (Access is denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
	at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
	at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
	at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)
	at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
	at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
	at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
	at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
	at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
	at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
	at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
	at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
	at org.jboss.logging.log4j.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:80)
	at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:393)
	at org.jboss.logging.Logger.<init>(Logger.java:119)
	at org.jboss.logging.Logger.getLogger(Logger.java:357)
	at org.jboss.ws.tools.WSTools.<clinit>(Unknown Source)
	at org.jboss.ws.tools.ant.wstools.execute(Unknown Source)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at org.apache.tools.ant.Main.runBuild(Main.java:668)
	at org.apache.tools.ant.Main.startAnt(Main.java:187)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
825 times, 1 year ago
164 more bugmates