Skip to main content
nicholaso0002
April 5, 2022
Question

An error occurred in executing an Activity Class.

  • April 5, 2022
  • 3 replies
  • 1 view

Hello,

Any one familiar with this type of error?

An error occurred in executing an Activity Class.

Log information:

2022-04-05 01:01:31,051 [ThreadPoolTaskExecutor-11056] ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [[WorkId: 360, EngineId: execution02, Request: UnattendedJavaActivityRequest:10705 as svc_appian_prosvc_axxxddro_devops by svc_axxx, Response: null]] - Exception:
javax.resource.spi.work.WorkCompletedException: java.lang.StackOverflowError
    at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:247)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.StackOverflowError
    at java.lang.String.toLowerCase(String.java:2670)
    at com.lowagie.text.pdf.PdfEncodings.convertToBytes(Unknown Source)
    at com.lowagie.text.pdf.BaseFont.convertToBytes(Unknown Source)
    at com.lowagie.text.pdf.FontDetails.convertToBytes(Unknown Source)
    at com.lowagie.text.pdf.PdfContentByte.showText2(Unknown Source)
    at com.lowagie.text.pdf.PdfContentByte.showText(Unknown Source)
    at com.lowagie.text.pdf.PdfDocument.writeLineToContent(Unknown Source)
    at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
    at com.lowagie.text.pdf.ColumnText.goComposite(Unknown Source)
    at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
    at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
    at com.lowagie.text.pdf.PdfPRow.writeCells(Unknown Source)
    at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source)
    at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source)

    3 replies

    gopalk2865
    Participating Frequently
    April 5, 2022

    Hi, Encoding can be one of the issues. in your docx file , there can be some fonts which is not supported by this smart service. I would suggest you to go through the documnetation of this smart service.

    nicholaso0002
    April 5, 2022

    Thank you Gopalk. which of the smart service are you referring to?

    April 5, 2022

    I guess he is talking about the  "PDF from DOCX" smart service. This is part of the "Advanced Document Templating" plugin. 

    You can find information and the documentation for this plugin here: 

    https://community.appian.com/b/appmarket/posts/advanced-document-templating