Issue #73 wontfix

Extend 10sec timeout in code called by FetchDiffFilesString.from()

Mike Burton
created an issue

Occasionally got this error when running play test , 10 seconds isn't always long enough, need to increase it:

[ERROR] [03/08/2014 22:43:18.562] [default-akka.actor.default-dispatcher-4] [akka://default/user/$b] Futures timed out after [10000 milliseconds] java.util.concurrent.TimeoutException: Futures timed out after [10000 milliseconds]

Stack trace:

at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:96)
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:58)
at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:86)
at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:86)
at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread$$anon$3.block(ThreadPoolBuilder.scala:173)
at scala.concurrent.forkjoin.ForkJoinPool.managedBlock(ForkJoinPool.java:2803)
at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread.blockOn(ThreadPoolBuilder.scala:171)
at scala.concurrent.Await$.ready(package.scala:86)
at play.api.libs.concurrent.PlayPromise.await(Promise.scala:134)
at play.api.libs.concurrent.PlayPromise.await(Promise.scala:126)
at play.api.libs.concurrent.PlayPromise.value1(Promise.scala:119)
at play.libs.F$Promise.get(F.java:201)
at utils.FetchDiffFilesString.from(FetchDiffFilesString.java:11)
at models.Contribution.<init>(Contribution.java:103)
at update.pullrequest.PullRequestImporter.createContribution(PullRequestImporter.java:90)
at update.pullrequest.PullRequestImporter.convertJsonNodeIntoContribution(PullRequestImporter.java:49)
at update.pullrequest.PullRequestImporter.convertJsonIntoContributions(PullRequestImporter.java:38)
at update.pullrequest.PullRequestImporter.onReceive(PullRequestImporter.java:28)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
at akka.actor.ActorCell.invoke(ActorCell.scala:386)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
at akka.dispatch.Mailbox.run(Mailbox.scala:212)
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:502)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

Comments (3)

  1. Log in to comment