You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2015/07/08 07:49:04 UTC

[jira] [Commented] (LENS-648) NPE in CandidateTableResolver

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

Rajat Khandelwal commented on LENS-648:
---------------------------------------

would be good to have a test case that has optdim==null

> NPE in CandidateTableResolver
> -----------------------------
>
>                 Key: LENS-648
>                 URL: https://issues.apache.org/jira/browse/LENS-648
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: cube
>    Affects Versions: 2.2
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.3
>
>         Attachments: LENS-648.patch
>
>
> Here is a NPE we saw :
> {noformat}
> 30 Jun 2015 09:53:46,287 [estimate-2] WARN  org.apache.lens.driver.cube.RewriteUtil  - Driver : org.apache.lens.driver.jdbc.JDBCDriver@5da9a418 Skipped for the query rewriting due to
> java.lang.NullPointerException
>         at org.apache.lens.cube.parse.CandidateTableResolver.checkForSourceReachabilityForDenormCandidates(CandidateTableResolver.java:547)
>         at org.apache.lens.cube.parse.CandidateTableResolver.rewriteContext(CandidateTableResolver.java:81)
>         at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:217)
>         at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:192)
>         at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:203)
>         at org.apache.lens.driver.cube.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:320)
>         at org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1223)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



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