[ https://issues.apache.org/jira/browse/IGNITE-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948147#comment-14948147 ]
Andrey Novikov commented on IGNITE-1547: ---------------------------------------- Fix was implemented in ignite-1168 and merged into ignite-843. > NPE if using HTTP REST > ---------------------- > > Key: IGNITE-1547 > URL: https://issues.apache.org/jira/browse/IGNITE-1547 > Project: Ignite > Issue Type: Sub-task > Components: general > Affects Versions: ignite-1.4 > Reporter: Pavel Konstantinov > Assignee: Andrey Novikov > Fix For: ignite-1.5 > > > I'm tested Ignite Console SQL feature and got NPE on node start if web agent > trying to get cache information at this moment > To reproduce: > 1) open Ignite web console (console.gridgain.com) > 2) open SQL page > 3) start the grid (you need to build 843 branch or you can get master if 843 > already merged into it) > 4) refresh SQL page during node start > {code} > [13:25:56,761][SEVERE][qtp79785210-70][GridJettyRestProtocol] Failed to > process HTTP request [action=/ignite, req=(GET > /ignite?cmd=top&attr=true&mtr=false)@1215478528 > org.eclipse.jetty.server.Request@ > 4872bb00] > class org.apache.ignite.IgniteCheckedException: null > at > org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:6979) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:150) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at > org.apache.ignite.internal.processors.rest.handlers.top.GridTopologyCommandHandler.createNodeBean(GridTopologyCommandHandler.java:208) > at > org.apache.ignite.internal.processors.rest.handlers.top.GridTopologyCommandHandler.handleAsync(GridTopologyCommandHandler.java:107) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:226) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:79) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:133) > ... 4 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)