B2B 12.2.1.3 Create Message error with hub config — oracle-tech

    Forum Stats

  • 3,708,960 Users
  • 2,241,165 Discussions
  • 7,840,722 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

B2B 12.2.1.3 Create Message error with hub config

Martien van den AkkerMartien van den Akker Posts: 2,758 Bronze Crown

HI Guys,

I'm working on a  solution to implement a B2B Switch to connect multiple Dev-Test-Pre-Prod environments to a shared Dev/Test/Preprod environment amongst Trading Partners. Based on ebMS.

I Used this as a guideline: https://docs.oracle.com/middleware/12212/b2b/b2b-ug/GUID-A736EA83-94F5-472C-8395-20FC75F00775.htm#XBBUG2165

I have a setup that if I connect one Trading Partner to the Remote Trading Partner directly it works correctly. But if I connect them through a B2B-hub-environment, where I have two agreements for each TP, the connection between the sending TP to the hop goes well, Message gets status complete and Ack is send. But at creation of the message to the Receiving TP, I get a nullpointer exception during the Create message:

[2020-05-27T13:56:43.584+02:00] [SoaServer1] [ERROR] [] [oracle.soa.b2b.engine] [tid: DaemonWorkThread: '9' of WorkManager: 'wm/SOAWorkManager'] [userId: <anonymous>] [ecid: ae4154c2-f222-4c4b-9d89-fbcab40744e6-000001e6,0] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 0000N9LzUTjFw005zzO5yW1Un_2j000004] Error -:  B2B-51509:  Create message error: component- null.: java.lang.Exception: java.lang.NullPointerException[[    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2720)    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2112)    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1191)    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1873)    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:968)    at oracle.tip.b2b.msgproc.MessageHandler.doDeliverMessageToDestination(MessageHandler.java:521)    at oracle.tip.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:316)    at oracle.tip.b2b.msgproc.Request.putMsg(Request.java:855)    at oracle.tip.b2b.msgproc.Request.continueRequest(Request.java:640)    at oracle.tip.b2b.msgproc.Request.incomingRequest(Request.java:577)    at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:3421)    at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1960)    at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4919)    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4349)    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3883)    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:644)    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:622)    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)Caused by: java.lang.Exception: java.lang.NullPointerException    ... 26 moreCaused by: java.lang.NullPointerException    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2627)    ... 25 morejava.lang.Exception: java.lang.NullPointerException    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2720)    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2112)    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1191)    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1873)    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:968)    at oracle.tip.b2b.msgproc.MessageHandler.doDeliverMessageToDestination(MessageHandler.java:521)    at oracle.tip.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:316)    at oracle.tip.b2b.msgproc.Request.putMsg(Request.java:855)    at oracle.tip.b2b.msgproc.Request.continueRequest(Request.java:640)    at oracle.tip.b2b.msgproc.Request.incomingRequest(Request.java:577)    at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:3421)    at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1960)    at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4919)    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4349)    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3883)    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:644)    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:622)    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)Caused by: java.lang.NullPointerException    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2627)    ... 25 more Error -:  B2B-51509:  Create message error: component- null.: java.lang.Exception: java.lang.NullPointerException    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2720)    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:2112)    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:1191)    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1873)    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:968)    at oracle.tip.b2b.msgproc.MessageHandler.doDeliverMessageToDestination(MessageHandler.java:521)    at oracle.tip.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:316)    at oracle.tip.b2b.msgproc.Request.putMsg(Request.java:855)    at oracle.tip.b2b.msgproc.Request.continueRequest(Request.java:640)    at oracle.tip.b2b.msgproc.Request.incomingRequest(Request.java:577)    at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:3421)    at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1960)    at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4919)    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4349)    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3883)    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:644)    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:622)    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:39)Caused by: java.lang.Exception: java.lang.NullPointerException    ... 26 moreCaused by: java.lang.NullPointerException    at oracle.tip.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2627)    ... 25 more]]

I googled around and also searched on support.oracle.com, but couldn't find any hints. I also set the log levels of the transports and the engine to Trace and reproduced. But a close look to the trace didn't give me any hints on which attribute is null.

Does anyone has any hints on where to look?

Kind regards,
Martien

Sign In or Register to comment.