[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
why always show me "NullPointerException" ?  XML
Forum Index » JCVS Developers
Author Message
chinaenglish



Joined: 06/01/2009 17:31:59
Messages: 1
Offline

CVSEntry entry=new CVSEntry();
entry=project.getDirEntryForLocalDir(localRoot+"\\"+module+"\\CVS");
if (null==entry)
{
System.out.println("entry is null!");
}
CVSEntryVector entryv=new CVSEntryVector();
entryv=entry.getEntryList();
request.setEntries(entryv);

can i do it like above?
[Email]
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Hi,

I believe the problem here is the use of backslashes. Please try replacing the '\\' backslashes with '/' forward slashes.

tim
[Email] [WWW]
 
Forum Index » JCVS Developers
Go to:   
Powered by JForum 2.1.9 © JForum Team