You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/01/22 19:10:34 UTC
[jira] [Resolved] (LENS-66) Some queries are failing with NPE
instead of proper error message
[ https://issues.apache.org/jira/browse/LENS-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu resolved LENS-66.
-----------------------------------------
Resolution: Cannot Reproduce
Shouldnt be an issue anymore. Please reopen if you still see it.
> Some queries are failing with NPE instead of proper error message
> -----------------------------------------------------------------
>
> Key: LENS-66
> URL: https://issues.apache.org/jira/browse/LENS-66
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Raghavendra Singh
> Fix For: 2.0
>
>
> {CODE}
> org.apache.lens.api.LensException: Rewriting failed, cause :null
> at org.apache.lens.driver.cube.RewriteUtil.rewriteQuery(RewriteUtil.java:307)
> at org.apache.lens.server.query.QueryExecutionServiceImpl.rewriteAndSelect(QueryExecutionServiceImpl.java:915)
> at org.apache.lens.server.query.QueryExecutionServiceImpl.access$800(QueryExecutionServiceImpl.java:89)
> at org.apache.lens.server.query.QueryExecutionServiceImpl$QuerySubmitter.run(QueryExecutionServiceImpl.java:412)
> at java.lang.Thread.run(Thread.java:701)
> Caused by: java.lang.NullPointerException
> at org.apache.lens.cube.parse.CandidateTableResolver.resolveCandidateFactTablesForJoins(CandidateTableResolver.java:358)
> at org.apache.lens.cube.parse.CandidateTableResolver.rewriteContext(CandidateTableResolver.java:86)
> at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:178)
> at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:162)
> at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:173)
> at org.apache.lens.driver.cube.RewriteUtil.rewriteQuery(RewriteUtil.java:278)
> ... 4 more
> {CODE}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)