Strange Errai error in the logs
vwjugow Oct 7, 2014 7:48 AMHi,
we have an Errai application running on Jboss 7.1. Last Friday we had to restart it and after that, we noticed that there was a new error in the logs:
2014/10/07 04:27:41,402 ERROR [stderr] (pool-32-thread-1) java.lang.IllegalStateException: Cannot reply. Cannot find RequestDispatcher resource.
2014/10/07 04:27:41,402 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.reply(DefaultMessageBuilder.java:124)
2014/10/07 04:27:41,402 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.client.api.base.DefaultErrorCallback.error(DefaultErrorCallback.java:83)
2014/10/07 04:27:41,403 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.client.api.base.DefaultErrorCallback.error(DefaultErrorCallback.java:35)
2014/10/07 04:27:41,403 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.server.ServerMessageBusImpl.delayOrFail(ServerMessageBusImpl.java:305)
2014/10/07 04:27:41,403 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:270)
2014/10/07 04:27:41,404 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.server.ServerMessageBusImpl$2.run(ServerMessageBusImpl.java:273)
2014/10/07 04:27:41,404 ERROR [stderr] (pool-32-thread-1) at org.jboss.errai.bus.server.ServerMessageBusImpl$3.run(ServerMessageBusImpl.java:318)
2014/10/07 04:27:41,404 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014/10/07 04:27:41,405 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014/10/07 04:27:41,405 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
2014/10/07 04:27:41,406 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
2014/10/07 04:27:41,406 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014/10/07 04:27:41,406 ERROR [stderr] (pool-32-thread-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014/10/07 04:27:41,407 ERROR [stderr] (pool-32-thread-1) at java.lang.Thread.run(Thread.java:745)
This error is popping up in our logs periodically every few seconds, and we have never seen it before last Friday and we can't reproduce it in our other environments (this is happening in our production environment)
What could be the cause of this?
While googling we found the string 'Cannot reply. Cannot find RequestDispatcher resource.' in a xxxx..cache.html file (e.g schlawiner.phonegap/DA320A70BEB45CF04A75192EB5D4C58D.cache.html at master · hpehl/schlawiner.phonegap · GitHub) so that led us to question whether the problem here could have been that when we restarted the server, we had a client with the application opened in his browser, and when he regain connection after the restart, this error started to happen to him and somehow we are logging that in out logs.
This seemed like an interesting theory on Friday but since we're still seeing the error it's probably not the cause, but I thought it was worth mentioning it.
Thanks in advance,
Victor.-