Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.12.0
-
None
Description
When debugging another issue, I tried to use the Web UI to run the example query:
SELECT * FROM cp.`employee.json` LIMIT 20
The query failed with this error:
Query Failed: An Error Occurred java.lang.NullPointerException
No stack trace was provided in the log, even at DEBUG level.
Debugging, the problem appears to be deep inside AnonWebUserConnection.cleanupSession():
package io.netty.channel; public class DefaultChannelPromise ... protected EventExecutor executor() { EventExecutor e = super.executor(); if (e == null) { return channel().eventLoop(); } else { return e; } }
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.
Attachments
Issue Links
- links to