This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was reported manually by mmirilovic. It already has 23 duplicates Build: NetBeans IDE 6.9.1 (Build 201007282301) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP User Comments: GUEST: I am trying to disconnect the DB connection. And I found this issue GUEST: please d'ont show me this exception GUEST: Disconnecting a Database from the Database tree (services) GUEST: right clicked on database connection GUEST: Attempting to dissconnect from Oracle database. GUEST: disconnecting from DB GUEST: Opening a Oracle db GUEST: database oracle NullPointerException GUEST: Trying to get access to an Oracle DB scheme. The connection has been lazy overnight, and now it can't be refreshed, disconnected or connected again GUEST: Trying to disconnect from Oracle database GUEST: I was diconnecting from an Oracle DB, after a sucessful connection Stacktrace: java.lang.NullPointerException at oracle.jdbc.driver.OracleConnection.getWarnings(OracleConnection.java:1730) at org.netbeans.modules.db.explorer.DatabaseConnection.isVitalConnection(DatabaseConnection.java:299) at org.netbeans.modules.db.explorer.action.ExecuteCommandAction.enable(ExecuteCommandAction.java:66) at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:615) at sun.reflect.GeneratedMethodAccessor30.invoke(GeneratedMethodAccessor30.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Created attachment 112896 [details] stacktrace
All reports came from NB6.9.1 or older. I guess it's fixed in NB7.x by a changeset 172698.