Hi Matt.  Thanks - good catch!  I had an old <sysproperty ...> in there
that was setting the ProjectHelper property.  It is still not working,
but at least I'm not getting that NPE :-)

-- Mark

> -----Original Message-----
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 04, 2005 5:48 PM
> To: Ant Users List
> Subject: Re: org.apache.tools.ant.ProjectHelper.parse(...) throws a
> NullPointerException
> 
> 
> --- "Mark D. Hansen" <[EMAIL PROTECTED]> wrote:
> 
> > I'm using Ant 1.6.2 and junit.  When using
> > ProjectHelperImpl.parse(...) to parse an existing
> > build file, an NPE is thrown at
> > 
> [SNIP]
> 
> It looks like a (not "the") cause for your problem is
> your use of ProjectHelperImpl.  Do you have this
> explicitly set in the
> org.apache.tools.ant.ProjectHelper property? 
> Otherwise I am at a loss as to why you are seeing this
> class in use at all.  Ordinarily later versions of Ant
> will default to using ProjectHelper2.  While it does
> appear the Description possibly should not be throwing
> that NPE, using ProjectHelper2 might make it a
> non-issue for you.
> 
> -Matt
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to