Symptom
After upgrading to PowerBuilder .NET 12.5.2 (build 5602), the debugger still list errors when the application compiles and runs successfully.
-
The errors that are appearing are:
System.Windows.Data Error: 6 : 'SystemConvertConverter' converter failed to convert value '' (type 'String'); fallback value will be used, if available. BindingExpression:Path=LibraryName; DataItem='TabPage' (Name='tabpage_1'); target element is 'UserObject' (Name=''); target property is 'LinesPerPage' (type 'Int16') FormatException:'System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt16(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at MS.Internal.Data.SystemConvertConverter.Convert(Object o, Type type, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertHelper(IValueConverter converter, Object value, Type targetType, Object parameter, CultureInfo culture)'
-
System.Windows.Data Error: 6 : 'TargetDefaultValueConverter' converter failed to convert value '' (type 'String'); fallback value will be used, if available. BindingExpression:Path=LibraryName; DataItem='TabPage' (Name='tabpage_1'); target element is 'UserObject' (Name=''); target property is 'ObjectType' (type 'PBUserObjects') FormatException:'System.FormatException: is not a valid value for PBUserObjects. ---> System.ArgumentException: Must specify valid information for parsing in the string.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- End of inner exception stack trace ---
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)
at MS.Internal.Data.TargetDefaultValueConverter.Convert(Object o, Type type, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertHelper(IValueConverter converter, Object value, Type targetType, Object parameter, CultureInfo culture)' -
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='NaN' BindingExpression:Path=Width; DataItem='GroupBox' (Name='gb_1'); target element is 'Border' (Name='Header'); target property is 'MaxWidth' (type 'Double')
Read more...
Environment
SAP Sybase PowerBuilder .NET 12.5.2
Product
SAP PowerBuilder 12.5
Keywords
cr750715,.NET, debugger , KBA , BC-SYB-PB , PowerBuilder , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.