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

[Bug][GenerationLogic] Length cannot be less than zero.Parameter name: length #7

Open
dingysh2022 opened this issue May 29, 2023 · 1 comment

Comments

@dingysh2022
Copy link

We are facing this issue Length cannot be less than zero. Parameter name: length when trying to use the app. The following is the corresponding stack trace.

   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at System.String.Substring(Int32 startIndex, Int32 length)
   at PlantUMLCodeGeneratorGUI.Class.Set(String classContent)
   at PlantUMLCodeGeneratorGUI.Namespace.ProcessFullContent(String fullContent)
   at PlantUMLCodeGeneratorGUI.Namespace.Set(String namespaceContent)
   at PlantUMLCodeGeneratorGUI.Namespace.Set(String namespaceContent)
   at PlantUMLCodeGeneratorGUI.Namespace.Set(String namespaceContent)
   at PlantUMLCodeGeneratorGUI.Namespace.Set(String namespaceContent)
   at PlantUMLCodeGeneratorGUI.Processor.Process(String fileContent, Settings settings, Namespace& defaultNamespace)
   at PlantUMLCodeGeneratorGUI.frmMain.<btnGenerate_Click>b__5_0(Object o)
@sathukorale
Copy link
Owner

sathukorale commented Jun 1, 2023

@dingysh2022 If you dont mind, can you please share the code that recreates this. It doesn't have to be the exact same code, perhaps a trimmed version.

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

2 participants