PowerDocu icon indicating copy to clipboard operation
PowerDocu copied to clipboard

Object reference not set to an instance of an object

Open Jan-de-Vries opened this issue 10 months ago • 4 comments

Describe the bug When starting the documentation process for a Power Automate solution I get instanly the error 'Object reference not set to an instance of an object'

To Reproduce Steps to reproduce the behavior:

  1. Go to Select Apps, Flows, ro Solutions... ... etc.
  2. Select my Power Automate solution.zip
  3. Click on start documentation process for selected files
  4. See error

Expected behavior starting the documentation process.

Screenshots Image

Flow Used If possible, please share the Flow that caused the error. This will help with any troubleshooting, debugging, and improving the solution

Jan-de-Vries avatar Jan 20 '25 13:01 Jan-de-Vries

The error occurs while trying to parse a Flow. Which trigger are you using? Is it possible for you to share the code for it here so that I can try to replicate the issue?

In the new designer, when you edit the trigger, there is a tab called "Code View", for example:

Image

modery avatar Feb 04 '25 04:02 modery

I'm also facing the same error. I think problem is with processing the solution files. If I try to generate document for exported flow (zip), it works, but if I do it for exported solution(zip), it throws the same error "Object reference not set to an instance of an object"

amitgore-jazz avatar Feb 07 '25 15:02 amitgore-jazz

I am also facing the same issue when loading in a solution.

Screenshot:

Image

ezjensen avatar Mar 19 '25 15:03 ezjensen

I've seen this error when PowerDocu is trying to parse Desktop Flows. This has been handled in the most recent code update, which will be included in the next release. Not out yet, will post here again once it is available

modery avatar Mar 23 '25 09:03 modery