Cannot Start IDE Version 1.8.6

Hi Folks

I started getting java errors when uploading my sketch to an ESP8266 board that had worked flawlessly in the past. The sketch compiles fine, the java error occurs when it tries to upload to the module.

I removed and reinstalled the IDE (on Windows 10) and this worked ok.
However, when I run the IDE I get the splash screen which disappears after loading boards.

I ran Arduino_Debug.exe and get the following output:

Loading configuration...
Initializing packages...
Preparing boards...
java.lang.NullPointerException
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:678)
at processing.app.Base.onBoardOrPortChange(Base.java:1313)
at processing.app.Base$12.actionPerformed(Base.java:1540)
at processing.app.Base.rebuildBoardsMenu(Base.java:1490)
at processing.app.Base.(Base.java:267)
at processing.app.Base.main(Base.java:145)

I have Java 8.191 installed.

Any help please?

Kind regards

Richie

My first suggestion is HERE

Second suggestion is to read some more posts in the forum as this topic seems to be a semi regular one and in a lot of cases seems to involve win 10.

Thanks for your help.

I solved the problem by completely removing any Arduino reference/files.

This included the Arduino15 folder.

Reinstalled, and now the IDE boots up.

Cheers

Richie