[Mono-bugs] [Bug 80876][Nor] Changed - [MACOSX x86] Parser Error on any Color
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Feb 23 17:33:42 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by nquillen at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80876
--- shadow/80876 2007-02-23 17:28:56.000000000 -0500
+++ shadow/80876.tmp.22546 2007-02-23 17:33:42.000000000 -0500
@@ -10,12 +10,13 @@
Component: Sys.Drawing.
AssignedTo: mono-bugs at ximian.com
ReportedBy: nquillen at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
+Cc:
Summary: [MACOSX x86] Parser Error on any Color
Description of Problem:
Whenever parsing a color for a control(custom or asp) it returns a parser
error. This only happens in Mac OS X running apache with mod_mono, after
the upgrade from 1.2.2.1 to 1.2.3.1 using dmg files.
@@ -173,6 +174,74 @@
I'll ask someone else for a confirmation, in the mean time could you
try the following:
1. try your sample using xsp (not xsp2) without trace
2. try a small, non web, sample that use Color.Red on your system
+
+------- Additional Comments From nquillen at gmail.com 2007-02-23 17:33 -------
+we have a linux server as well, and it doesn't experience this error.
+
+xsp crashes went tring to load, and gives the similar
+DirectoryNotFoundException.
+
+i ran the program:
+ static void Main(string[] args)
+ {
+ System.Drawing.Color test = System.Drawing.Color.Red;
+ System.Drawing.ColorConverter cc = new
+System.Drawing.ColorConverter();
+ test = (System.Drawing.Color)cc.ConvertFromString("Red");
+ }
+
+gave this stack trace:
+Unhandled Exception: System.Reflection.TargetInvocationException:
+Exception has been thrown by the target of an invocation. --->
+System.TypeInitializationException: An exception was thrown by the
+type initializer for System.Drawing.SystemColors --->
+System.TypeInitializationException: An exception was thrown by the
+type initializer for System.Drawing.GDIPlus --->
+System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versio
+ns/1.2.3.1/lib/libgdiplus.dylib
+ at (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdiplusStartup
+(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStar
+tupOutput&)
+ at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner
+exception stack trace ---
+
+ at <0x00000> <unknown method>
+ at System.Drawing.SystemColors..cctor () [0x00000] --- End of inner
+exception stack trace ---
+
+ at <0x00000> <unknown method>
+ at (wrapper managed-to-native)
+System.Reflection.MonoMethod:InternalInvoke (object,object[])
+ at System.Reflection.MonoMethod.Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo culture)
+[0x00000] --- End of inner exception stack trace ---
+
+ at System.Reflection.MonoMethod.Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo culture)
+[0x00000]
+ at System.Reflection.MonoProperty.GetValue (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] index, System.Globalization.CultureInfo culture)
+[0x00000]
+ at System.Reflection.PropertyInfo.GetValue (System.Object obj,
+System.Object[] index) [0x00000]
+ at System.Drawing.Color.GetColorHashtableFromType (System.Type
+type) [0x00000]
+ at System.Drawing.Color.FillColorNames () [0x00000]
+ at System.Drawing.Color.get_NamedColors () [0x00000]
+ at System.Drawing.ColorConverter.ConvertFrom
+(ITypeDescriptorContext context, System.Globalization.CultureInfo
+culture, System.Object value) [0x00000]
+ at System.ComponentModel.TypeConverter.ConvertFrom (System.Object
+o) [0x00000]
+ at System.ComponentModel.TypeConverter.ConvertFromString
+(System.String text) [0x00000]
+ at DataMan.Program.Main (System.String[] args) [0x00000]
+
+ran this same code on the linux server with no errors.
More information about the mono-bugs
mailing list