Tizen CLI run command give NullPointerException in logs

Tizen CLI run command give NullPointerException in logs

BY 20 Apr 2018 SDK & IDE

Hi,

I am trying to learn the Tizen cli and so far I’ve managed to properly build, package, and install my apps with the command line. However, I am having trouble with the run command. tizen run results in the following error in the console:

$ tizen run -p wAqbfS5qgd -s 192.168.1.162:26101 -t UN55MU7500
Launching the Tizen application...
An error has occurred. See the log file tizen-sdk/tools/ide/cli.log.

When I look in the cli log (which is actually located in ~/tizen-studio-data/cli/logs/cli.log, not where the error states) I see the following NullPointerException:


2018-04-19 12:55:15,984 [TRACE] Main.java(127) - Start running Tizen CLI Main class...
2018-04-19 12:55:15,986 [TRACE] Main.java(128) - Argument count:9
2018-04-19 12:55:15,999 [TRACE] RunCLI.java(56) - Execute RunCLI...
2018-04-19 12:55:16,584 [ERROR] AbstractCLI.java(93) - 
java.lang.NullPointerException
    at org.tizen.ncli.subcommands.target.RunCLICommand.runApp(RunCLICommand.java:243)
	at org.tizen.ncli.subcommands.target.RunCLICommand.call(RunCLICommand.java:126)
	at org.tizen.ncli.subcommands.target.RunCLICommand.call(RunCLICommand.java:43)
	at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
	at org.tizen.ncli.ide.shell.RunCLI.execute(RunCLI.java:66)
	at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
	at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
	at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
2018-04-19 12:55:16,586 [ERROR] Main.java(191) - 

Could someone explain this error? Is this a known bug in the current version of the CLI?

Written by