You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a NPE while sending an outbound Peppol message because I relied on the @Nonnull annotation in IPhase4PeppolCertificateCheckResultHandler for the @Nonnull X509Certificate aAPCertificate parameter.
Hi Philip,
I have encountered a NPE while sending an outbound Peppol message because I relied on the
@Nonnull
annotation inIPhase4PeppolCertificateCheckResultHandler
for the@Nonnull X509Certificate aAPCertificate
parameter.Going through the code I can see where this is coming from:
Phase4PeppolSender.java
(m_bCheckReceiverAPCertificate
is false)From this point onwards the certificate is declared as Nullable:
AS4EndpointDetailProviderPeppol.java
The text was updated successfully, but these errors were encountered: