[Mono-bugs] [Bug 61050][Maj] New - report.net loading jpeg gives error on mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 2 Jul 2004 03:23:19 -0400 (EDT)

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 ierland@mail.be.


--- shadow/61050	2004-07-02 03:23:19.000000000 -0400
+++ shadow/61050.tmp.9972	2004-07-02 03:23:19.000000000 -0400
@@ -0,0 +1,81 @@
+Bug#: 61050
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Mepis Linux
+Status: NEW   
+Priority: Major
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ierland@mail.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: report.net loading jpeg gives error on mono
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Running the imagesample.cs of report.net in mono
+i get System.NotImplementedException: Feature not implemented when i try 
+to load a jpeg image into a stream while according to Sanjay Gupta 
+<GSanjay@novell.com> this is implemented. So this could be a bug
+Steps to reproduce the problem:
+1. Install report.net ( http://report.sourceforge.net ) 
+2. compile the imagesample.cs
+You need to first edit the imagesample.cs because it contains a typo
+System.IO.Stream stream = GetType().Assembly.GetManifestResourceStream
+System.IO.Stream stream = GetType().Assembly.GetManifestResourceStream
+Because the sample includes a image.jpg but no ReportSamples.Image.jpg.
+compile with 
+mcs /r:Reports.dll -r:System.Drawing -resource:image.jpg imagesample.cs
+3. run imagesample.exe with mono
+mono imagesample.exe
+Actual Results:
+Compat mode: the request from /home/noluser/fax/Reports.dll to load 
+System.Drawing was remapped (http://www.go-mono.com/remap.html)
+Compat mode: the request from /home/noluser/fax/Reports.dll to load 
+System.Web was remapped (http://www.go-mono.com/remap.html)
+Unhandled Exception: System.NotImplementedException: Feature not 
+in <0x001bd> System.Drawing.GDIPlus:CheckStatus (System.Drawing.Status)
+in <0x000a0> System.Drawing.Image:InitFromStream (System.IO.Stream)
+in <0x00056> (wrapper remoting-invoke-with-check) 
+System.Drawing.Image:InitFromStream (System.IO.Stream)
+in <0x0001c> System.Drawing.Bitmap:.ctor (System.IO.Stream,bool)
+in <0x00012> System.Drawing.Bitmap:.ctor (System.IO.Stream)
+in <0x00056> (wrapper remoting-invoke-with-check) 
+System.Drawing.Bitmap:.ctor (System.IO.Stream)
+in <0x00020> System.Drawing.Image:FromStream (System.IO.Stream)
+in <0x0008e> Root.Reports.StaticContainer:Add 
+in <0x0005a> Root.Reports.StaticContainer:AddMM 
+in <0x003bb> ReportSamples.ImageSample:Create ()
+in <0x00030> Root.Reports.Report:Save (string)
+in <0x0019e> Root.Reports.RT:ViewPDF (Root.Reports.Report,string)
+in <0x00029> ReportSamples.ImageSample:Main ()
+Expected Results:
+How often does this happen? 
+at every run on linux mono. Not on windows using MS.net
+Additional Information:
+Have the latest in jpeg and libgdiplus libraries installed, using mono-
+beta3, c#0.91