Export a class as C# code (#1538)

When I try to export some classes to C# code, I get the errors mentioned below. Exporting to Delphi works.

Is there something missing in my Diagramm?

Thanks and Regards

Stefan Menten

System.ArgumentNullException: Der Wert darf nicht NULL sein.

Parametername: key

bei System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

bei System.Collections.Generic.Dictionary`2.FindEntry(TKey key)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateAttributeCommand(AttributeField attribute, CommandWithParameters command)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommandInternal(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommand(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommandInternal(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommand(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommandInternal(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateCommand(CommandWithParameters command, Boolean isForEach)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.EvaluateStatement(String statement)

bei SoftwareIdeasModeler.Core.Generation.TemplateEvaluating.TemplateEvaluator.Evaluate()

bei SoftwareIdeasModeler.Core.Generation.Templates.TemplateFileProcessor.ProcessInternal(Project project)

bei SoftwareIdeasModeler.Core.Generation.Templates.TemplateProcessor.ProcessAbstractElement(TemplateFileItem templateFile, TemplateFileProcessor ftProcessor, IModelElement item)

bei SoftwareIdeasModeler.Core.Generation.Templates.TemplateProcessor.ProcessAbstractElements(TemplateFileItem templateFile, TemplateFileProcessor ftProcessor)

bei SoftwareIdeasModeler.Core.Generation.Templates.TemplateProcessor.ProcessTemplateFileItem(SoftwareIdeasPath templateDirectory, TemplateFileItem templateFileItem, Object obj)

bei SoftwareIdeasModeler.Core.Generation.Templates.TemplateProcessor.Process()

bei SoftwareIdeasModeler.Dialogs.Generating.SourceCode.SettingsForm.Generate()

bei SoftwareIdeasModeler.Dialogs.Generating.SourceCode.SettingsForm.generateButton_Click(Object sender, EventArgs e)

bei System.Windows.Forms.Control.OnClick(EventArgs e)

bei System.Windows.Forms.Button.OnClick(EventArgs e)

bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

bei System.Windows.Forms.Control.WndProc(Message& m)

bei System.Windows.Forms.ButtonBase.WndProc(Message& m)

bei System.Windows.Forms.Button.WndProc(Message& m)

bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OF=SoftwareIdeasModeler.MainForm

LastCmd=SoftwareIdeas.Common.Commands.CombinedCommand

OF=SoftwareIdeasModeler.Dialogs.Generating.SourceCode.SettingsForm

Created
21 December 2017 18:44:31
Closed
2 January 2018 21:30:16
Requested by
Stefan Menten
State
Solved
Version
11.41.6536.40450
OperatingSystem
Windows 10
Solved in
11.45

Dusan Rodina - softwareideas.net 23 December 2017 19:12:07

I am sorry about this bug. It will be analyzed and fixed as soon as possible.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]