[Mono-bugs] [Bug 506717] New: ExecuteReader of Mono.Data.SybaseClient throws NullReferenceException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 23 13:37:09 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=506717


           Summary: ExecuteReader of Mono.Data.SybaseClient throws
                    NullReferenceException
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: meebey at meebey.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.10)
Gecko/20080528 Epiphany/2.22 (Debian/2.26.1-1)

I am forwarding this report from the Debian BTS:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530015

Sybase provider crashes when using the example from
http://www.mono-project.com/Sybase. The example works fine with mono 1.0
packages.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.Data.SybaseClient.SybaseDataReader.GetSchemaTable () [0x00000] 
  at (wrapper remoting-invoke-with-check)
Mono.Data.SybaseClient.SybaseDataReader:GetSchemaTable ()
  at Mono.Data.SybaseClient.SybaseDataReader.NextResult () [0x00000] 
  at (wrapper remoting-invoke-with-check)
Mono.Data.SybaseClient.SybaseDataReader:NextResult ()
  at Mono.Data.SybaseClient.SybaseDataReader..ctor
(Mono.Data.SybaseClient.SybaseCommand command) [0x00000] 
  at (wrapper remoting-invoke-with-check)
Mono.Data.SybaseClient.SybaseDataReader:.ctor
(Mono.Data.SybaseClient.SybaseCommand)
  at Mono.Data.SybaseClient.SybaseCommand.ExecuteReader (CommandBehavior
behavior) [0x00000] 
  at Mono.Data.SybaseClient.SybaseCommand.ExecuteReader () [0x00000] 
  at Mono.Data.SybaseClient.SybaseCommand.System.Data.IDbCommand.ExecuteReader
() [0x00000] 
  at MainClass.Main (System.String[] args) [0x00058] in
/home/luser/Projects/TestSybase/TestSybase/Main.cs:28 

Tested against Sybase ASE 12.x.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://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