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 204826 - NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.rememberPassword
Summary: NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.r...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 12:07 UTC by Sergey Petrov
Modified: 2011-11-15 09:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182697


Attachments
stacktrace (584 bytes, text/plain)
2011-11-08 12:07 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2011-11-08 12:07:44 UTC
This bug was originally marked as duplicate of bug 197715, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20111107-476a79215aa2)
VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
karel_barel: tried to run sql command on disconnected connection

GUEST: While generating hibernate.reveng.xml file.

sj-nb: close "please wait.. connection information" dialog with cross

karel_barel: trying to issue sql commnad on disconnected connection




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.DatabaseConnection.rememberPassword(DatabaseConnection.java:747)
   at org.netbeans.modules.db.explorer.node.ConnectionNode.updateLocalProperties(ConnectionNode.java:172)
   at org.netbeans.modules.db.explorer.node.ConnectionNode.access$200(ConnectionNode.java:75)
   at org.netbeans.modules.db.explorer.node.ConnectionNode$2.run(ConnectionNode.java:320)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 Sergey Petrov 2011-11-08 12:07:47 UTC
Created attachment 112993 [details]
stacktrace
Comment 2 Jiri Rechtacek 2011-11-15 09:04:53 UTC
http://hg.netbeans.org/main-golden/rev/9011397de99f