You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Mekhanikov (JIRA)" <ji...@apache.org> on 2019/04/22 20:12:00 UTC
[jira] [Updated] (IGNITE-11792) Web console agent throws
NullPointerException if node endpoint is incorrect
[ https://issues.apache.org/jira/browse/IGNITE-11792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Mekhanikov updated IGNITE-11792:
--------------------------------------
Ignite Flags: (was: Docs Required)
> Web console agent throws NullPointerException if node endpoint is incorrect
> ---------------------------------------------------------------------------
>
> Key: IGNITE-11792
> URL: https://issues.apache.org/jira/browse/IGNITE-11792
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Denis Mekhanikov
> Priority: Major
> Labels: web-console
>
> Starting web agent using the following command:
> {code:bash}
> ./ignite-web-agent.sh -n localhost:8080 -s https://console.gridgain.com/
> {code}
> Note, that {{localhost:8080}} is specified without the {{http://}} part. It leads to the following exception:
> {noformat}
> [ERROR][pool-1-thread-1][ClusterListener] WatchTask failed
> java.lang.NullPointerException
> at org.apache.ignite.console.agent.rest.RestExecutor.sendRequest(RestExecutor.java:185)
> at org.apache.ignite.console.agent.rest.RestExecutor.sendRequest(RestExecutor.java:237)
> at org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.restCommand(ClusterListener.java:421)
> at org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.topology(ClusterListener.java:457)
> at org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.run(ClusterListener.java:506)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
> The {{localhost:8080}} format should either be supported or a reasonable error message should be printed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)