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
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.