Let's assume there are two users :
pers : with read-only permissions to test schema, does not own any schema
tech: with full permissions and ownership over test schema
Steps to reproduce the issue:
Start Toad Data Point
Connect to PostgreSQL as pers user
Run a simple SELECT query over a table in the test schema in the editor
The "Object reference not set to an instance of an object." error is encountered
Connect to PostgreSQL as a Tech user
Run a simple SELECT query over a table in the test schema in the editor
The "Object reference not set to an instance of an object." error is encountered
Expected result: A query runs without an error, since both users have permissions to run SELECT query over tables in test schema.
Only user with superuser privileges can run query without an error.