Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Value cannot be null. Parameter name: source (from plugin)

(0) ShareShare
ReportReport
Posted on by 1,030

An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute):

System.ArgumentNullException: Value cannot be null. Parameter name: source

ColumnSet OQOcols = new ColumnSet(true);

Entity OQO = service.Retrieve(entity.LogicalName, entity.Id, OQOcols);

"opportunity", accurate guid, cols -- nothing is null

I have no idea what parameter "source" is.  It worked last week.

*This post is locked for comments

  • Verified answer
    Martin Donnelly Profile Picture
    1,030 on at
    RE: Value cannot be null. Parameter name: source (from plugin)

    weird

    after more attempts the debugger got past that retrieve until I found the actual error:  something.Where<Entity>(y => y.Id == product.Id); when something was null.

    Sorry.  Mystery solved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans