Go Down

Topic: Arduino IDE (1.8.9) cannot open completely... (Read 394 times) previous topic - next topic

Tim0307

While I open my IDE, it just pumps up an initial screen, then it quickly disappeared. I want to deal with it by arduino-debug, but it just like the situation of IDE, quickly disappeared...I print my screen before the arduino-debug screen closed, could anyone please help me...my laptop is Win10...

here's the picture link...I cannot understand what the code means on the debug screen...

https://i.screenshot.net/droknio

pert

Tim0307's picture:


It's possible that you made the screenshot before all the text was printed to the screen. It would also be easier for me to translate the non-English text to English if it wasn't a picture. Please do this:
  • Click the "Start" menu button.
  • Type "cmd" into the search field.
  • Click the search result.
  • In cmd, type "d:" and press Enter.
  • Type "d:\Fake_C_Disk\arduino-1.8.9" and press Enter
  • Type "arduino_debug" and press Enter.
  • After the Arduino IDE fails to start, press Ctrl + A. This will select all text in the cmd window.
  • Press Ctrl + C. This will copy the selected text to the clipboard.
  • In a forum reply here, click the code tags button on the forum toolbar (looks like </>).
  • Press Ctrl + V. This will paste the selected text between the code tags.
  • Click the "Post" button.

Tim0307

Code: [Select]
載入組態...
初始化套件...
正在準備開發板...
java.io.IOException: 雲端檔案提供者未執行。
        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:270)
        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:224)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:201)
        at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:161)
        at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:120)
        at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:678)
        at processing.app.Base.onBoardOrPortChange(Base.java:1317)
        at processing.app.Base$12.actionPerformed(Base.java:1544)
        at processing.app.Base.filterVisibilityOfSubsequentBoardMenus(Base.java:1583)
        at processing.app.Base.access$000(Base.java:89)
        at processing.app.Base$11.actionPerformed(Base.java:1516)
        at processing.app.Base.rebuildBoardsMenu(Base.java:1494)
        at processing.app.Base.<init>(Base.java:275)
        at processing.app.Base.main(Base.java:151)
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:224)
        at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:201)
        at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:161)
        at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:120)
        at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:678)
        at processing.app.Base.onBoardOrPortChange(Base.java:1317)
        at processing.app.Base$12.actionPerformed(Base.java:1544)
        at processing.app.Base.filterVisibilityOfSubsequentBoardMenus(Base.java:1583)
        at processing.app.Base.access$000(Base.java:89)
        at processing.app.Base$11.actionPerformed(Base.java:1516)
        at processing.app.Base.rebuildBoardsMenu(Base.java:1494)
        at processing.app.Base.<init>(Base.java:275)
        at processing.app.Base.main(Base.java:151)

pert

Thanks!

For "雲端檔案提供者未執行。", is this an accurate translation?:
Quote
The cloud file provider was not executed.
Try creating a folder named portable in d:\Fake_C_Disk\arduino-1.8.9 and then starting the Arduino IDE again. Does that make the problem go away?

Tim0307

Thank you so much, pert!!
I think maybe the problem isn't the named of file. I've totally solved my problem.
Preference : https://forum.arduino.cc/index.php?topic=582626.0
Because of my coumputer software -- OneDrive, had copied my arduino's documents while I had done my install. So that this condition disrupted the opening of Arduino. Then, I deleted the copied documents of arduino and restarted Arduino IDE, it worked!!
Really appreciate you, pert. Thank you again!

pert

I think maybe the problem isn't the named of file.
My suggestion of creating the portable folder would have caused the Arduino to run in portable mode:
https://www.arduino.cc/en/Guide/PortableIDE
That makes it so that the Arduino IDE isn't relying on files in any external folder in order to start. It's a good troubleshooting technique when the IDE won't start because if the IDE starts in portable mode you know the problem is with one of the two external folders used by the IDE (and most likely only one of the two).

I've totally solved my problem.
Great work finding the solution! Thanks for taking the time to post an update. Anyone else with the same problem who finds this thread will be very grateful. Enjoy!
Per

Go Up