You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Arshad Matin (JIRA)" <ji...@apache.org> on 2015/08/25 13:18:45 UTC

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

     [ https://issues.apache.org/jira/browse/LENS-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arshad Matin closed LENS-648.
-----------------------------

> 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.2.patch, 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)