Description
Hitting following NPE, because of changes in LENS-203, while adding resources and when there are multiple drivers :
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)
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.