Bug Reports Archive (2009-2012)

Software Ideas Modeler

Bugs found in Software Ideas Modeler please report here.

23 September 2009 23:19:38

Dusan Rodina - softwareideas.net 24 November 2011 14:28:40

RE: Project crash

I can see from stack trace that the origin of this exception isn't in code of SIM, but somewhere in .NET framework. I also tried to reproduce or raise it, but without success. I can only suggest to try install latest updates for .NET framework. I hope it helps.

Tomas S 14 November 2011 2:00:07

Error when exporting state machine diagram to PNG

The following error is reported:

System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)

at SoftwareIdeasModeler.Core.Exporting.Images.PngDiagramExporter.ExportToFile(String fileName)

at SoftwareIdeasModeler.Dialogs.Exporting.BatchExporter.Export(List`1 diagrams)

at SoftwareIdeasModeler.Dialogs.Exporting.BatchExportForm.okButton_Click(Object sender, EventArgs e)

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

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

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

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

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

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

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

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

Tomas S 14 November 2011 2:11:45

RE: Error when exporting state machine diagram to

I realized the problem. I have used a slash in the diagram name and selected export using the diagram name.

Never the less, there should be a message stating that a character invalid for filenames is used or something similar.

Dusan Rodina - softwareideas.net 14 November 2011 15:31:49

RE: RE: Error when exporting state machine diagram

This additional info helps me to fix this problem faster. Now, SIM automatically adjusts file names to not contain the invalid characters at batch export.

Fixed in version 4.103, which is available for download now.

Deathline 27 October 2011 3:37:29

PDF and SVG Problem

I have two problems

1-I can create svg files correctly but ı cant print any program(i.e,firefox,inkspace).Result is only blank page.

My files working but v4.102 has some damage on files, so old version of modeller cant help me

Although i cant print multiple pages(print only one page), i think it has relation about these problems.

2-I can't export pdf in version 4.102 and 4.102 hotfix, give me this error

System.ArgumentException: Parametre geçerli değil.

konum: System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

konum: System.Drawing.Bitmap..ctor(Int32 width, Int32 height)

konum: SoftwareIdeasModeler.Core.Exporting.Images.BitmapDiagramExporter.GetBitmap()

konum: SoftwareIdeasModeler.Core.Exporting.Images.PdfDiagramExporter.ExportToFile(String fileName)

konum: SoftwareIdeasModeler.ExportUtils.ExportToPdf(String fileName, Diagram diagram)

konum: SoftwareIdeasModeler.MainForm.pdfToolStripMenuItem_Click(Object sender, EventArgs e)

konum: System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

konum: System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

konum: System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

konum: System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

konum: System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

konum: System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

konum: System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

konum: System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

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

konum: System.Windows.Forms.Control.WndProc(Message& m)

konum: System.Windows.Forms.ScrollableControl.WndProc(Message& m)

konum: System.Windows.Forms.ToolStrip.WndProc(Message& m)

konum: System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

konum: System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

konum: System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

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

Dusan Rodina - softwareideas.net 27 October 2011 4:29:46

RE: PDF and SVG Problem

Do you have this problem also when you export class diagram with a single class?

27 October 2011 4:40:55

RE: RE: PDF and SVG Problem

A flowchart diagram which is include multiple diagram, i'm trying to export only a diagram , the diagram have multiple elements

Dusan Rodina - softwareideas.net 14 November 2011 15:34:30

RE: RE: RE: PDF and SVG Problem

Please, try version 4.103. If it doesn't solve your problem, could you please provide me more information about the problem - resolution of image, used objects, etc.

denkir 19 October 2011 5:18:07

Project crash

I've lost my Project due to the program crash. I've spent several days while working with it.

The problem rests with the Sequence Diagram.

Here's the failure message:

System.InvalidCastException: Не удалось привести тип объекта "SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.ConcreteUmlLifeline" к типу "SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.ConcreteUmlActivationBar".

в SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.ConcreteUmlSequenceAction.BindToEntities(Diagram diagram)

в SoftwareIdeasModeler.Core.Projecting.Project.BindEntities()

в SoftwareIdeasModeler.ProjectXml.SimXmlReader.Load()

в SoftwareIdeasModeler.ProjectHelper.OpenProject(MainForm mainForm, String filename)

Dusan Rodina - softwareideas.net 19 October 2011 5:25:13

RE: Project crash

It needn't to be lost. If it is possible, you can send me this project to my e-mail and I can try to fix it.

denkir 19 October 2011 5:59:59

RE: RE: Project crash

I've sent it. Hope it's doable.

Dusan Rodina - softwareideas.net 19 October 2011 12:05:30

RE: RE: RE: Project crash

Problem was at loading. This hot fix solves it: http://www.softwareideas.net/SoftwareIdeasModeler.4.102HotFix.zip

This fix will be included in version 4.103.

Jimmy 4 October 2011 13:39:56

Error sequence expression

When modifying a reverseSeqeunceExpression in a communiaction diagram the following shows up.

System.OverflowException: Overloopfout.

bij System.Drawing.Graphics.CheckErrorStatus(Int32 status)

bij System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)

bij DrSvgLibrary.GdiGraphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)

bij SoftwareIdeasModeler.Visualisation.DiagramDrawer.DrawString(String text, Font font, Brush brush, RectangleF rect, StringFormat sf)

bij SoftwareIdeasModeler.Visualisation.DiagramDrawer.DrawString(String text, TextStyle textStyle, RectangleF rect)

bij SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.ConcreteUmlCommunicationMessage.DrawReverseMessage(DiagramDrawer drawer, DrawingParameters param)

bij SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.ConcreteUmlCommunicationMessage.DrawElement(DiagramDrawer drawer, DrawingParameters param)

bij SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramItem.Draw(DiagramDrawer drawer, DrawingParameters param)

bij SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, ConcreteDiagramItem item)

bij SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, Rectangle clipArea)

bij SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(Diagram diagram, Rectangle drawBounds)

bij SoftwareIdeasModeler.SimDiagramControl.SimDiagramControl_Paint(Object sender, PaintEventArgs e)

bij System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)

bij System.Windows.Forms.Control.WmPaint(Message& m)

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

bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

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

denkir 19 October 2011 5:58:32

RE: Error sequence expression

I've sent it. Hope it's doable.

Dusan Rodina - softwareideas.net 11 October 2011 13:45:12

RE: Error sequence expression

I couldn't repeat it. Was it a rare crash or do you encounter this error regularly for some specific input?

Jyrki 24 September 2011 9:01:32

ArgumentOutOfRangeException under Linux

Hello Dušan,

I was editing a class diagram and attempted to make an operation abstract (via the Properties dialog of the class).

I got the following exception and stack trace:

System.ArgumentOutOfRangeException: Argument is out of range.

Parameter name: Column index is out of range.

at System.Windows.Forms.DataGridView.InvalidateCell (Int32 columnIndex, Int32 rowIndex) [0x00000] in <filename unknown>:0

at System.Windows.Forms.DataGridView.InvalidateCell (System.Windows.Forms.DataGridViewCell dataGridViewCell) [0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check) System.Windows.Forms.DataGridView:InvalidateCell (System.Windows.Forms.DataGridViewCell)

at System.Windows.Forms.DataGridViewCell.SetValue (Int32 rowIndex, System.Object value) [0x00000] in <filename unknown>:0

at System.Windows.Forms.DataGridViewCell.set_Value (System.Object value) [0x00000] in <filename unknown>:0

at System.Windows.Forms.DataGridViewRow.SetValues (System.Object[] values) [0x00000] in <filename unknown>:0

at System.Windows.Forms.DataGridViewRowCollection.Add (System.Object[] values) [0x00000] in <filename unknown>:0

at SoftwareIdeasModeler.Dialogs.Properties.UmlOperationEditorForm.BindData () [0x00000] in <filename unknown>:0

at SoftwareIdeasModeler.Dialogs.Properties.UmlOperationEditorForm..ctor (SoftwareIdeasModeler.Core.Projecting.Project project, SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.UmlOperation operation) [0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check) SoftwareIdeasModeler.Dialogs.Properties.UmlOperationEditorForm:.ctor (SoftwareIdeasModeler.Core.Projecting.Project,SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.UmlOperation)

at SoftwareIdeasModeler.Dialogs.Properties.ClassDefinitionControl.editButton_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0

at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

Not a big deal (as I have access to Windows), but I thought you may want to know about it anyway. :)

Dusan Rodina - softwareideas.net 26 September 2011 15:03:38

RE: ArgumentOutOfRangeException under Linux

Hello,

thank you for notice. I'll fix it as soon as possible.

Dusan Rodina - softwareideas.net 11 October 2011 13:39:35

RE: RE: ArgumentOutOfRangeException under Linux

Fixed in version 4.102.

Jyrki 14 October 2011 1:46:07

RE: RE: RE: ArgumentOutOfRangeException under Linu

Thank you for the fix! :)

acottag 22 September 2011 15:16:23

Crash on Project Menu

Hello!

I'm using SIM in trial period; it looks a promising tool, but I am having a crash as Project Menu is selected from upper menu bar.

Does anyone knows how to solve the problem? How may I paste crash/error details in this bug report?

Best regards,

Antonio