Toad World® Forums

Automation error: System.NullReferenceException

My automation scripts have all of the sudden began to produce this error:

Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.Oracle.DBMS.DBMSOutputMonitor.PollDbConnection(OracleConnection conn, Int32 waitMilliseconds)

Anyone experience this issue?

This is from the Oracle DBMS_OUPUT monitoring.

To turn this off:

  1. Connect to Oracle

  2. Open an editor and go to the messages tab

  3. Push the DBMS Polling button as shown below.


This is a toggle to turn on and off this polling. This is handy to use if you are debugging a procedure or function but otherwise would not be needed.


I checked the setting. This option is already turned off.

This install of TDP only runs scheduled jobs.

There is no other way to get this error. It is not very clear when this is turned on and off. Can you push this a couple of times and be certain of the off position. Go to the editor and execute any select statement so you can see something in the messages tab. When you click this and it goes on you will see this statement --> “begin dbms_ouput.enable…” You can see this in the screenshot of last post. When you know you have it on, then click again so it is off.

I have attached two screenshot. When I turn it on, I never see "begin dbms_ouput.enable".

This is in TDP3.3

Screenshot 1

Screenshot 2

The second screenshot is showing the option off.

More about…NullReferenceException