> On Jan. 22, 2016, 2:45 p.m., Rajat Khandelwal wrote: > > lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java, > > lines 2085-2087 > > <https://reviews.apache.org/r/42653/diff/1/?file=1205604#file1205604line2085> > > > > Are you able to reproduce the issue? > > > > Can you add test cases?
Yes. I was able to reproduce. It happens when query is purged to DB and then, you try to delete the resultset. Will add a test case and update the patch. - Deepak ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42653/#review115845 ----------------------------------------------------------- On Jan. 22, 2016, 1:58 p.m., Deepak Barr wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42653/ > ----------------------------------------------------------- > > (Updated Jan. 22, 2016, 1:58 p.m.) > > > Review request for lens. > > > Bugs: LENS-928 > https://issues.apache.org/jira/browse/LENS-928 > > > Repository: lens > > > Description > ------- > > Added a null check to prevent NPE if the query is purged to DB. > > > Diffs > ----- > > > lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java > 2dff9af > > Diff: https://reviews.apache.org/r/42653/diff/ > > > Testing > ------- > > Yes. > Ran "mvn clean install" successfully. > > > Thanks, > > Deepak Barr > >
