java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\\jenkins\\workspace\\9-dev\\jaxp\\test\\javax\\xml\\jaxp\\unittest\\validation\\Bug6773084In\\Bug6773084_11.xml" "read") at java.security.AccessControlContext.checkPermission(java.base@9-ea/AccessControlContext.java:468) at java.security.AccessController.checkPermission(java.base@9-ea/AccessController.java:894) at java.lang.SecurityManager.checkPermission(java.base@9-ea/SecurityManager.java:548) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.isDirectory(java.base@9-ea/File.java:845) at java.io.File.toURI(java.base@9-ea/File.java:733) at javax.xml.parsers.DocumentBuilder.parse(java.xml@9-ea/DocumentBuilder.java:205)

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 JDK Bug System by Felix Yang, 1 year ago
access denied ("java.io.FilePermission" "C:\\jenkins\\workspace\\9-dev\\jaxp\\test\\javax\\xml\\jaxp\\unittest\\validation\\Bug6773084In\\Bug6773084_11.xml" "read") at java.security.AccessControlContext.checkPermission(java.base@9-ea
java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\\jenkins\\workspace\\9-dev\\jaxp\\test\\javax\\xml\\jaxp\\unittest\\validation\\Bug6773084In\\Bug6773084_11.xml" "read") at java.security.AccessControlContext.checkPermission(java.base@9-ea/AccessControlContext.java:468) at java.security.AccessController.checkPermission(java.base@9-ea/AccessController.java:894) at java.lang.SecurityManager.checkPermission(java.base@9-ea/SecurityManager.java:548) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.isDirectory(java.base@9-ea/File.java:845) at java.io.File.toURI(java.base@9-ea/File.java:733) at javax.xml.parsers.DocumentBuilder.parse(java.xml@9-ea/DocumentBuilder.java:205)
at validation.Bug6773084Test$XMLValiddator.run(Bug6773084Test.java:124)

Users with the same issue

You are the first who have seen this exception.

Write tip

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