System.UnauthorizedAccessException

Access to the path 'jni4net.n-0.8.6.0.dll' i s denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recur sive) at net.sf.robocode.dotnet.host.seed.AppDomainShell.Dispose() at net.sf.robocode.dotnet.repository.root.DllRootHelper.Refresh() at net.sf.robocode.dotnet.repository.root.__DllRootHelper.Refresh0(IntPtr __e nvp, JniLocalHandle __class) at net.sf.robocode.dotnet.repository.root.DllRootHelper.Refresh(Native M ethod) at net.sf.robocode.dotnet.repository.root.handlers.DllHandler.close(DllH andler.java:41) at net.sf.robocode.repository.root.handlers.RootHandler.closeHandlers(Ro otHandler.java:57) at net.sf.robocode.repository.Database.update(Database.java:64) at net.sf.robocode.repository.RepositoryManager.refresh(RepositoryManage r.java:85) at net.sf.robocode.repository.RepositoryManager.reload(RepositoryManager .java:114) at net.sf.robocode.repository.RepositoryManager.checkDbExists(Repository Manager.java:287) at net.sf.robocode.repository.RepositoryManager.loadSelectedRobots(Repos itoryManager.java:157) at net.sf.robocode.battle.BattleManager.startNewBattle(BattleManager.jav a:128) at net.sf.robocode.core.RobocodeMain.run(RobocodeMain.java:166)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • System.UnauthorizedAccessException: Access to the path 'jni4net.n-0.8.6.0.dll' i s denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recur sive) at net.sf.robocode.dotnet.host.seed.AppDomainShell.Dispose() at net.sf.robocode.dotnet.repository.root.DllRootHelper.Refresh() at net.sf.robocode.dotnet.repository.root.__DllRootHelper.Refresh0(IntPtr __e nvp, JniLocalHandle __class) at net.sf.robocode.dotnet.repository.root.DllRootHelper.Refresh(Native M ethod) at net.sf.robocode.dotnet.repository.root.handlers.DllHandler.close(DllH andler.java:41) at net.sf.robocode.repository.root.handlers.RootHandler.closeHandlers(Ro otHandler.java:57) at net.sf.robocode.repository.Database.update(Database.java:64) at net.sf.robocode.repository.RepositoryManager.refresh(RepositoryManage r.java:85) at net.sf.robocode.repository.RepositoryManager.reload(RepositoryManager .java:114) at net.sf.robocode.repository.RepositoryManager.checkDbExists(Repository Manager.java:287) at net.sf.robocode.repository.RepositoryManager.loadSelectedRobots(Repos itoryManager.java:157) at net.sf.robocode.battle.BattleManager.startNewBattle(BattleManager.jav a:128) at net.sf.robocode.core.RobocodeMain.run(RobocodeMain.java:166) at java.lang.Thread.run(Thread.java:722)

    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

    We couldn't find other users who have seen this exception.