Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during start when config not readable #211

Closed
zapbot opened this issue Jun 4, 2015 · 2 comments
Closed

Exception during start when config not readable #211

zapbot opened this issue Jun 4, 2015 · 2 comments

Comments

@zapbot
Copy link
Contributor

zapbot commented Jun 4, 2015

When the configuration files are not accessible, ZAP won't start and throws an exception
instead of returning a error message with hints on how to fix... (Has to be fixed by
the user)

I am not a Windows user, the guy who told me about this issue said that he installed
ZAP using the "Run as Administrator" feature...

Does this happen for all users who install ZAP using "Run as Administrator"?


C:\Program Files (x86)\OWASP\Zed Attack Proxy>java -jar zap.jar org.zaproxy.zap.ZAP
Unable to upgrade config file C:\Users\ibuetler\OWASP ZAP\config.xml xml\config.old
(Access is denied)
java.io.FileNotFoundException: xml\config.old (Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.parosproxy.paros.model.FileCopier.copyLegacy(Unknown Source)
        at org.parosproxy.paros.model.FileCopier.copy(Unknown Source)
        at org.parosproxy.paros.Constant.initializeFilesAndDirectories(Unknown Source)
        at org.parosproxy.paros.Constant.<init>(Unknown Source)
        at org.parosproxy.paros.Constant.getInstance(Unknown Source)
        at org.zaproxy.zap.ZAP.main(Unknown Source)

Original issue reported on code.google.com by a.c.neumann on 2011-10-27 06:15:10

@zapbot
Copy link
Contributor Author

zapbot commented Jun 4, 2015

(No text was entered with this change)

Original issue reported on code.google.com by psiinon on 2011-10-27 07:18:11

@lock
Copy link

lock bot commented Nov 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant