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

Summary: NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.rememberPassword
Product: db Reporter: Sergey Petrov <sj-nb>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: karel_barel
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182697
Attachments: stacktrace

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