/
Media Configuration Error: Assertion Failed: Rethrowing this: System.NullPointerException, Msg: Attempt to de-reference a null object stackTrace

Media Configuration Error: Assertion Failed: Rethrowing this: System.NullPointerException, Msg: Attempt to de-reference a null object stackTrace

Overview

When in the Media Search selecting an Ad Spec then clicking Start “Media Configuration” the error below is thrown.

 

Assertion Failed: Rethrowing this: System.NullPointerException, Msg: Attempt to de-reference a null object stackTrace: Class.ADvendio.MediaConfigurationController.identifyCIRecordType: line 979, column 1 Class.ADvendio.MediaConfigurationController.<init>: line 228, column 1

Cause of the Issue:

Might be a badly setup item or a misconfiguration since it could have deactivated Record Types, the mentioned code in the error is basically just evaluating certain Record Types from the Ad Spec record.

The following should be checked:

  • Which Record Type their Ad Spec has and if this is active in the Ad Spec sObject via Setup-> Object Manager -> Ad Spec -> Record Type

  • Record Type from the Ad Type

  • Do they have Tab Rules and Tab Setup records

  • Does anything in general look strange (check Tab Setup and Tab Rules, e.g did they make a modification recently)

  • Do they have Site, Placement and Ad Type Configured as expected on the Ad Spec

 

Related content