[ 
https://issues.apache.org/jira/browse/LENS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258971#comment-14258971
 ] 

Jaideep Dhok commented on LENS-95:
----------------------------------

[~raghavendra.singh] Can you put up some of the queries where this is failing? 
The stack trace is out of date.

> NPE from replaceChainedColumns for some queries
> -----------------------------------------------
>
>                 Key: LENS-95
>                 URL: https://issues.apache.org/jira/browse/LENS-95
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Raghavendra Singh
>            Assignee: Jaideep Dhok
>             Fix For: 2.0
>
>
> {CODE}
> org.apache.lens.api.LensException: Rewriting failed, cause :null
>       at 
> org.apache.lens.driver.cube.RewriteUtil.rewriteQuery(RewriteUtil.java:278)
>       at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.rewriteAndSelect(QueryExecutionServiceImpl.java:967)
>       at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.access$800(QueryExecutionServiceImpl.java:89)
>       at 
> org.apache.lens.server.query.QueryExecutionServiceImpl$QuerySubmitter.run(QueryExecutionServiceImpl.java:476)
>       at java.lang.Thread.run(Thread.java:701)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.lens.cube.parse.AliasReplacer.replaceChainedColumns(AliasReplacer.java:116)
>       at 
> org.apache.lens.cube.parse.AliasReplacer.rewriteContext(AliasReplacer.java:73)
>       at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:186)
>       at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:170)
>       at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:181)
>       at 
> org.apache.lens.driver.cube.RewriteUtil.rewriteQuery(RewriteUtil.java:249)
>       ... 4 more
> {CODE}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to