Skip to content

Arduino IDE can not open !Something must be wrong ! #10341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xp187oo opened this issue Jun 10, 2020 · 8 comments
Closed

Arduino IDE can not open !Something must be wrong ! #10341

xp187oo opened this issue Jun 10, 2020 · 8 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE The Arduino IDE Type: Bug Type: Duplicate Another item already exists for this topic

Comments

@xp187oo
Copy link

xp187oo commented Jun 10, 2020

java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.(Base.java:273)
at processing.app.Base.main(Base.java:150)

@akhilgkrishnan
Copy link

@xp187oo I am facing the same issue. when i open board manager

@hmeijdam
Copy link

If you look at the forum https://forum.arduino.cc/index.php?board=2.0 you will see that everyone has this problem. One of the files that the "boards manager" is downloading must cause a data corruption. I have it in the older IDE versions also, so not just 1.8.12

@JAndrassy
Copy link

it looks like Arduino's package_index.json is the corrupted one. no way around

@imrehorvath
Copy link

Duplicate of #10340

@JAndrassy
Copy link

JAndrassy commented Jun 10, 2020

problem is a new section arduino-beta for Portenta H7 in Arduino's package_index.json

the tools section is missing for the new package

@cmaglie
Copy link
Member

cmaglie commented Jun 10, 2020

We had a problem on our package_index.json that caused the error and prevented the IDE to start.
Now the package_index has been fixed, but to recover a working installation you must delete once again the package_index.json with the cache folder and restart the IDE as usual.

Windows:

  • remove file C:\Users\YourUsername\AppData\Local\Arduino15\package_index.json
  • remove folder C:\Users\YourUsername\AppData\Local\Arduino15\cache

Mac:

  • remove file /Users/YourUsername/Library/Arduino15/package_index.json
  • remove folder /Users/YourUsername/Library/Arduino15/cache

Linux:

  • remove file /home/YourUsername/.arduino15/package_index.json
  • remove folder /home/YourUsername/.arduino15/cache

Please note that the problem that prevents the IDE to start has already been fixed and it's ready for the next release, that's the reason why the Nightly/Beta Builds are not affected, and also the reason why we did not detect this problem earlier, sorry about that!

@cmaglie cmaglie closed this as completed Jun 10, 2020
@per1234 per1234 added Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE The Arduino IDE Type: Bug Type: Duplicate Another item already exists for this topic labels Jun 10, 2020
@Hamid11300
Copy link

We had a problem on our package_index.json that caused the error and prevented the IDE to start.
Now the package_index has been fixed, but to recover a working installation you must delete once again the package_index.json with the cache folder and restart the IDE as usual.

Windows:

  • remove file C:\Users\YourUsername\AppData\Local\Arduino15\package_index.json
  • remove folder C:\Users\YourUsername\AppData\Local\Arduino15\cache

Mac:

  • remove file /Users/YourUsername/Library/Arduino15/package_index.json
  • remove folder /Users/YourUsername/Library/Arduino15/cache

Linux:

  • remove file /home/YourUsername/.arduino15/package_index.json
  • remove folder /home/YourUsername/.arduino15/cache

Please note that the problem that prevents the IDE to start has already been fixed and it's ready for the next release, that's the reason why the Nightly/Beta Builds are not affected, and also the reason why we did not detect this problem earlier, sorry about that!

Big Like

@xp187oo
Copy link
Author

xp187oo commented Jun 16, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE The Arduino IDE Type: Bug Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

8 participants