0% found this document useful (0 votes)
247 views

Error TPV

The document is a stack trace of an exception thrown in a .NET application. The exception message indicates an invalid parameter was passed to the Graphics.PageUnit method. The stack trace shows the call chain of methods that led to the exception being thrown, with the root cause being a call to set the text property on a LabelControl, which then triggered a recalculation of text sizes.

Uploaded by

dilo
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
247 views

Error TPV

The document is a stack trace of an exception thrown in a .NET application. The exception message indicates an invalid parameter was passed to the Graphics.PageUnit method. The stack trace shows the call chain of methods that led to the exception being thrown, with the root cause being a call to set the text property on a LabelControl, which then triggered a recalculation of text sizes.

Uploaded by

dilo
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Consulte el final de este mensaje para obtener m�s detalles sobre c�mo invocar a la

depuraci�n
Just-In-Time (JIT) en lugar de a este cuadro de di�logo.

************** Texto de la excepci�n **************


System.ArgumentException: El par�metro no es v�lido.
en System.Drawing.Graphics.get_PageUnit()
en DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font
font)
en DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font
font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight,
IWordBreakProvider wordBreakProvider, Boolean& isCropped)
en DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font
font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean&
isCropped)
en DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font
font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
en DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font
font, StringFormat strFormat, Int32 maxWidth)
en DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache,
StringFormat sf, String s, Int32 width)
en
DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String
Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32
predHeight)
en DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String
Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32
predHeight)
en DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String
Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode)
en DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(Boolean
useHotkeyPrefix)
en DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextPoints()
en
DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcContentRect(Rectangle
bounds)
en DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcRects()
en DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcViewInfo(Graphics g)
en DevExpress.XtraEditors.LabelControl.LayoutChanged(Boolean isVisualUpdate)
en DevExpress.XtraEditors.LabelControl.LayoutChanged()
en DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
en System.Windows.Forms.Control.set_Text(String value)
en DevExpress.XtraEditors.LabelControl.set_Text(String value)
en PDVUNOEE.MDIPDVUNOEE.prvTmRelojApp_Tick(Object sender, EventArgs e)
en System.Windows.Forms.Timer.OnTick(EventArgs e)
en System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)

************** Ensamblados cargados **************


