Skip to content

Command line builder error when setting the port (v1.6.12) #5413

Closed
@Erel2

Description

@Erel2

Command line example: arduino_debug.exe --upload MyProject.ino --port COM54

Output:

Loading configuration...
java.lang.NullPointerException
at processing.app.BaseNoGui.selectSerialPort(BaseNoGui.java:1088)
at processing.app.helpers.CommandlineParser.parseArgumentsPhase1(CommandlineParser.java:143)
at processing.app.Base.(Base.java:273)
at processing.app.Base.guardedMain(Base.java:219)
at processing.app.Base.main(Base.java:132)

Seems like BaseNoGui.initPackages is not called.

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