My Oracle Support Banner

SQL Developer Shows "Connection Closed" Error When Running a Query (Doc ID 1297692.1)

Last updated on JULY 07, 2022

Applies to:

Oracle SQL Developer - Version 2.1.1 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Microsoft Windows x64 (64-bit) - OS Version: 7

Symptoms

The creation of a new connection goes through fine and the "Test" connection functionality and returns success status. While trying to view any tables, functions, procedures, etc., a "connection closed" message is displayed. Also, running any query returns the same "connection closed" message.

The following error message is seen in the command window:

Exception initializing 'oracle.dbtools.raptor.plsql.PLSQLAddin' in extension 'Oracle SQL Developer': java.lang.NoClassDefFoundError: com/sun/jdi/Bootstrap at oracle.jdevimpl.debugger.jdi.DebugJDIConnector.getVersion(DebugJDIConnector.java:30)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.