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.

Bug 204734 - NullPointerException at oracle.jdbc.driver.OracleConnection.getWarnings
Summary: NullPointerException at oracle.jdbc.driver.OracleConnection.getWarnings
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 08:59 UTC by Exceptions Reporter
Modified: 2011-11-07 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161009


Attachments
stacktrace (5.45 KB, text/plain)
2011-11-07 08:59 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-11-07 08:59:46 UTC
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)
Comment 1 Exceptions Reporter 2011-11-07 08:59:50 UTC
Created attachment 112896 [details]
stacktrace
Comment 2 Jiri Rechtacek 2011-11-07 11:21:28 UTC
All reports came from NB6.9.1 or older. I guess it's fixed in NB7.x by a changeset 172698.