Skip to content

Start Launcher without args will cause a NPE #744

@kyo-tom

Description

@kyo-tom

Describe the bug
Start Launcher without args will cause a NPE

To Reproduce
image

Expected behavior
Throw a ClusterDeploymentException instead of NPE

Screenshots

Exception in thread "main" java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:460)
	at java.util.Properties.setProperty(Properties.java:166)
	at java.lang.System.setProperty(System.java:798)
	at com.dtstack.flinkx.client.Launcher.findDefaultFlinkxDistDir(Launcher.java:190)
	at com.dtstack.flinkx.client.Launcher.findDefaultConfigDir(Launcher.java:130)
	at com.dtstack.flinkx.client.Launcher.main(Launcher.java:66)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions