[ https://issues.apache.org/jira/browse/DRILL-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225347#comment-14225347 ]
Hanifi Gunes commented on DRILL-1780: ------------------------------------- Just seen your comment. Does not look similar. This is an implementation problem as accessing a list should ideally follow a bound-check. Besides an empty result set is not an error case. User needs to be notified accordingly. DRILL-1373 seems like handling & showing execution failures. I will review this patch. > Web UI throws 500/IndexOutOfBounds when result set is empty > ----------------------------------------------------------- > > Key: DRILL-1780 > URL: https://issues.apache.org/jira/browse/DRILL-1780 > Project: Apache Drill > Issue Type: Bug > Reporter: Hanifi Gunes > Assignee: Hanifi Gunes > Attachments: DRILL-1780.1.patch.txt > > > Web UI does not seem to recognize that the underlying result set is empty and > blindly tries accessing items. This raises IndexOutOfBounds which portrays > itself as an ugly HTTP 500. -- This message was sent by Atlassian JIRA (v6.3.4#6332)