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.
[JDK 6, build 83] [svn, version 1.3.1 (r19032)] [5.5 beta] new .netbeans/5.5beta Steps: 1) Subversion menu --> checkout 2) type some https at Repository URL throws the NPE below. Even pasting an URL doesn't work. If I type at the URL, something like "http:" nothing happens, if I put a slash, the NPE is throw. java.lang.NullPointerException at java.lang.String.<init>(String.java:594) at org.netbeans.modules.subversion.config.PasswordFile.getRealmString(PasswordFile.java:108) at org.netbeans.modules.subversion.config.PasswordFile.acceptSvnUrl(PasswordFile.java:127) at org.netbeans.modules.subversion.config.PasswordFile.findFileForUrl(PasswordFile.java:66) at org.netbeans.modules.subversion.ui.repository.Repository$2.run(Repository.java:144) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Can't reproduce. Could you please provide details about your setup? Some special setup, language, location of ".subversion" folder... Thanks.
The system is configured to UTF-8 pt_BR See attached the environment variables NetBeans is configured to UTF-8: Tools menu --> Options --> Advanced options --> Editing --> Java Sources --> Default encoding is UTF-8 See attached the netbeans log. Tried with JDK 5_05, same problem (as you can see on the log file), both attempts, with a new fresh userdir.
Created attachment 30456 [details] environment variables
Created attachment 30457 [details] netbeans log messages
The .subersion is located under $HOME, so /home/claudio/.subversion Is there some special netbeans jvm switch I can turn it on to enable more debugging related to the subversion module ?
i know the problem, but i don't know the exact reason for it yet. the password file is already fixed, so the implementation is now a bit more robust and no exceeption should arrive. still, it would help me a lot to see the file which caused this problem. subversion holds the usernames and passwords in the .subversion/auth/svn.simple directory. we try to read this files to preset the password for the given url if it was already set from the commandline. there is probably someting on, at least one of them, causing the exception. unfortunatelly, i don't know exactly what. could you please send us this files, and of course, we are not interested in your username(s)/password(s), so just scramble them out (e.g xxxxxxxx). i hope this want be much work for you, ad how i've already said - it would help a lot. thanks. owering priority because of the fix mentioned above
See below: the first one doesn't have a password field $ cat /home/claudio/.subversion/auth/svn.simple/75e120a44b978d7deba8412fdf875526 K 15 svn:realmstring V 62 <https://opensvn.csie.org:443> Subversion repository: claudius K 8 username V 7 claudio END The following password is xxxxxx $ cat /home/claudio/.subversion/auth/svn.simple/7a29c93b184ea229cbc2accf8cd19eaf K 8 passtype V 6 simple K 8 password V 8 xxxxxxxx K 15 svn:realmstring V 51 <http://svn.javaforge.com:80> Subversion Repository K 8 username V 7 claudio END hope it helps
fixed Checking in PasswordFile.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/config/PasswordFile.java,v <-- PasswordFile.java new revision: 1.7; previous revision: 1.6 done Checking in CertificateFile.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/config/CertificateFile.java,v <-- CertificateFile.java new revision: 1.5; previous revision: 1.4 done Checking in KVFile.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/config/KVFile.java,v <-- KVFile.java new revision: 1.9; previous revision: 1.8 done