Error when installing platform via CLI when it is already installed
Open
Component: CLI
IDE 1.9.x Beta
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Using Arduino IDE 1.8.14 Hourly Build 2021/03/09 09:33
I think that the program should not terminate with a crash !
```
java.lang.Exception: Platform is already installed!
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:78)
at processing.app.Base.(Base.java:323)
at processing.app.Base.main(Base.java:144)
```
Contributor guide
Research direction
Start in ContributionInstaller.java at install(), then trace how Base.java:323 invokes it during startup. Reproduce the already-installed-platform path and determine how it should complete without terminating with the reported exception; done means that path no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100