|
From: Bob K. <py...@ce...> - 2004-04-01 09:25:38
|
The problem is due to my code fault when I try to make the send with
registeration part feature....
will be fixed ASAP.
Regards,
Bob Koon
Mayne, Peter wrote:
> I'm using Hermes pulled from CVS this morning.
>
> When I receive an error message (action "MessageError" with an
> <eb:ErrorList> in the header), I'm getting null pointer exceptions.
>
> So far, I've tracked it down to MessageServiceHandler.dispatchMessage():
>
> if (isError) {
> logger.debug("Error message received");
> final String refToMessageId =
> ebxmlMessage.getMessageHeader().
> getRefToMessageId();
> logger.debug("RefToMessageId: " + refToMessageId);
> if (refToMessageId != null) {
> final ApplicationContext refToAppContext =
>
> messageServer.getApplicationContext(refToMessageId, tx);
> if (refToAppContext != null) {
> appContext = refToAppContext;
> mshConnection = (appContext == null ? null :
>
> (MessageServiceHandlerConnection)
>
> mshConnectionTable.get(appContext));
>
> At this point, appContext is "appContext
> <CPAId>=cecid:send_generate_cpaid,
> <ConversationId>=0.7193359494581163, <Service>=0.40606018618039663,
> <Action>=0.01091177446510061", and mshConnection is null.
>
> Near the end of dispatchMessage(), there is this code:
>
> Delivery delivery = new Delivery(this, appContext,
> mshConnection.getMessageServiceHandlerConfig().
> getMessageListener(), ebxmlMessage);
>
> Because mshConnection is null, I get a NullPointerException.
>
> I'm not sure which direction I should go in from here. Any clues?
>
> Thanks.
>
> PJDM
> --
> Peter Mayne
> Technology Consultant
> Spherion Technology Solutions
> Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
> T: 61 2 62689727 F: 61 2 62689777
>
>
>
>
>
>
|