Arduino App crashes on startup

Could you help me with this issue?

Windows 11
Arduino 1.8.19

 C:\Program Files (x86)\Arduino> .\arduino_debug.exe
Loading configuration...
Initializing packages...
Preparing boards...
java.io.IOException: The cloud file provider is not running
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:255)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at java.io.BufferedReader.fill(BufferedReader.java:161)
        at java.io.BufferedReader.readLine(BufferedReader.java:324)
        at java.io.BufferedReader.readLine(BufferedReader.java:389)
        at processing.app.legacy.PApplet.loadStrings(PApplet.java:249)
        at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:100)
        at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:74)
        at processing.app.packages.UserLibrary.create(UserLibrary.java:77)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanLibrary(LibrariesIndexer.java:226)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:203)
        at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:163)
        at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:681)
        at processing.app.Base.onBoardOrPortChange(Base.java:1339)
        at processing.app.Base$11.actionPerformed(Base.java:1572)
        at processing.app.Base.rebuildBoardsMenu(Base.java:1544)
        at processing.app.Base.<init>(Base.java:279)
        at processing.app.Base.main(Base.java:150)
java.lang.NullPointerException
        at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:101)
        at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:74)
        at processing.app.packages.UserLibrary.create(UserLibrary.java:77)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanLibrary(LibrariesIndexer.java:226)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:203)
        at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:163)
        at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:681)
        at processing.app.Base.onBoardOrPortChange(Base.java:1339)
        at processing.app.Base$11.actionPerformed(Base.java:1572)
        at processing.app.Base.rebuildBoardsMenu(Base.java:1544)
        at processing.app.Base.<init>(Base.java:279)
        at processing.app.Base.main(Base.java:150)

From memory, that has been reported a couple of times. Again from memory, solutions were provided.

I suggest that you do a search for the quoted error, i unfortunately don't have the time and energy for it at this moment. You can use both the forum search or a google search (add Arduino as a keyword).

Thank you sterretje!
I have figured out. Arduino is trying to use a folder mapped to OneDrive in the OS
I will try to map all Arduino folders to somewhere outside OneDrive - ideally portable

Thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.