exception with no message? Very helpful.
Posted: Thu 26 Oct 2006 15:06
I am using the command object in a threadpool. I have an threadpoolitem class, each instance of the class has its own command object and connection (using connection pooling).
when I call command.ExecuteNonQuery I occasionally get the following exception:
it is an InvalidOperationException, but it has no message, inner exception or anything that indicates what is wrong.
Unfortunately I cant give you a sample project as the bug is quite intermitent.
Any ideas what could be causing this?
But my main question is why the hell is it raising exceptions with no message???
when I call command.ExecuteNonQuery I occasionally get the following exception:
Code: Select all
at CoreLab.Oracle.OracleUtils.a(String A_0)
at CoreLab.Oracle.OracleDataReader.c()
at CoreLab.Oracle.OracleDataReader..ctor(a4 A_0, a4[] A_1, OracleConnection A_2, CommandBehavior A_3, Int32 A_4, Int32 A_5, Int32 A_6)
at CoreLab.Oracle.OracleDataReader..ctor(a4 A_0, a4[] A_1, OracleConnection A_2, CommandBehavior A_3, Int32 A_4, Int32 A_5)
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3)
at CoreLab.Common.DbCommandBase.b(CommandBehavior A_0)
at CoreLab.Common.DbCommand.ExecuteReader()
at CoreLab.Common.DbCommandBase.ExecuteNonQuery()
Unfortunately I cant give you a sample project as the bug is quite intermitent.
Any ideas what could be causing this?
But my main question is why the hell is it raising exceptions with no message???