cancel
Showing results for 
Search instead for 
Did you mean: 

EdifactConverterModule raises exception when accessing AuditLog

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi ,

This issue is fixed with the note # 2160292 .

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

Thanks

Appala

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

HoHi-cbs
Active Participant
0 Kudos

Hi Timo,

we rolled back to B2B Toolkit SP04 Patchlevel 17.

Regards, Holger

Dimitri
Active Contributor
0 Kudos

Hi Timo,

I assume your other B2B components are also on SP4?

What about the SP level of the OFTP adapter?

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri,

yeah, everything is on SP04 but with different Patchlevels.

Dimitri
Active Contributor
0 Kudos

Can you share your configuration of the receiver OFTP adapter please?

HoHi-cbs
Active Participant
0 Kudos

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