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.
Build: NetBeans IDE Dev (Build 200710211200) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: SunOS, 5.10, sparc User Comments: tried to check remember password in sun-appserv-samples
Created attachment 51513 [details] stacktrace
This looks related to my change, so I can take it, although I won't be able to spend any real time on it until Thursday afternoon/Friday
Looking at the source code, this appears like it could happen when you don't specify a password and then request to save it. Is this your scenario? What is 'sun-appserv-samples'?
sun-appserv-samples is a derby db defined with java ee 5 tutorial samples so usually, when I'm covering the samples deployment to GF from this tutorial I use this db. Defined as: <<< # Database properties are in javadb.properties db.delimiter=; db.root=${javaee.home}/javadb db.driver=org.apache.derby.jdbc.ClientDriver db.datasource=org.apache.derby.jdbc.ClientDataSource db.host=localhost db.port=1527 db.sid=sun-appserv-samples db.url=jdbc:derby://${db.host}:${db.port}/${db.sid};create=true; db.user=APP db.pwd=APP db.jvmargs=-ms16m -mx32m db.create.src=${javaee.tutorial.home}/examples/common/sql/${db.vendor}/tutorial.sql db.delete.src=${javaee.tutorial.home}/examples/common/sql/${db.vendor}/delete.sql >>> this the first time, I'm checking the box "Remember Password" using IDE/DataBases/<db>/Properties I can try over Travel or Vir DB
This happens on Vir or Travel if in "Properties" we check the "Remember Password" without doing a "Connect"
OK, thanks, that's the piece I was missing - you don't connect - I'll check it out
I have reproduced the problem and will take a look at it.
Fixed... Checking in DatabaseConnectionConvertor.java; /cvs/db/src/org/netbeans/modules/db/explorer/DatabaseConnectionConvertor.java,v <-- DatabaseConnectionConvertor.java new revision: 1.14; previous revision: 1.13 done cvs server: scheduling file `null-pwd-connection.xml' for addition cvs server: use 'cvs commit' to add this file permanently Checking in DatabaseConnectionConvertorTest.java; /cvs/db/test/unit/src/org/netbeans/modules/db/explorer/DatabaseConnectionConvertorTest.java,v <-- DatabaseConnectionConvertorTest.java new revision: 1.14; previous revision: 1.13 done RCS file: /cvs/db/test/unit/src/org/netbeans/modules/db/explorer/null-pwd-connection.xml,v done Checking in null-pwd-connection.xml; /cvs/db/test/unit/src/org/netbeans/modules/db/explorer/null-pwd-connection.xml,v <-- null-pwd-connection.xml initial revision: 1.1 done
Fixed
daily 200711070000 & gf v2 fcs on linux RHEL 4.0 & jdk 1.6u3: ok no more the exception when toggling "Rememebr Password" without connect to DB (tried over travel,vir) daily 200711060000 & gf v2 ur1-b07 on solaris-sparc & windows/xp (jdk 1.6 u3): ok marking the issue as VERIFIED. thanks. nouar.