Skip to content

Arduino IDE doesn't start #10342

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
Nitheshnithu121 opened this issue Jun 10, 2020 · 8 comments
Closed

Arduino IDE doesn't start #10342

Nitheshnithu121 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

@Nitheshnithu121
Copy link

I have a problem when i start Arduino IDE it starts, then initializes packages and just vanishes......
The output on running debugger is as follows:
C:\Program Files (x86)\Arduino>arduino_debug.exe
Set log4j store directory C:\Users\user\AppData\Local\Arduino15
Loading configuration...
Initializing packages...
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)

Cloud any one please help me solve this problem

@imrehorvath
Copy link

Duplicate of #10340
and #10341

@Nitheshnithu121
Copy link
Author

Duplicate of #10340
and #10341

i am not able to solve this issue cloud you please help me to solve this problem

@195cn
Copy link

195cn commented Jun 10, 2020

I have this promblem too.
After I delete package_index.json in C:\Users\xxx\AppData\Local\Arduino15 , IDE is able to use.
But when I open board manager, NullPointerException problem appear again.
Then IDE crash at read package list , after close it.

I already reset my win10,java jdk.
And 1.8.10 , 1.8.12 appear this problem too.

image

@Nitheshnithu121
Copy link
Author

How can solve this problem bro

@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!

@Nitheshnithu121
Copy link
Author

I am not finding package_index.json file and cache inside Arduino folder

@cmaglie
Copy link
Member

cmaglie commented Jun 10, 2020

@Nitheshnithu121 the folder is called Arduino15 you can find it in:

C:\Users\YourUsername\AppData\Local\Arduino15\

@Nitheshnithu121
Copy link
Author

Thank you so much brother, its working

@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jun 12, 2020
@per1234 per1234 added Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE The Arduino IDE Type: Bug labels Dec 24, 2020
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

5 participants