Thanks to visit codestin.com
Credit goes to github.com

Skip to content

System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter] #21669

@EloBobHuang

Description

@EloBobHuang

We try to run Mono on Linux Debian 10 CPU RK3399
We got below error message from GDI+ status , is there any suggestions ?

Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x0009b] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Int32 width, System.Int32 height, System.Drawing.Imaging.PixelFormat format) [0x00017] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Drawing.Image original, System.Int32 width, System.Int32 height) [0x00000] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Drawing.Image original, System.Drawing.Size newSize) [0x00010] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor(System.Drawing.Image,System.Drawing.Size)
at System.Windows.Forms.XplatUIX11.DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, System.Drawing.Color cursor_pixel, System.Drawing.Color mask_pixel, System.Int32 xHotSpot, System.Int32 yHotSpot) [0x0004e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUI.DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, System.Drawing.Color cursor_pixel, System.Drawing.Color mask_pixel, System.Int32 xHotSpot, System.Int32 yHotSpot) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream stream) [0x00058] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursor..ctor (System.Type type, System.String resource) [0x00021] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursors.get_SizeNWSE () [0x0001a] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.SizeGrip..ctor (System.Windows.Forms.Control CapturedControl) [0x00006] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.SizeGrip..ctor(System.Windows.Forms.Control)
at System.Windows.Forms.ScrollableControl.CreateScrollbars () [0x000c2] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x000b0] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Form..ctor () [0x00012] in <0e1823914d7643eeaf1207febb083a4a>:0
at HelloWorld.fMain..ctor () [0x00007] in <17aeee92e4974628865553936163b937>:0
at (wrapper remoting-invoke-with-check) HelloWorld.fMain..ctor()
at HelloWorld.Program.Main () [0x0000e] in <17aeee92e4974628865553936163b937>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x0009b] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Int32 width, System.Int32 height, System.Drawing.Imaging.PixelFormat format) [0x00017] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Drawing.Image original, System.Int32 width, System.Int32 height) [0x00000] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at System.Drawing.Bitmap..ctor (System.Drawing.Image original, System.Drawing.Size newSize) [0x00010] in <0b937e1c0ddd4bf8a08584be511c9f4d>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor(System.Drawing.Image,System.Drawing.Size)
at System.Windows.Forms.XplatUIX11.DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, System.Drawing.Color cursor_pixel, System.Drawing.Color mask_pixel, System.Int32 xHotSpot, System.Int32 yHotSpot) [0x0004e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUI.DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, System.Drawing.Color cursor_pixel, System.Drawing.Color mask_pixel, System.Int32 xHotSpot, System.Int32 yHotSpot) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream stream) [0x00058] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursor..ctor (System.Type type, System.String resource) [0x00021] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Cursors.get_SizeNWSE () [0x0001a] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.SizeGrip..ctor (System.Windows.Forms.Control CapturedControl) [0x00006] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.SizeGrip..ctor(System.Windows.Forms.Control)
at System.Windows.Forms.ScrollableControl.CreateScrollbars () [0x000c2] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x000b0] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Form..ctor () [0x00012] in <0e1823914d7643eeaf1207febb083a4a>:0
at HelloWorld.fMain..ctor () [0x00007] in <17aeee92e4974628865553936163b937>:0
at (wrapper remoting-invoke-with-check) HelloWorld.fMain..ctor()
at HelloWorld.Program.Main () [0x0000e] in <17aeee92e4974628865553936163b937>:0
root@15in-I-Series-4-Value-Linux:/home/linaro#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions