Oracle.ManagedDataAccess.Client throws NullReferenceException
1
I'm using Entity Framework 6 with Oracle.ManagedDataAccess. Sporadically I get this error: System.NullReferenceException: Object reference not set to an instance of an object. at Oracle.ManagedDataAccess.Client.OracleConnection.get_m_majorVersion() at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior) at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInte