NullReferenceException with Connection.GetSchema 
-------------------------------------------------

                 Key: DNET-501
                 URL: http://tracker.firebirdsql.org/browse/DNET-501
             Project: .NET Data provider
          Issue Type: Bug
    Affects Versions: 2.5.2
         Environment: .NET Compact Framework 3.5 SP2/ Firebird 2.5.1
            Reporter: Pavel
            Assignee: Jiri Cincura
            Priority: Blocker


I try to use GetSchema in FirebirdClient-NETCF-2.5.2:

command.Connection.GetSchema("Generators"); - NullReferenceException Exception

   at FirebirdSql.Data.Schema.FbSchemaFactory.GetSchema(FbConnection 
connection, String collectionName, String[] restrictions)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.GetSchema(String 
collectionName, String[] restrictions)
   at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String 
collectionName, String[] restrictions)
   at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String 
collectionName)

// Also the same exception:
DataTable parmsDataTable = connection.GetSchema("procedurearameters", new 
string[] { null, null, spName });
return parmsDataTable.Rows.Count;

// Also the same exception:
FbCommandBuilder.DeriveParameters(command);

Tests runs on real device with WinCE 6.0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to