[Mono-bugs] [Bug 688794] NullReferenceException in GetCustomEncoderFromConfig on new ASP.Net MVC webapp

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 21 08:10:12 EDT 2011



Marek Habersack <mhabersack at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO
       InfoProvider|                            |cinyc.s at gmail.com

--- Comment #5 from Marek Habersack <mhabersack at novell.com> 2011-04-21 14:10:12 CEST ---
(In reply to comment #4)
> Created an attachment (id=426088)
 --> (http://bugzilla.novell.com/attachment.cgi?id=426088) [details]
> Compiled DLL
> Hope this is what you're looking for.  I also hope that it's not a weird
Not really... 

> configuration issue on my side -- though what could lead to an error like this
> is a bit beyond my ability to decipher!
The test case works just fine with this assembly added to the picture. That's
why I asked for the full app - pack the entire directory from which you run the
application, with everything in it.

But, to be frank, I suspect just what you're afraid of. Make sure you don't
have assemblies from two different Mono versions mixed up (if you use parallel
What fails for you is this line (class/System.Web/System.Web/HttpRuntime.cs,
the static constructor):

runtime_section = (HttpRuntimeSection) WebConfigurationManager.GetSection

If any exception is thrown for this, you should see it at the start of the
application, but it's possible we swallow it somehow. In order to test that,
you will need to recompile System.Web from either the 2.10 source tarball or
from the mono-2-10 branch. The line shown above is followed by a catch block -

Console.WriteLine (ex);

at the beginning of that block to see what (if any) exception is thrown.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list