wisebed/rest-ws — Issue #47: NPE in backend when a reservation is over and it is removed from Jetty context
Author: danbim
Created: 2012-02-10 17:07:18+00:00
State: open

```
2012-02-10 18:05:00,010 | TimedCache-Thread 0 | WsnProxyManagerServiceImpl | ERROR | java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111)
at eu.wisebed.restws.proxy.WsnProxyManagerServiceImpl$1.timeout(WsnProxyManagerServiceImpl.java:84)
at eu.wisebed.restws.proxy.WsnProxyManagerServiceImpl$1.timeout(WsnProxyManagerServiceImpl.java:72)
at de.uniluebeck.itm.tr.util.TimedCache$RemoveRunnable.run(TimedCache.java:91)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.sun.xml.ws.transport.http.server.ServerMgr.removeContext(ServerMgr.java:129)
at com.sun.xml.ws.transport.http.server.HttpEndpoint.stop(HttpEndpoint.java:121)
at com.sun.xml.ws.transport.http.server.EndpointImpl.stop(EndpointImpl.java:206)
at eu.wisebed.restws.proxy.ControllerProxyService.doStop(ControllerProxyService.java:104)
at com.google.common.util.concurrent.AbstractService.stop(AbstractService.java:115)
... 11 more
```