ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <>
Subject RE: Problem with the latest source?
Date Thu, 01 Feb 2001 17:09:03 GMT


I had exactly the same problem with log4j builds. Actually, Sam had. Things worked fine on
my side (I use Ant 1.2 and a few months old version of xerces)  but failed with a null pointer
exception when built with Sam's automated nightly build system. See

Recently, I removed the external references in the log4j build.xml file and the problem vanished.
I think that the two problems are related as Sam's builds use the latest code from all projects.

Sorry for this crappy bug report. Ceki 

At 10:12 01.02.2001 -0500, you wrote:
>I removed the reference to another xml file that defines extra targets, and it worked.
 Are we not going to support including another xml file?
>What we have in our organization is one build.xml file that I am responsible for guaranteeing
will always build and release the current code.  That build file includes a targets.xml file
that each developer can modify to do whatever they want (FTP to separate place, promote their
code, etc).  Is this no longer going to be possible?  
>-----Original Message----- 
>From: Marc Luce [] 
>Sent: Thursday, February 01, 2001 9:15 AM 
>To: '' 
>Subject: Problem with the latest source?
>I just grabbed the latest source and compiled it.  With this version I cannot build my
code, I get a NPE.  
>I am attaching the output of my ant command below.  I modified ant.bat to let you know
the LOCALCLASSPATH.  The version of xerces is 1.3.0.  Is this common or do I have a problem
in my build.xml? 
Buildfile: build.xml 
>null  java.lang.NullPointerException          at org.apache.xerces.utils.StringPool.addSymbol(
         at org.apache.xerces.readers.DefaultEntityHandler.addExternalEntityDecl(
         at org.apache.xerces.framework.XMLDTDScanner.scanEntityDecl(
         at org.apache.xerces.framework.XMLDTDScanner.scanDecls( 
        at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(
         at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(
         at org.apache.xerces.framework.XMLDocumentScanner.access$000(
         at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(
         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(
         at org.apache.xerces.framework.XMLParser.parse(          at javax.xml.parsers.SAXParser.parse(
         at javax.xml.parsers.SAXParser.parse(          at
      at          at

><<build.xml>> <<targets.xml>>  

Ceki Gülcü - Independent IT Consultant                                        

av. de Rumine 5            Tel: ++41 21 351 23 15   
CH-1005 Lausanne        e-mail:  or

View raw message