Forum Stats

  • 3,837,266 Users
  • 2,262,245 Discussions


Show Data throws "Object reference not set to an instance of an object."

Just installed the VS Code and Oracle extensions. Created connection and I'm able to use Oracle Explorer to see the objects. I can also open the content of function, procedures, packages, etc. However, when I select a table and try to us the "Show Data..." I'm getting the "Object reference not set to an instance of an object." error.

BTW, I'm connecting to local instance of Oracle 19c using Basic connection type.


  • That error suggests that you have a munged installation. Sometimes this happens when you close VS Code too quickly when installing.

    What OS and version are you using?

    What version of the .NET Runtime are you using?

    Finally, lets try to reinstall, except this time lets wait after each step to give it a chance to complete and open and close VS Code with each step:

    Uninstall the extension, wait 2 minutes, restart VS Code, wait 2 more minutes, reinstall of the extension, wait 2 minutes, and then restart vscode.