1
0
-1

Hello everyone,

I'm getting a random error message when a submission is processed by the Delivery Process (groovy).

Please see below the error details.

Has anyone run into a similar issue before?

 

Thank you and Kind Regards,

Carles

 

Error ID115
TimeThu Apr 06 11:39:55 BST 2017
TypeForm Delivery
NameGroovy Delivery Process Service Error
Messagejava.util.concurrent.FutureTask.get(FutureTask.java:205)  
User MessageError occured calling DODirectDeliveryProcess
Context
Service: DODirectDeliveryProcess - v1
Service Type: Delivery Process
Service Timeout: 60000
Submission ID: 436
Form Code: ANVMGU
Form Name: Directors and Officers - Direct
Form Version: 1.0
Organization: ANV MGU  
Error Stack Trace
java.util.concurrent.TimeoutException
	at java.util.concurrent.FutureTask.get(FutureTask.java:205)
	at com.avoka.core.groovy.runtime.GroovyScriptRuntime.executeScript(GroovyScriptRuntime.java:214)
	at com.avoka.core.groovy.runtime.GroovyScriptRuntime.executeScript(GroovyScriptRuntime.java:85)
	at com.avoka.fc.core.service.AbstractGroovyService.executeGroovyScript(AbstractGroovyService.java:341)
	at com.avoka.fc.core.service.AbstractGroovyService.executeGroovyScript(AbstractGroovyService.java:294)
	at com.avoka.fc.core.service.impl.GroovyDeliveryProcessService.deliverSubmission(GroovyDeliveryProcessService.java:103)
	at com.avoka.fc.core.service.impl.SubmissionDeliveryControllerService.deliverViaDeliveryProcess(SubmissionDeliveryControllerService.java:1626)
	at com.avoka.fc.core.service.impl.SubmissionDeliveryControllerService.deliverSubmission(SubmissionDeliveryControllerService.java:436)
	at com.avoka.fc.core.service.TransactionProcessor.processDelivery(TransactionProcessor.java:414)
	at com.avoka.fc.core.service.TransactionProcessor.processTransactions(TransactionProcessor.java:72)
	at com.avoka.fc.core.job.TransactionProcessingJob.executeJob(TransactionProcessingJob.java:31)
	at com.avoka.fc.core.job.AbstractJob.execute(AbstractJob.java:224)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
  1. Miroslav Botka

    Is there any other external service called from this delivery groovy service which might be causing the timeout?

  2. Carles Tierno

    Hi Miroslav,

    Yes, I'm invoking some external service but the thing is that, when the external system thwos timeout, it used to be recorded in the Delivery Checkpoints. However, this just makes the service break and no checkpoints get recorded. Regardless if they are completed or not.

    I'm gonna try Jye's suggestion to expanding the timeout option and see what happens.

    Many thanks for your answer.

    Kind Regards,

    Carles

CommentAdd your comment...

1 answer

  1.  
    2
    1
    0

    Hi Carles,

    The issue is being caused by a timeout (java.util.concurrent.TimeoutException). It looks like your service is set to timeout after 1 minute (Service Timeout: 60000).

    Context
    Service: DODirectDeliveryProcess - v1
    Service Type: Delivery Process
    Service Timeout: 60000
    Submission ID: 436
    Form Code: ANVMGU
    Form Name: Directors and Officers - Direct
    Form Version: 1.0
    Organization: ANV MGU

    Something is causing the delivery process to take more than 1 minute to execute. If that's expected, you could try extending the service timeout, otherwise the service will need to be debugged to determine what's taking so much time.

     

    1. Carles Tierno

      Hello Jye,

      I'll try that and see what happens.

      Thank you very much for your suggestion.

      Kind Regards

    CommentAdd your comment...