Re: NullPointer Exception

Martin Entlicher <[email protected]> Fri, 25 Jul 2003 17:39:30 +0200
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Organization Sun Microsystems
Message-ID <[email protected]>
Zsolt, Milos does not work at Sun any more, so "[email protected]"
probably does not work any more. "[email protected]" is his mail address,
and he still reads [email protected].

This problem is most probably fixed in the recent code of javacvs (see
http://www.netbeans.org/issues/show_bug.cgi?id=30615). You can get it from cvs
and build, or get cvslib.jar from the NetBeans 3.5 distribution.

I'll update cvslib.jar at
http://javacvs.netbeans.org/servlets/ProjectDownloadList to the 3.5 version
(the latest stable).

Regards,
Martin

Zsolt Koppany wrote:
> 
> Hi Milos,
> 
> I get the following exception:
> 
> org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection(PServerConnection.java:169)
>     at
> org.netbeans.lib.cvsclient.connection.PServerConnection.verify(PServerConnection.java:237)
> 
> What can be reason? Where can I find the latest stable sources?
> 
> The log shows:
> 
> user: <anonymous>
> host: <cvs.dcplusplus.sourceforge.net>
> repository: </cvsroot/dcplusplus>
> 
> I use the following code:
> 
>                         PServerConnection c = new PServerConnection();
>                         String encodedPassword =
>                                 StandardScrambler.getInstance().scramble(password);
> 
>                         log.debug("user: <" + cvsRoot.getUserName() + "> host: <" +
> cvsRoot.getHostName()
>                                 + "> repository: <"+ cvsRoot.getRepository() + ">");
>                         c.setUserName(cvsRoot.getUserName());
>                         c.setEncodedPassword(encodedPassword);
>                         c.setHostName(cvsRoot.getHostName());
>                         c.setRepository(cvsRoot.getRepository());
> 
>                         c.verify();
> 
> Zsolt
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]