Hi Can your client be wrong, this seems to mean we can't parse the request, maybe the client closes too early Le 31 déc. 2013 02:52, "LG Optimusv" <[email protected]> a écrit :
> Do you think you can post the whole example application somewhere? > > > On Mon, Dec 30, 2013 at 7:39 PM, Radhakrishna Kalyan <[email protected] > >wrote: > > > Hi, > > > > I have a REST resource. One of the method is just a plain GET method > which > > returns a the following (new Date() + " System is Alive") > > > > When I tried to access that url I got the following exception. However > the > > same exception does occur randomly. > > > > Had anyone ever seen such exception? > > Any Pointers would be helpful. > > > > ---------------------------------------------------------------------- > > java.lang.NullPointerException > > at java.util.StringTokenizer.<init>(StringTokenizer.java:199) > > at java.util.StringTokenizer.<init>(StringTokenizer.java:221) > > at > > > > > org.apache.openejb.server.httpd.HttpRequestImpl.readRequestLine(HttpRequestImpl.java:397) > > at > > > > > org.apache.openejb.server.httpd.HttpRequestImpl.readMessage(HttpRequestImpl.java:337) > > at > > > > > org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:217) > > at > > > > > org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:193) > > at > > > > > org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:108) > > at > > > > > org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:63) > > at > > > > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > > at > > > > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > > at > > org.apache.openejb.server.ServiceStats.service(ServiceStats.java:54) > > at > > > > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > > at > > org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:93) > > at > > > > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > > at > > org.apache.openejb.server.ServicePool.access$201(ServicePool.java:39) > > at > > org.apache.openejb.server.ServicePool$3.run(ServicePool.java:200) > > at > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:744) > > >
