[jira] [Updated] (LENS-1263) Delete on scheduler job is failing with NPE

2016-08-04 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-1263:
--
Issue Type: Sub-task  (was: Bug)
Parent: LENS-1265

> Delete on scheduler job is failing with NPE
> ---
>
> Key: LENS-1263
> URL: https://issues.apache.org/jira/browse/LENS-1263
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Archana H
>Assignee: Lavkesh Lahngir
>
> DELETE 
> http://192.168.138.252:/lensapi/scheduler/jobs/74528d83-2ce4-4981-9ce0-53112a78f9cc?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3E906d3244-1462-477e-bcb0-27814c7644e9%3C%2FpublicId%3E%3CsecretId%3Ef2e74b9a-d0f1-40e7-ae4c-9c6ed3e15e25%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
> 13 > accept: application/json
> 13 > connection: keep-alive
> 13 > host: 192.168.138.252:
> 13 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
> 04 Aug 2016 15:31:30 [] [grizzly-http-server-5] INFO  
> org.apache.lens.server.LensServer.request - 13 * Server responded with a 
> response on thread grizzly-http-server-5
> 13 < 500
> 13 < Content-Type: application/json
> {
>"apiResult" : {
>   "status" : "FAILED",
>   "message" : "null"
>}
> }
> Error:
> {CODE}
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
>   at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> Caused by: java.lang.NullPointerException: null
>   at 
> org.apache.lens.server.scheduler.AlarmService.checkExists(AlarmService.java:201)
>  ~[classes/:na]
>   at 
> org.apache.

[jira] [Updated] (LENS-1263) Delete on scheduler job is failing with NPE

2016-08-04 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-1263:
--
Issue Type: Bug  (was: Sub-task)
Parent: (was: LENS-1265)

> Delete on scheduler job is failing with NPE
> ---
>
> Key: LENS-1263
> URL: https://issues.apache.org/jira/browse/LENS-1263
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Archana H
>Assignee: Lavkesh Lahngir
>
> DELETE 
> http://192.168.138.252:/lensapi/scheduler/jobs/74528d83-2ce4-4981-9ce0-53112a78f9cc?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3E906d3244-1462-477e-bcb0-27814c7644e9%3C%2FpublicId%3E%3CsecretId%3Ef2e74b9a-d0f1-40e7-ae4c-9c6ed3e15e25%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
> 13 > accept: application/json
> 13 > connection: keep-alive
> 13 > host: 192.168.138.252:
> 13 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
> 04 Aug 2016 15:31:30 [] [grizzly-http-server-5] INFO  
> org.apache.lens.server.LensServer.request - 13 * Server responded with a 
> response on thread grizzly-http-server-5
> 13 < 500
> 13 < Content-Type: application/json
> {
>"apiResult" : {
>   "status" : "FAILED",
>   "message" : "null"
>}
> }
> Error:
> {CODE}
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
>   at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> Caused by: java.lang.NullPointerException: null
>   at 
> org.apache.lens.server.scheduler.AlarmService.checkExists(AlarmService.java:201)
>  ~[classes/:na]
>   at 
> org.a

[jira] [Updated] (LENS-1263) Delete on scheduler job is failing with NPE

2016-08-17 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1263:
--
Fix Version/s: (was: 2.7)
   2.6

> Delete on scheduler job is failing with NPE
> ---
>
> Key: LENS-1263
> URL: https://issues.apache.org/jira/browse/LENS-1263
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Archana H
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
>
> DELETE 
> http://192.168.138.252:/lensapi/scheduler/jobs/74528d83-2ce4-4981-9ce0-53112a78f9cc?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3E906d3244-1462-477e-bcb0-27814c7644e9%3C%2FpublicId%3E%3CsecretId%3Ef2e74b9a-d0f1-40e7-ae4c-9c6ed3e15e25%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
> 13 > accept: application/json
> 13 > connection: keep-alive
> 13 > host: 192.168.138.252:
> 13 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
> 04 Aug 2016 15:31:30 [] [grizzly-http-server-5] INFO  
> org.apache.lens.server.LensServer.request - 13 * Server responded with a 
> response on thread grizzly-http-server-5
> 13 < 500
> 13 < Content-Type: application/json
> {
>"apiResult" : {
>   "status" : "FAILED",
>   "message" : "null"
>}
> }
> Error:
> {CODE}
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
>   at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
>   at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
>   at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> Caused by: java.lang.NullPointerException: null
>   at 
> org.apache.lens.server.scheduler.AlarmService.checkExists(AlarmService.java:201)
>  ~[clas