#248 closed defect (released)
Error on maximizing units
Reported by: | terry | Owned by: | terry |
---|---|---|---|
Priority: | major | Milestone: | WarFoundry 0.1 |
Component: | WarFoundry-API | Version: | WarFoundry 0.1b6 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When I maximizing a unit of necron warrior (see files attached) I got the following error (sorry for the dutch text in the error message, if you want I can translate it):
Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.
Tekst van uitzondering
System.FormatException: De indeling van de invoertekenreeks is onjuist.
bij System.Text.StringBuilder.FormatError()
bij System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
bij System.String.Format(IFormatProvider provider, String format, Object[] args)
bij IBBoard.Lang.Translation.AddVariablesToTranslation(String translation, Object[] replacements)
bij IBBoard.Lang.Translation.GetTranslation(String translationID, String defaultTranslation, Object[] replacements)
bij IBBoard.WarFoundry.API.Commands.SetUnitSizeCommand.get_UndoDescription() in Y:\IBBoard.WarFoundry.API\api\Commands\SetUnitSizeCommand.cs:regel 53
bij IBBoard.WarFoundry.GUI.WinForms.FrmMain.commandStack_CommandStackUpdated()
bij IBBoard.Commands.CommandStack.DoCommandStackUpdated()
bij IBBoard.Commands.CommandStack.Execute(Command cmd)
bij IBBoard.WarFoundry.GUI.WinForms.FrmUnit.UpdateUnitSize()
bij IBBoard.WarFoundry.GUI.WinForms.FrmUnit.unitSize_Leave(Object sender, EventArgs e)
bij System.Windows.Forms.Control.OnLeave(EventArgs e)
bij System.Windows.Forms.Control.NotifyLeave()
bij System.Windows.Forms.ContainerControl.UpdateFocusedControl()
Geladen assembly's
mscorlib
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Assembly-versie: 0.0.1.36709
Win32-versie: 0.0.1.36709
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/WarFoundry.exe
System.Windows.Forms
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
log4net
Assembly-versie: 1.2.10.0
Win32-versie: 1.2.10.0
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/log4net.DLL
System.Configuration
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
IBBoard
Assembly-versie: 1.0.3645.36639
Win32-versie: 1.0.3645.36639
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/IBBoard.DLL
IBBoardWF
Assembly-versie: 1.0.0.36639
Win32-versie: 1.0.0.36639
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/IBBoardWF.DLL
IBBoard.WarFoundry.API
Assembly-versie: 0.0.1.36640
Win32-versie: 0.0.1.36640
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/IBBoard.WarFoundry.API.DLL
ICSharpCode.SharpZipLib
Assembly-versie: 0.85.5.452
Win32-versie: 0.85.5.452
CodeBase: file:///C:/programma's/WarFoundry-WinForms-v0.1-beta-5/ICSharpCode.SharpZipLib.DLL
System.XML.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_nl_b77a5c561934e089/System.Xml.resources.dll
mscorlib.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
System.Data
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Windows.Forms.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_nl_b77a5c561934e089/System.Windows.Forms.resources.dll
JIT-foutopsporing
Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze
toepassing of computer (machine.config) de waarde
jitDebugging in het gedeelte system.windows.forms zijn ingesteld.
De toepassing moet ook zijn gecompileerd terwijl foutopsporing
was ingeschakeld.
Bijvoorbeeld:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen
naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd
en worden niet door dit dialoogvenster verwerkt.
Attachments (2)
Change History (7)
Changed 10 years ago by
Attachment: | wh40k - Necrons.zip added |
---|
Changed 10 years ago by
Attachment: | wh40k.system added |
---|
The game system file used (from the yahoo group)
comment:2 Changed 10 years ago by
Component: | General/Unknown → WarFoundry-API |
---|---|
Owner: | set to terry |
Status: | new → needinfo_new |
Version: | Unknown or N/A → WarFoundry 0.1b6 |
That seems to translate as "The format of the input string is incorrect." for the exception message. As I mentioned in the thread, the main thing that I can think of is that it is trying to handle a "byte" length number (-127 to 128) and anything beyond that causes an overflow. The only other cause would be an incorrect translation string, but I'd expect that to always error rather than just on some values.
What language were you using for the UI? And what size unit cause the error? Is there a specific limit at which it does and doesn't occur?
comment:3 Changed 10 years ago by
After some more testing, I saw that it happens every time I increase a unit (also on other race files). I'm using the dutch translation (nl)
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | needinfo_new → closed |
comment:5 Changed 10 years ago by
Resolution: | fixed → released |
---|
Mark fix as released under a previous version
the necron race file