Skip to content

Output user friendly message when platform installation from CLI fails due to missing package index entry #6982

Open
@patrickelectric

Description

@patrickelectric
arduino --install-boards esp8266:esp8266
Picked up JAVA_TOOL_OPTIONS: 
Loading configuration...
Initializing packages...
Preparing boards...
Downloading platforms index... 
Downloading platforms index... Downloaded 0kb of 197kb.
Downloading platforms index... Downloaded 10kb of 197kb.
Downloading platforms index... Downloaded 12kb of 197kb.
Downloading platforms index... Downloaded 19kb of 197kb.
Downloading platforms index... Downloaded 29kb of 197kb.
Downloading platforms index... Downloaded 40kb of 197kb.
Downloading platforms index... Downloaded 51kb of 197kb.
Downloading platforms index... Downloaded 61kb of 197kb.
Downloading platforms index... Downloaded 71kb of 197kb.
Downloading platforms index... Downloaded 80kb of 197kb.
Downloading platforms index... Downloaded 83kb of 197kb.
Downloading platforms index... Downloaded 90kb of 197kb.
Downloading platforms index... Downloaded 97kb of 197kb.
Downloading platforms index... Downloaded 99kb of 197kb.
Downloading platforms index... Downloaded 110kb of 197kb.
Downloading platforms index... Downloaded 120kb of 197kb.
Downloading platforms index... Downloaded 130kb of 197kb.
Downloading platforms index... Downloaded 140kb of 197kb.
Downloading platforms index... Downloaded 150kb of 197kb.
Downloading platforms index... Downloaded 159kb of 197kb.
Downloading platforms index... Downloaded 169kb of 197kb.
Downloading platforms index... Downloaded 176kb of 197kb.
Downloading platforms index... Downloaded 180kb of 197kb.
Downloading platforms index... Downloaded 184kb of 197kb.
Downloading platforms index... Downloaded 194kb of 197kb.
Downloading platforms index... Downloaded 197kb of 197kb.
Downloading platforms index... 
Downloading platforms index... Downloaded 0kb of 0kb.
Downloading platforms index... Downloaded 0kb of 0kb.
java.lang.NullPointerException
	at java.util.Collections.sort(Collections.java:175)
	at processing.app.Base.<init>(Base.java:310)
	at processing.app.Base.main(Base.java:144)
make: *** [deps] Error 255

This running on travis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions