web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

object reference not set to an instance of an object - project operations

(0) ShareShare
ReportReport
Posted on by 20

Hi Team,

when i try and create a project line, it gives me this error

pastedimage1629848444737v1.png

the log details are as below:

Exception Message: Object reference not set to an instance of an object.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
    ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService
    ApiStepKey: 48cabb1b-ea3e-db11-86a7-000a3a5473e8
    ApiDepthKey: 1
    ApiActivityIdKey: 414af598-6005-45de-82d2-1538f5c609a8
    ApiPluginSolutionNameKey: System
    ApiStepSolutionNameKey: System
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: IsvAborted
    ApiExceptionHttpStatusCode: 400
    OperationStatus: 0
    SubErrorCode: -2146233088
    Plugin:
        PluginTrace: [Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PostQuoteLineCreate]

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: object reference not set to an instance of an object - project operations

    Hi,

    This is a very generic error thrown when an application is trying to work with a reference that doesn't point to any object. There is no universal solution - you must find the cause in your particular case and fix it.

    You can refer to this post:

    Object reference not set to an instance of an object - Dynamics 365 Finance Forum Community Forum

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

  • Ismath Profile Picture
    20 on at
    RE: object reference not set to an instance of an object - project operations

    Hi Frank,

    Thanks for your response, the link to the post semi fulfils my request, as im not a coder it mentions to debug the reference pointer exception.

    I understand that its looking for a reference/pointer that is null (or not there) hence its throwing the error.

    I need to understand the troubleshooting path/steps, where I would initially look, what the typical things that would break with this kind of error etc.

    Something like this:

    "Use the debugger to find out the place where the error is thrown." but without using the debugger where would the initial point of investigation be, and then following that, where would I search

    unless its way too generic to point out, as it could be anything? without having context of the solution?

    I can read the log file and understand its a reference error but the troubleshooting path to resolution is what I am wanting to know.

    Kindly appreciate your help :)

    IP

  • Community Member Profile Picture
    on at
    RE: object reference not set to an instance of an object - project operations

    Hi,

    If it is a plug-in, this article will be useful to you:

    https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-in?tabs=prt#debug-your-plug-in

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 235

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 177

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 156 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans