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.
I checked out some projects (using WinCVS), and used this cvs root: :pserver:mike@javadev.zappmobile.ro:2401:/home/cvsroot I opened the projects with NetBeans 5.0 beta 2, and after using CVS -> Show Changes an error popup was displayed: "Can not connect to CVS repository using CVS root: :pserver:mike@javadev.zappmobile.ro:2401:/home/cvsroot. The following problem(s) occured: * Authentication failed. Response from server was error 0:/h" The workaround was to remove ":2401" from the cvs root. messages.log: INFORMATIONAL *********** Exception occurred ************ at 11:13 AM on Jan 5, 2006 org.netbeans.lib.cvsclient.connection.AuthenticationException: Authentication failed. Response from server was: "error 0 :/h". at org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection (PServerConnection.java:238) at org.netbeans.lib.cvsclient.connection.PServerConnection.open (PServerConnection.java:326) at org.netbeans.lib.cvsclient.Client.ensureConnection(Client.java:290) at org.netbeans.lib.cvsclient.command.update.UpdateCommand.execute (UpdateCommand.java:214) at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:577) at org.netbeans.modules.versioning.system.cvss.CommandRunnable$1.run (CommandRunnable.java:69) [catch] at java.lang.Thread.run(Thread.java:595)
Your CVSROOT contains an extra semicolon and should be ":pserver:mike@javadev.zappmobile.ro:2401/home/cvsroot". Command line tool does not like this syntax either.
According to cvsnt 2.0.51d documentation the syntax is valid: :method:[[user][:password]@]hostname[:[port]][:]/path/to/repository
OK, accepted. After all expected fix is rather simple.
Created attachment 28198 [details] Fixed code
FIXED Checking in libsrc/org/netbeans/lib/cvsclient/CVSRoot.java; /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/CVSRoot.java,v <-- CVSRoot.java new revision: 1.15; previous revision: 1.14 done Checking in test/unit/library/org/netbeans/lib/cvsclient/CVSRootTest.java; /shared/data/ccvs/repository/javacvs/test/unit/library/org/netbeans/lib/cvsclient/CVSRootTest.java,v <-- CVSRootTest.java new revision: 1.10; previous revision: 1.9 done Please mark with 50_HR_FIX and provide justification if you want 5.0 backport.