mscorlib
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PDVUNOEE
Versi�n del ensamblado: 1.19.329.26663
Versi�n Win32: 1.19.329.26663
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/PDVUNOEE.exe
----------------------------------------
UnoEEGeneral
Versi�n del ensamblado: 1.19.329.30000
Versi�n Win32: 1.19.329.30000
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/UnoEEGeneral.DLL
----------------------------------------
ISvcServicioNet
Versi�n del ensamblado: 1.19.329.28553
Versi�n Win32: 1.19.329.28553
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/ISvcServicioNet.DLL
----------------------------------------
SvcSincronizador
Versi�n del ensamblado: 1.19.329.20197
Versi�n Win32: 1.19.329.20197
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/SvcSincronizador.DLL
----------------------------------------
System.Drawing
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03
f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c56193
4e089/System.dll
----------------------------------------
DevExpress.Utils.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.Utils.v18.1.DLL
----------------------------------------
DevExpress.BonusSkins.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.BonusSkins.v18.1.DLL
----------------------------------------
System.Windows.Forms
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.
0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Microsoft.VisualBasic
Versi�n del ensamblado: 10.0.0.0
Versi�n Win32: 14.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.
0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c
561934e089/System.Core.dll
----------------------------------------
System.Configuration
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.
0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c5
61934e089/System.Xml.dll
----------------------------------------
UNOEEControles
Versi�n del ensamblado: 1.19.329.28556
Versi�n Win32: 1.19.329.28556
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/UNOEEControles.DLL
----------------------------------------
DevExpress.Data.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.Data.v18.1.DLL
----------------------------------------
DevExpress.XtraEditors.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.XtraEditors.v18.1.DLL
----------------------------------------
mscorlib.resources
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_
es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
DevExpress.XtraGrid.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.XtraGrid.v18.1.DLL
----------------------------------------
System.Data
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c56
1934e089/System.Data.dll
----------------------------------------
UnoEEDatos
Versi�n del ensamblado: 1.19.329.28547
Versi�n Win32: 1.19.329.28547
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/UnoEEDatos.DLL
----------------------------------------
SvcDispositivosPOS
Versi�n del ensamblado: 1.19.329.30954
Versi�n Win32: 1.19.329.30954
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/SvcDispositivosPOS.DLL
----------------------------------------
System.Data.DataSetExtensions
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4
.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.ServiceModel
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0
__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.
0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a
5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4
.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
System.Transactions
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__
b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.IdentityModel
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.
0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 10.0.30319.1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnosti
cs.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnosti
cs.ServiceModelSink.dll
----------------------------------------
System.Web
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f1
1d50a3a/System.Web.dll
----------------------------------------
System.RunTime.Serialization.resources
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.res
ources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Runtime.Serialization.resources.dll
----------------------------------------
System.Numerics
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b7
7a5c561934e089/System.Numerics.dll
----------------------------------------
Microsoft.PointOfService
Versi�n del ensamblado: 1.14.1.0
Versi�n Win32: 1.14.1.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/Microsoft.PointOfService.DLL
----------------------------------------
OPOS.CashDrawer.ccb90043-b81e-11d2-ab74-0040054c3719
Versi�n del ensamblado: 0.0.0.0
Versi�n Win32: 1.14.1.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/Microsoft.PointOfService.dll
----------------------------------------
OPOS.Scanner.ccb90183-b81e-11d2-ab74-0040054c3719
Versi�n del ensamblado: 0.0.0.0
Versi�n Win32: 1.14.1.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/Microsoft.PointOfService.dll
----------------------------------------
OPOS.Scale.ccb90173-b81e-11d2-ab74-0040054c3719
Versi�n del ensamblado: 0.0.0.0
Versi�n Win32: 1.14.1.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/Microsoft.PointOfService.dll
----------------------------------------
System.Management
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__
b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.ComponentModel.DataAnnotations
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnota
tions/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
DevExpress.XtraLayout.v18.1
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.XtraLayout.v18.1.DLL
----------------------------------------
Accessibility
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f
5f7f11d50a3a/Accessibility.dll
----------------------------------------
DevExpress.XtraGauges.v18.1.Win
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.XtraGauges.v18.1.Win.DLL
----------------------------------------
DevExpress.XtraGauges.v18.1.Core
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base:
file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.XtraGauges.v18.1.Core.DLL
----------------------------------------
WindowsBase
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf38
56ad364e35/WindowsBase.dll
----------------------------------------
System.Data.Linq
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b
77a5c561934e089/System.Data.Linq.dll
----------------------------------------
UIAutomationClient
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0_
_31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
DevExpress.Printing.v18.1.Core
Versi�n del ensamblado: 18.1.4.0
Versi�n Win32: 18.1.4.0
C�digo base: file:///C:/SiesaPOS/SiesaPOSEE/DevExpress.Printing.v18.1.Core.DLL
----------------------------------------
System.Drawing.resources
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.resources/v4.0_4.
0.0.0_es_b03f5f7f11d50a3a/System.Drawing.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versi�n del ensamblado: 4.0.0.0
Versi�n Win32: 4.7.2556.0 built by: NET471REL1
C�digo base:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v
4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Depuraci�n JIT **************
Para habilitar la depuraci�n Just In Time (JIT), el archivo de configuraci�n de
esta
aplicaci�n o equipo (machine.config) debe tener el
valor jitDebugging establecido en la secci�n system.windows.forms.
La aplicaci�n tambi�n se debe compilar con la depuraci�n
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando est� habilitada la depuraci�n JIT, cualquier excepci�n no controlada


se enviar� al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de di�logo.

You might also like