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/09/25 08:30:04 UTC

[jira] [Created] (IGNITE-1547) NPE if using HTTP REST

Pavel Konstantinov created IGNITE-1547:
------------------------------------------

             Summary: NPE if using HTTP REST
                 Key: IGNITE-1547
                 URL: https://issues.apache.org/jira/browse/IGNITE-1547
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: ignite-1.4
            Reporter: Pavel Konstantinov
            Assignee: Yakov Zhdanov
             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
{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)