modery / PowerDocu

Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error message: length (-1) must be a non-negative value. (Parameter length*) Actual value was -1.

hvitaliy opened this issue · comments

Hello Modery,

Could you please assist me with this issue?

I have got following error message:
An error has occurred.
Error message: length (-1) must be a non-negative value. (Parameter length*)
Actual value was -1.
Details:
at System.ArgumentOutOfRangeException.ThrowNegative[Tl(T value. String paramName)
at System.ArgumentOutOfRangeException.ThrowlfNegative[T](T value, String paramName)
at System.String.ThrowSubstringArgumentOutOfRange(lnt32 startlndex, Int32 length)
at System.String.Substring(lnt32 startlndex. Int32 length) at PowerDocu.Common.AppParser.extractContextVariableNames(String code) in
C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 4% at PowerDocu.Common.AppParser.CheckForVariables(ControlEntity controlEntity, String input) in
C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 349 at PowerDocu.Common.AppParser.parseControl(List'1 properties) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 161 at PowerDocu.Common.AppParser.parseControl(List'1 properties) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 135 at PowerDocu.Common.AppParser.parseAppControls(Stream appArchive) in
C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 114 at PowerDocu.Common.AppParser..ctor(String filename) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\modules\PowerDo cu.Common\PowerDocu.Common\AppParser.cs:line 42 at
PöwerDocu.AppDocumenter.AppDocumentationGenerator.GenerateDoc umentation(String filePath, String fileFormat, Boolean documentDefaultChangesOnly, Boolean documentDefaults, String wordTemplate, String outputPath) in
C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.AppD ocu menter\AppDocu mentationGenerator.cs:line 18 at
PowerDocu.SolutionDocumenter.SolutionDocumentationGenerator.Gene rateDocumentation(String filePath, String fileFormat, Boolean documentDefaultChangesOnly, Boolean documentDefaults, String flowActionSortOrder, String wordTemplate, String outputPath) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerOocu.Soluti onDocumenter\SolutionDocumentationGenerator.cs:line 24 at PowerDocu.GUI.PowerDocuForm.SelectZIPFileButton_Click(Object sender, EventArgs e) in
C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.GUI\P owerDocuForm.cs:line 65
"

Thanks in advance.