Skip to content

[BoardManager] package_index.json.tmp is being used by another process #8753

@akshaymali046

Description

@akshaymali046
Error:
Error downloading https://downloads.arduino.cc/packages/package_index.json
java.lang.RuntimeException: java.lang.Exception: Error downloading https://downloads.arduino.cc/packages/package_index.json
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:150)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://downloads.arduino.cc/packages/package_index.json
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:139)
   at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:333)
   at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:307)
   at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:285)
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:146)
   ... 1 more
Caused by: java.nio.file.FileSystemException: C:\Users\Patil\AppData\Local\Arduino15\package_index.json.tmp: The process cannot access the file because it is being used by another process.

   at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
   at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
   at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
   at java.nio.file.Files.delete(Files.java:1126)
   at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:156)
   at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:132)
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:137)
   ... 5 more
Error downloading https://downloads.arduino.cc/packages/package_index.json
java.lang.RuntimeException: java.lang.Exception: Error downloading https://downloads.arduino.cc/packages/package_index.json
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:150)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://downloads.arduino.cc/packages/package_index.json
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:139)
   at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:333)
   at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:307)
   at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:285)
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:146)
   ... 1 more
Caused by: java.nio.file.FileSystemException: C:\Users\Patil\AppData\Local\Arduino15\package_index.json.tmp: The process cannot access the file because it is being used by another process.

   at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
   at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
   at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
   at java.nio.file.Files.delete(Files.java:1126)
   at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:156)
   at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:132)
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:137)
   ... 5 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Board/Lib ManagerBoards Manager or Library ManagerOS: WindowsSpecific to the Windows version of the Arduino IDEType: BugWaiting for feedbackMore information must be provided before we can proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions