Article Details
| Id: | 15578 | 
| Product: | finPOWER Connect | 
| Type: | FIX | 
| Version: | 3.01.08 | 
| Opened: | 26/03/2018 | 
| Closed: | 26/10/2018 | 
| Released: | 13/12/2018 | 
| Job: | J020446 | 
finBL.CreditBureau.Service_CreditSense.CreateRequestClient method may fail with an "Object reference not set to an instance of an object" error
In the finPOWER Connect Business Layer, calling finBL.CreditBureau.Service_CreditSense.CreateRequestClient without passing a valid "options" parameter causes a "Failed to execute General Script. Script execution failed. Object reference not set to an instance of an object." error.
Note, this issue also applies to the Bank Statements (Proviso) service.
This workaround detailed in kb article #15255 is no longer required e.g.:
Public Function Main(parameters As ISKeyValueList) As BooleanDim Client As finClient' Assume SuccessMain = True' InitialiseClient = finBL.CreateClient()Main = Client.Load("C10000")If Main ThenMain = finBL.CreditBureau.Service_CreditSense.CreateRequestClient(Client)End IfEnd Function