1 Reply Latest reply on Sep 13, 2013 9:19 PM by Alex Keh - Product Manager-Oracle

    NullReferenceException on connection Open

    Slawek Rosiek

      Hi, I'm writing plugin for Visual Studio 2012 that use Managed ODP.NET Unfortunately on one computer that use Windows 8.1 RTM x64 I receive the following exception:


      System.NullReferenceException: Object reference not set to an instance of an object.   
      at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)   
      at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)   
      at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)   
      at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)   
      at Oracle.ManagedDataAccess.Client.OracleConnection.Open()


      When I create simply application that just create connection and open it everything work. Is there any patch that solve that bug?