Skip to content

Instantly share code, notes, and snippets.

@Rajneesh360Logica
Created September 29, 2014 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rajneesh360Logica/1d817c53d26cfed025a5 to your computer and use it in GitHub Desktop.
Save Rajneesh360Logica/1d817c53d26cfed025a5 to your computer and use it in GitHub Desktop.
Unhandled Exception:
System.AggregateException: One or more errors occurred ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.EntryPointNotFoundException: GdiplusStartup
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127
--- End of inner exception stack trace ---
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00077] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:290
at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00011] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:164
at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:143
at FileGrabber.MainClass+<GetImageAsync>c__async1.MoveNext () [0x001c4] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:45
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00049] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task.cs:706
at System.Threading.Tasks.Task.Wait () [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task.cs:676
at System.Threading.Tasks.Task`1[System.Drawing.Image].get_Result () [0x0000b] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:48
at FileGrabber.MainClass.Main (System.String[] args) [0x0001d] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:58
--> (Inner exception 0) System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.EntryPointNotFoundException: GdiplusStartup
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127
--- End of inner exception stack trace ---
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00077] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:290
at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00011] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:164
at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:143
at FileGrabber.MainClass+<GetImageAsync>c__async1.MoveNext () [0x001c4] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:45
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.EntryPointNotFoundException: GdiplusStartup
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127
--- End of inner exception stack trace ---
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00077] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:290
at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00011] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:164
at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:143
at FileGrabber.MainClass+<GetImageAsync>c__async1.MoveNext () [0x001c4] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:45
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00049] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task.cs:706
at System.Threading.Tasks.Task.Wait () [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task.cs:676
at System.Threading.Tasks.Task`1[System.Drawing.Image].get_Result () [0x0000b] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:48
at FileGrabber.MainClass.Main (System.String[] args) [0x0001d] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:58
--> (Inner exception 0) System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.EntryPointNotFoundException: GdiplusStartup
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127
--- End of inner exception stack trace ---
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00077] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:290
at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00011] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:164
at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Image.cs:143
at FileGrabber.MainClass+<GetImageAsync>c__async1.MoveNext () [0x001c4] in /Users/MM/Downloads/FileGrabber 2/FileGrabber/Program.cs:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment