Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hvitaliy opened this issue Mar 15, 2024 · 0 comments

Comments

@hvitaliy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant