KB Article #: 11221

Issue: When starting up Ephesoft, there’s an error in the log that says:

[ERROR] [localhost-startStop-1] [org.springframework.web.context.ContextLoader] - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OCRFactoryClass': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ephesoft.dcma.ocr.factory.OCRFactory com.ephesoft.dcma.ocr.OCRFactoryClass.ocrFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OCRFactory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ephesoft.dcma.recostar.service.RecostarService com.ephesoft.dcma.ocr.factory.OCRFactory.recostarService; nested exception is java.lang.VerifyError: Expecting a stackmap frame at branch target 42
Exception Details:
Location:
com/ephesoft/dcma/recostar/service/RecostarServiceImpl.generateHOCRFiles(Lcom/ephesoft/dcma/da/id/BatchInstanceID;Ljava/lang/String;)V @16: aload_1
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: b801 06b6 0109 b200 0612 07b9 0008 0200
0x0000010: 2bc6 0016 2cc6 0012 2ab4 0009 2bb6 0003
0x0000020: 2cb8 000a b600 0ba7 0030 4eb2 0006 bb00
0x0000030: 0d59 b700 0e12 0fb6 0010 2db6 0011 b600
0x0000040: 10b6 0012 2db9 0013 0300 bb00 1459 2db6
0x0000050: 0011 2db7 0015 bfb2 0006 1207 b900 0802
0x0000060: 00b1
Exception Handler Table:

Solution:
Re-install Ephesoft services.
1. Open the Windows Command Line as Administrator.
2. Navigate to the following path <ephesoft installed folder>\JavaAppserver.
3. Run the install-ephesoft-services.bat.
4. Confirm that new services have local admin rights.
5. Restart the Ephesoft application or service.

Documentation Main Page | How To Articles | Downloads and Updates |

Was this article helpful to you?

Kip Path

Comments are closed.