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

Work on LENS-223 started by Amareshwari Sriramadasu.
----------------------------------------------------
> NPE while adding resources
> --------------------------
>
>                 Key: LENS-223
>                 URL: https://issues.apache.org/jira/browse/LENS-223
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 2.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Critical
>             Fix For: 2.0
>
>
> Hitting following NPE, because of changes in LENS-203, while adding resources 
> and when there are multiple drivers :
> {noformat}
> 22 Jan 2015 11:21:06,346 [Grizzly-worker(3)] WARN  
> org.glassfish.jersey.server.ServerRuntime$Responder  - 
> WebApplicationException cause:
> java.lang.NullPointerException
>   at org.apache.lens.driver.hive.HiveDriver.execute(HiveDriver.java:385)
>   at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.addResource(QueryExecutionServiceImpl.java:1821)
>   at 
> org.apache.lens.server.session.HiveSessionService.addResourceToAllServices(HiveSessionService.java:82)
>   at 
> org.apache.lens.server.session.SessionResource.addResource(SessionResource.java:156)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> {noformat}
> Got missed as we don't have any tests running with more than one driver. Hit 
> it  when i was doing local test with multiple drivers. 



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

Reply via email to