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 198163

Summary: NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.rememberPassword
Product: db Reporter: Martin Fousek <marfous>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178568
Attachments: stacktrace

Description Martin Fousek 2011-04-28 07:00:42 UTC
Build: NetBeans IDE Dev (Build 20110428-2037900ace26)
VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
marfous: 1, new EJB project
2, New entity classes from Database
3, chosen "sample" data source
-> NPE appears




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.DatabaseConnection.rememberPassword(DatabaseConnection.java:723)
   at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor$AtomicWriter.write(DatabaseConnectionConvertor.java:398)
   at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor$AtomicWriter.run(DatabaseConnectionConvertor.java:365)
   at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
   at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566)
   at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor$PCL.run(DatabaseConnectionConvertor.java:520)
Comment 1 Martin Fousek 2011-04-28 07:00:46 UTC
Created attachment 107991 [details]
stacktrace
Comment 2 Jiri Rechtacek 2011-04-29 12:14:08 UTC

*** This bug has been marked as a duplicate of bug 197715 ***