Paul Rogers created DRILL-5874:
----------------------------------

             Summary: NPE in AnonWebUserConnection.cleanupSession()
                 Key: DRILL-5874
                 URL: https://issues.apache.org/jira/browse/DRILL-5874
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.12.0
            Reporter: Paul Rogers


When debugging another issue, I tried to use the Web UI to run the example 
query:

The query failed with this error:

Debugging, the problem appears to be deep inside 
{{AnonWebUserConnection.cleanupSession()}}:

{code}
package io.netty.channel;

public class DefaultChannelPromise ...
    protected EventExecutor executor() {
        EventExecutor e = super.executor();
        if (e == null) {
            return channel().eventLoop();
        } else {
            return e;
        }
    }
{code}

In the above, {{channel()}} is null. the {{channel}} field is also null.

This may indicate that some part of the Web UI was not set up correctly. This 
is a recent change, as this code worked several days ago.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to