[Mono-bugs] [Bug 474398] New: gendarme NHibernate.dll causes and uncaught exception in Gendarme.Rules.Interoperability.DelegatesPassedToNativeCodeMustIncludeExceptionHandlingRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 10 11:51:34 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=474398


           Summary: gendarme NHibernate.dll causes and uncaught exception
                    in
                    Gendarme.Rules.Interoperability.DelegatesPassedToNativ
                    eCodeMustIncludeExceptionHandlingRule
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jrwren at xmtp.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Opera/9.62 (Windows NT 6.1; U; en) Presto/2.1.1

uncaught exception with stack trace.

Reproducible: Always

Steps to Reproduce:
1. download nhibernate 2.0.1
2. unzip nhibernate 2.0.1
3. run gendarme NHibernate.dll
Actual Results:  
Gendarme v2.3.0.0
Copyright (C) 2005-2008 Novell, Inc. and contributors

Initialization: 0.5 seconds
NHibernate.dll
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Rule:  
Gendarme.Rules.Interoperability.DelegatesPassedToNativeCodeMustIncludeExceptionHandlingRule
Target: System.Void NHibernate.AdoNet.AbstractBatcher::CancelLastQuery()
Stack trace: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at
System.Collections.Generic.List`1[Gendarme.Rules.Interoperability.DelegatesPassedToNativeCodeMustIncludeExceptionHandlingRule+ILRange].get_Item
(Int32 index) [0x00000]
  at
Gendarme.Rules.Interoperability.DelegatesPassedToNativeCodeMustIncludeExceptionHandlingRule.CheckMethod
(Mono.Cecil.MethodDefinition method) [0x00000]
  at Gendarme.Framework.Runner.OnMethod (Gendarme.Framework.RunnerEventArgs e)
[0x00000]
  at Gendarme.Framework.Runner.Run () [0x00000]
  at Gendarme.ConsoleRunner.Run () [0x00000]
  at Gendarme.ConsoleRunner.Execute (System.String[] args) [0x00000]


Expected Results:  
no exceptions

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


More information about the mono-bugs mailing list