1 Reply Latest reply: Sep 13, 2013 4:19 PM by Alex.Keh .Product.Manager-Oracle RSS

    NullReferenceException on connection Open

    Slawek Rosiek

      Hi, I'm writing plugin for Visual Studio 2012 that use Managed ODP.NET 4.121.1.0. 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?