My Oracle Support Banner

B2B - Decrypting S/MIME Message Failed {0}. (Doc ID 2733085.1)

Last updated on DECEMBER 03, 2020

Applies to:

SOA Suite Cloud Service - Version 12.2.1.4 and later
Information in this document applies to any platform.

Symptoms

B2B - Decrypting S/MIME message failed {0}.
ERROR
-----------------------
[2020-09-02T11:33:07.235-04:00] [SOAx_server_1] [ERROR] [] [oracle.soa.b2b.engine] [tid: DaemonWorkThread: '16' of WorkManager: 'wm/SOAWorkManager'] [userId: ] [ecid: 43c2afd0-8465-47bf-a264-9ff17c4110ce-0006305c,0] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: ] Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException[[
at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:799)
at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:483)
at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1997)
at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:349)
at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:177)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2157)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1198)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1883)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:973)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4626)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4432)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3913)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:944)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:258)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:633)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)
Caused by: java.lang.NullPointerException
at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:268)
at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:767)
... 22 more
java.lang.NullPointerException
at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:268)
at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:767)
at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:483)
at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1997)
at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:349)
at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:177)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2157)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1198)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1883)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:973)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4626)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4432)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3913)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:944)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:258)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:633)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)
 Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException
at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:799)
at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:483)
at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1997)
at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:349)
at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:177)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2157)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1198)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1883)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:973)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4626)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4432)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3913)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:944)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:258)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:633)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)
Caused by: java.lang.NullPointerException
at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:268)
at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:767)
... 22 more

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.