You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Konstantinov (JIRA)" <ji...@apache.org> on 2015/12/29 08:31:49 UTC

[jira] [Closed] (IGNITE-2304) Improve exceptions handling for ignite-web-agent

     [ https://issues.apache.org/jira/browse/IGNITE-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Konstantinov closed IGNITE-2304.
--------------------------------------
    Assignee:     (was: Pavel Konstantinov)

Tested

> Improve exceptions handling for ignite-web-agent
> ------------------------------------------------
>
>                 Key: IGNITE-2304
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2304
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: wizards
>            Reporter: Pavel Konstantinov
>            Priority: Minor
>             Fix For: 1.6
>
>
> Currently if I start ignite-web-agent with incorrect options it crashes with exception:
> {code}
> ./ignite-web-agent.sh dfsd
> [15:48:36,554][INFO ][main][AgentLauncher] Starting Apache Ignite Web Console Agent...
> Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter 'dfsd' but no main parameter was defined
> 	at com.beust.jcommander.JCommander.getMainParameter(JCommander.java:914)
> 	at com.beust.jcommander.JCommander.parseValues(JCommander.java:759)
> 	at com.beust.jcommander.JCommander.parse(JCommander.java:282)
> 	at com.beust.jcommander.JCommander.parse(JCommander.java:265)
> 	at com.beust.jcommander.JCommander.<init>(JCommander.java:210)
> 	at org.apache.ignite.agent.AgentLauncher.main(AgentLauncher.java:53)
> {code}
> Will be much better if we will be handle such case and show some user-friendly info, for example the same as with --help option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)