AUTHHUB -> Custom Email Provider integration throws NullPointer
search cancel

AUTHHUB -> Custom Email Provider integration throws NullPointer

book

Article ID: 253669

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

Attempting to register a new email get {"errorCode":"0000012","errorMessage":null} as the Response back from POST https://authhub.test.com/common/factor/v1/OTPRegistrar

In the logs you see a NullPointerException. You aren't logging anything in your Custom Email Provider. Need AuthHub to correctly catch and log the error so you can debug the issue with the Custom Email Provider.

   httpMethod: POST
   level: error
   msg: Encountered exception during the transaction: 'null'
   relVersion: 1.0
   service: factors
   subType: USER
   thread: https-jsse-nio-8080-exec-2
   throwable: java.lang.NullPointerException at com.broadcom.layer7authentication.core.utils.CustomProviderUtil.doCustomEmailProviderCall(CustomProviderUtil.java:365) at com.broadcom.layer7authentication.creds.utils.MDSUtil.sendMessageToCustomSPI(MDSUtil.java:287) at com.broadcom.layer7authentication.creds.sotp.service.ServerOTPCredService.sendMessage(ServerOTPCredService.java:775) at com.broadcom.layer7authentication.creds.sotp.service.ServerOTPCredService.generateOTP(ServerOTPCredService.java:234) at com.broadcom.layer7authentication.creds.sotp.service.ServerOTPCredService.createCredentialEntity(ServerOTPCredService.java:679) at

Environment

Release : AuthHub Milestone 8

Resolution

This issue is resolved in Milestone 9 which is release 2022.Oct.1, if you encounter this problem and on a lower version than M9 then please upgrade to this release to address the issue.