jetty-distribution-9.4.6.v20170531: java.lang.IllegalArgumentException: Cannot convert date

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

jetty-distribution-9.4.6.v20170531: java.lang.IllegalArgumentException: Cannot convert date

Alexander Farber
Hello and good morning,

I have seen the following exception, but can not reproduce it yet.

Could that be a minor bug in Jetty source code?

(in the sense that possibly invalid date in HTTP header should not throw exception)

2018-03-05 09:06:01.739:INFO:slova:qtp1500056228-651: doGet: Request(GET //slova.de/ws/hourly)@ebe477c /hourly
2018-03-05 09:06:01.739:INFO:slova:qtp1500056228-651: hourlyJob: Mon Mar 05 09:06:01 CET 2018
2018-03-05 09:10:04.881:WARN:oejs.ResourceService:qtp1500056228-630: EXCEPTION
java.lang.IllegalArgumentException: Cannot convert date: 131068226820000000
at org.eclipse.jetty.http.HttpFields.getDateField(HttpFields.java:754)
at org.eclipse.jetty.server.Request.getDateHeader(Request.java:778)
at org.eclipse.jetty.server.ResourceService.passConditionalHeaders(ResourceService.java:574)
at org.eclipse.jetty.server.ResourceService.doGet(ResourceService.java:267)
at org.eclipse.jetty.server.handler.ResourceHandler.handle(ResourceHandler.java:281)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:170)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:564)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:745)

Regards
Alex

_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users