cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rlmckean
Level: Powered On

valid pointer system Nullreference exception

I have created an App with bespoke entity and two relationship fields. If I create a new record it displays fine. However when I try and edit the app again I get this error " Invalid pointer System.NullReference Exception:Object Reference not set to an isnatnce of an Object at Microsoft.Appmagic.Authoring.Document.get_datasource() "

If I open the data in excel and save it again the app opens in edit mce fine !

Any Ideas

Richard

1 REPLY 1
Community Support Team
Community Support Team

Re: valid pointer system Nullreference exception

Hi Rlmckean,

 

I have a custom entity which has two relationship fields.
According to your description, I create an app based on this entity.
I create a new record and save it to the data source, then edit it again, I can save the modified data to data source with no error.
The configuration of my app looks like below:

1.png

 

Do you have any other special configures on the app or entity? Please provide more details to reproduce this issue on my side.


Please also try again it on your side to see if it works now.

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,118)