Skip to Content
author's profile photo Former Member
Former Member

EdifactConverterModule raises exception when accessing AuditLog

Hi Experts,

currently I am working on a scenario with GlobalInvoice (in VDA standard this is VDA4938 based on INVOICE07A EDIFACT).

Therefore I am using OFTP Receiver Adapter with EdifactConverterModule to convert XML to plain message.

But after mapping in module I got following error - with B2BAddOn SP04 - esp. B2BTOOLKIT Patchlevel 19. To me this seems to be a bug - but might also depend on some configuration issue. I also checked some parameters.

MP: processing local module localejbs/EdifactConverterModule

12.05.2015 12:10:53.691 Fehler MP: exception caught with cause java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String, java.lang.Object[]) of a null object loaded from local variable 'auditAccess'

12.05.2015 12:10:53.695 Fehler Ausnahme aufgetreten beim Adapter-Framework: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String, java.lang.Object[]) of a null object loaded from local variable 'auditAccess'

12.05.2015 12:10:53.697 Fehler Die Message konnte nicht über Verbindung IDoc_AAE_http://sap.com/xi/XI/System an Endpunkt <local> übertragen werden wegen: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String, java.lang.Object[]) of a null object loaded from local variable 'auditAccess'

Any hint is appreciated - thanks in advance.

Regards,

Timo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 20, 2015 at 05:04 AM

    Hi ,

    This issue is fixed with the note # 2160292 .

    Please apply the latest patch ( i.e , #25 ) of PIB2BTOOLKIT .

    Thanks

    Appala

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2015 at 05:58 AM

    Thank you guys so far - something that is kind of strange is, that we were currently testing to send messages in test tool directly.

    When switching encoding to ISO-8859-1 it seems that the module works correctly - but we have to do some further investigations.

    But we are facing the same issue as Holgers team did - due to project schedule we are also thinking about rollback to prior patchlevel.

    But any other hint is appreciated.

    @Holger : Which patchlevel did you use for rollback ?

    Regards,

    Timo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 13, 2015 at 06:29 AM

    Hi Timo,

    I assume your other B2B components are also on SP4?

    What about the SP level of the OFTP adapter?

    Kind regards,

    Dimitri

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Dimitri,

      we have experienced the same issue with B2B Toolkit SP04 Patch Level 20. The issue does not seem to be related to the OFTP adapter, since we were also able to reproduce with EDI conversion with other adapter types (file, AS2). Due to the criticality of the issue we had to roll back our PO system to the previous patch level. Since we had no possibility to reproduce the error after the rollback, we haven't opened an OSS message.

      Regards, Holger

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2015 at 12:25 PM

    Ok at the moment I assume this being a bug in patch levels 18, 19 ff - I haven't tried latest ones ...

    I also don't see a OSS Note for this.

    I will close this topic with the solution that rolling back patch levels might be the option.

    Thanks for the help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.