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

Deepak Barr commented on LENS-768:
----------------------------------

Hey [~amareshwari],

   I  have been trying to reproduce this but unable to. Can you tell me how can 
I reproduce ? 

I hive HiveDriver and JDBCDriver configured and I am deliberately timing out 
JDBC estimation. The only possibiliity I can think of is - If HiveDriver 
succeeds but the driver cost is still null but had to see why it should happen.

> NPE in estimate API if drivers timeout
> --------------------------------------
>
>                 Key: LENS-768
>                 URL: https://issues.apache.org/jira/browse/LENS-768
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Deepak Barr
>             Fix For: 2.4
>
>
> Here is the trace :
> Caused by: java.lang.NullPointerException: cost
> at 
> org.apache.lens.server.api.query.cost.QueryCostTOBuilder.<init>(QueryCostTOBuilder.java:31)
> at 
> org.apache.lens.server.query.QueryServiceResource.query(QueryServiceResource.java:223)
> at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> ... 20 more



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

Reply via email to