{"id":35376,"date":"2019-10-28T12:59:41","date_gmt":"2019-10-28T19:59:41","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=35376"},"modified":"2020-08-26T15:29:55","modified_gmt":"2020-08-26T22:29:55","slug":"kb00007045-batch-error-recostar-hocr-plugin","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/","title":{"rendered":"KB00007045: Batch Error with RECOSTAR_HOCR Plugin"},"content":{"rendered":"

Issue:<\/strong><\/p>\n

In Ephesoft Transact 4.5.X.X, 2019.1, and 2019.2, a batch error occurs while running the RECOSTAR_HOCR plugin. The error message says, \u201cUncaught Exception in readOCR method. Exception occurred while process PDF page for EText.\u201d<\/p>\n

This occurs when the batch class RECOSTAR_HOCR plugin parameter has Use EText Recostar Project File <\/strong>\u00a0set to Automatically<\/strong>. However, the same batch processes successfully when Use EText Recostar Project File<\/strong> is set to Never <\/strong>OR Use EText Recostar Project File <\/strong>is set to Always<\/strong>. The issue is caused by the third-party IText API.<\/p>\n

\"\"<\/a><\/strong><\/p>\n

Solution:<\/strong><\/p>\n

Ephesoft Support recommends upgrading the version of IText from 5.4.1 to 5.5.12.<\/p>\n

    \n
  1. Log in to the Customer Portal Downloads page<\/a><\/li>\n<\/ol>\n

    Note:<\/strong> A customer portal account will be required to access this page.<\/p>\n

      \n
    1. Locate and download the following hotfix: ITEXT 5.5.12 Library Upgrade.<\/li>\n
    2. Stop the Ephesoft Transact server.<\/li>\n
    3. Download and extract HOTFIX_EEN-24034_2019.1_ItextUpgrade_18Oct_2019.zip<\/strong> to a temporary location on your system.<\/li>\n
    4. Navigate to the following directory: [EPHESOFT_HOME]\\Application\\WEB-INF\\lib\\<\/strong><\/li>\n
    5. Create a backup and delete the following:<\/li>\n<\/ol>\n
        \n
      • \n
          \n
        • itextpdf-5.4.1.jar<\/li>\n
        • itext-pdfa-5.4.1.jar<\/li>\n
        • itext-xtra-5.4.1.jar.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n
            \n
          1. Copy the extracted files listed below to the following directory: [EPHESOFT_HOME]\\Application\\WEB-INF\\lib\\<\/strong><\/li>\n<\/ol>\n
              \n
            • \n
                \n
              • itextpdf-5.5.12.jar<\/li>\n
              • itext-pdfa-5.5.12.jar<\/li>\n
              • itext-xtra-5.5.12.jar<\/li>\n
              • commons-imaging-1.0-SNAPSHOT.jar<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n
                  \n
                1. Start the Ephesoft Transact server.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

                  Issue: In Ephesoft Transact 4.5.X.X, 2019.1, and 2019.2, a batch error occurs while running the RECOSTAR_HOCR plugin. The error message […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12354,12361],"tags":[10908,12385,12384,12383,1430,471],"yoast_head":"\nKB00007045: Batch Error with RECOSTAR_HOCR Plugin | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB00007045: Batch Error with RECOSTAR_HOCR Plugin\" \/>\n<meta property=\"og:description\" content=\"Issue: In Ephesoft Transact 4.5.X.X, 2019.1, and 2019.2, a batch error occurs while running the RECOSTAR_HOCR plugin. The error message […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-28T19:59:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-26T22:29:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2019\/10\/screenshot.jpg\" \/>\n<meta name=\"author\" content=\"lydiaxie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"lydiaxie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/\",\"name\":\"KB00007045: Batch Error with RECOSTAR_HOCR Plugin | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2019-10-28T19:59:41+00:00\",\"dateModified\":\"2020-08-26T22:29:55+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB00007045: Batch Error with RECOSTAR_HOCR Plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\",\"name\":\"lydiaxie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"caption\":\"lydiaxie\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"KB00007045: Batch Error with RECOSTAR_HOCR Plugin | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"KB00007045: Batch Error with RECOSTAR_HOCR Plugin","og_description":"Issue: In Ephesoft Transact 4.5.X.X, 2019.1, and 2019.2, a batch error occurs while running the RECOSTAR_HOCR plugin. The error message […]","og_url":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/","og_site_name":"Ephesoft Docs","article_published_time":"2019-10-28T19:59:41+00:00","article_modified_time":"2020-08-26T22:29:55+00:00","og_image":[{"url":"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2019\/10\/screenshot.jpg"}],"author":"lydiaxie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"lydiaxie","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/","url":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/","name":"KB00007045: Batch Error with RECOSTAR_HOCR Plugin | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2019-10-28T19:59:41+00:00","dateModified":"2020-08-26T22:29:55+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb00007045-batch-error-recostar-hocr-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"KB00007045: Batch Error with RECOSTAR_HOCR Plugin"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1","name":"lydiaxie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","caption":"lydiaxie"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/35376"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=35376"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/35376\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=35376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=35376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=35376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}