Skip to main content
Kofax

Markview Viewer - ERROR com.markview.ui.viewer.commands.ShowPageCommand java.lang.IllegalStateException: Cipher not initialized when opening Markview Images

Summary

12331

Applies To

  • ERP System: Oracle, SAP
  • MarkView Version: 7x and Higher

Behavior

Attempting to open image fails. The following error is seen in the logs:

11/19/2014 3:05:13 PM ERROR com.markview.ui.viewer.commands.ShowPageCommand java.lang.IllegalStateException: Cipher not initialized
at javax.crypto.Cipher.c(DashoA13*..:-1)
at javax.crypto.Cipher.update(DashoA13*..:-1)
at com.certicom.tls.provider.Cipher.update
at com.certicom.tls.record.MessageEncryptor.compressEncryptSend
at com.certicom.tls.record.MessageEncryptor.compressEncryptSend

Known Causes

  • This is related to a configuration issue in Web logic, documented in Oracle's metalink document 860593.1 The error "Cipher not initialized" was thrown because crypto module has not been enabled.

Resolution

  • Add the following command line argument in WLS startup script (WebLogic.cmd or startWebLogic.sh):
    -Dweblogic.security.SSL.nojce=true

Keywords: cipher