CLI using --port gives NullPointerException at DiscoveryManager in beta1.9 #8400
Labels
Component: CLI
The Arduino IDE's command line interface
IDE 1.9.x Beta
Related to the Arduino IDE Beta Build
(First thinks first: Thank you for arduino ide!)
Using the CLI of Arduino IDE with the --port parameter throws a NullPointerException on initialization of the DiscoveryManager.
Tested with arduino-PR-beta1.9-BUILD-96
With --port it does not even try to compile (or do anything):
Without --port everything works as expected (IOException does not influence the build or upload...):
It dosn't matter what argument you pass to --port or if the given device exists. It seems to die before accessing anything. In fact NO argument matters, it will crash as long as --port is given (as is provided an argument):
The text was updated successfully, but these errors were encountered: