Bug 35757 - Exception.ToString => NotSupportedException
Summary: Exception.ToString => NotSupportedException
Status: NEEDINFO
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: 4.2.0 (C6)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-10 17:54 UTC by henrik
Modified: 2015-12-23 03:49 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description henrik 2015-11-10 17:54:52 UTC
Unhandled exception: System.NotSupportedException: Specified method is not supported.
   at System.Reflection.MonoGenericClass.GetMethods (BindingFlags bf) in <filename unknown>:line 0
   at System.Reflection.Emit.TypeBuilder.GetMethodsByName (System.String name, BindingFlags bindingAttr, Boolean ignoreCase, System.Type reflected_type) in <filename unknown>:line 0
   at System.Reflection.Emit.TypeBuilder.GetMethods (BindingFlags bindingAttr) in <filename unknown>:line 0
   at System.Diagnostics.StackTrace.GetFullNameForStackTrace (System.Text.StringBuilder sb, System.Reflection.MethodBase mi) in <filename unknown>:line 0
   at System.Diagnostics.StackTrace.AddFrames (System.Text.StringBuilder sb, Boolean isException) in <filename unknown>:line 0
   at System.Diagnostics.StackTrace.ToString () in <filename unknown>:line 0
   at System.Exception.get_StackTrace () in <filename unknown>:line 0
   at System.Exception.ToString () in <filename unknown>:line 0
   at Hopac.Core.Handler.DoHandleNull (Hopac.Core.Worker& wr, System.Exception e) in <filename unknown>:line 0
   at Hopac.Core.Handler.DoHandle (Hopac.Core.Handler hr, Hopac.Core.Worker& wr, System.Exception e) in <filename unknown>:line 0
   at Hopac.Core.JobBind`2+ContBind[X,Y].DoHandle (Hopac.Core.Worker& wr, System.Exception e) in <filename unknown>:line 0
   at Hopac.Core.Handler.DoHandle (Hopac.Core.Handler hr, Hopac.Core.Worker& wr, System.Exception e) in <filename unknown>:line 0
   at Hopac.Core.FailWork.DoWork (Hopac.Core.Worker& wr) in <filename unknown>:line 0
   at Hopac.Core.Worker.Run (Hopac.Scheduler sr, Int32 me) in <filename unknown>:line 0

Just doing some computation, getting this, seemingly when Hopac calls ToString on an exception. What method is not supported, exactly?
Comment 1 Miguel de Icaza [MSFT] 2015-12-23 03:49:02 UTC
Please provide a repro test case.

Note You need to log in before you can comment on or make changes to this bug.