Hello,
The Arduino IDE aborts launching after I defined some boards variants in the /hardware folder and removed them.
Here is what I did
- Added new variants in the /hardware folder
- The variant was listed but an error showed at compilation "Error resolving FQBN: getting"
- So I removed the files in /hardware
- Then the Arduino IDE does not launch
It seems Arduino still has a reference to these boards but pointing to nothing. The debug shows
"
...
TRACE StatusLogger Using default SystemClock for timestamps.
DEBUG StatusLogger org.apache.logging.log4j.core.util.SystemClock does not support precise timestamps.
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger Reconfiguration complete for context[name=1e6f5c3] at URI jar:file:/C:/Program%20Files%20(x86)/Arduino/lib/pde.jar!/log4j2.xml (org.apache.logging.log4j.core.LoggerContext@f2bbc1) with optional ClassLoader: null
DEBUG StatusLogger Shutdown hook enabled. Registering a new one.
DEBUG StatusLogger LoggerContext[name=1e6f5c3, org.apache.logging.log4j.core.LoggerContext@f2bbc1] started OK.
Preparing boards...
java.lang.NullPointerException
at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
at processing.app.Base.(Base.java:286)
at processing.app.Base.main(Base.java:150)
"
How can I fix this?