ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ukasick, Aimee (MED, Adecco)" <Aimee.Ukas...@med.ge.com>
Subject ANT w/ jdk1.3 down to 1.2.2 NULL
Date Tue, 07 Aug 2001 19:42:00 GMT
Help! We had to downgrade our jdk version from 1.3 to 1.2.2_005, and now
the ant build script won't work. I've changed my classpath and can
compile without ANT. Now ANT is throwing a Null Pointer Exception at
org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java, Compiled
Code).
The debug info is:
 
Total time: 3 seconds
D:\Projects\AOI_EOF\eof_repository\aoi\src>ant -debug compile
Ant version 1.4alpha compiled on August 7 2001
Buildfile: build.xml
Setting project property: ant.java.version -> 1.2
Detected Java version: 1.2 in: c:\usr\local\jdk1.2.2\jre
Detected OS: Windows NT
 +User task: ilasm
org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
 +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
 +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
 +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
 +User task: mail     org.apache.tools.ant.taskdefs.SendEmail
 +User task: propertyfile
org.apache.tools.ant.taskdefs.optional.PropertyFil
e
 +User task: iplanet-ejbc
org.apache.tools.ant.taskdefs.optional.ejb.IPlanet
EjbcTask
 +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
 +User task: vsshistory
org.apache.tools.ant.taskdefs.optional.vss.MSVSSHIST
ORY
 +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
 +User task: record     org.apache.tools.ant.taskdefs.Recorder
 +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
 +User task: cccheckin
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
 
 +User task: ejbjar
org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
 +User task: wljspc
org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
 +User task: jpcoverage
org.apache.tools.ant.taskdefs.optional.sitraka.Cover
age
 +User task: copy     org.apache.tools.ant.taskdefs.Copy
 +User task: ccupdate
org.apache.tools.ant.taskdefs.optional.clearcase.CCUpd
ate
 +User task: javacc
org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
 +User task: gzip     org.apache.tools.ant.taskdefs.GZip
 +User task: sound
org.apache.tools.ant.taskdefs.optional.sound.SoundTask
 +User task: ccmcreatetask
org.apache.tools.ant.taskdefs.optional.ccm.CCMCre
ateTask
 +User task: vsscheckout
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHE
CKOUT
 +User task: unjar     org.apache.tools.ant.taskdefs.Expand
 +User task: p4label
org.apache.tools.ant.taskdefs.optional.perforce.P4Label
 
 +User task: available     org.apache.tools.ant.taskdefs.Available
 +User task: war     org.apache.tools.ant.taskdefs.War
 +User task: csc
org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
 +User task: patch     org.apache.tools.ant.taskdefs.Patch
 +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
 +User task: test     org.apache.tools.ant.taskdefs.optional.Test
 +User task: unzip     org.apache.tools.ant.taskdefs.Expand
 +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
 +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
 +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
 +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
 +User task: javac     org.apache.tools.ant.taskdefs.Javac
 +User task: ccuncheckout
org.apache.tools.ant.taskdefs.optional.clearcase.C
CUnCheckout
 +User task: fail     org.apache.tools.ant.taskdefs.Exit
 +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
 +User task: get     org.apache.tools.ant.taskdefs.Get
 +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
 +User task: java     org.apache.tools.ant.taskdefs.Java
 +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
 +User task: replace     org.apache.tools.ant.taskdefs.Replace
 +User task: ccmreconfigure
org.apache.tools.ant.taskdefs.optional.ccm.CCMRe
configure
 +User task: ant     org.apache.tools.ant.taskdefs.Ant
 +User task: p4edit
org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
 +User task: property     org.apache.tools.ant.taskdefs.Property
 +User task: p4have
org.apache.tools.ant.taskdefs.optional.perforce.P4Have
 +User task: depend
org.apache.tools.ant.taskdefs.optional.depend.Depend
 +User task: xmlvalidate
org.apache.tools.ant.taskdefs.optional.XMLValidateT
ask
 +User task: tar     org.apache.tools.ant.taskdefs.Tar
 +User task: renameext
org.apache.tools.ant.taskdefs.optional.RenameExtensio
ns
 +User task: ear     org.apache.tools.ant.taskdefs.Ear
 +User task: native2ascii
org.apache.tools.ant.taskdefs.optional.Native2Asci
i
 +User task: vssget
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
 +User task: cccheckout
org.apache.tools.ant.taskdefs.optional.ccm.CCMChecko
ut
 +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
 +User task: touch     org.apache.tools.ant.taskdefs.Touch
 +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
 +User task: jlink
org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
 +User task: delete     org.apache.tools.ant.taskdefs.Delete
 +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
 +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
 +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
 +User task: jpcovmerge
org.apache.tools.ant.taskdefs.optional.sitraka.CovMe
rge
 +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
 +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
 +User task: jjtree
org.apache.tools.ant.taskdefs.optional.javacc.JJTree
 +User task: stylebook
org.apache.tools.ant.taskdefs.optional.StyleBook
 +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
 +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
 +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
 +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
 +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
 +User task: unwar     org.apache.tools.ant.taskdefs.Expand
 +User task: filter     org.apache.tools.ant.taskdefs.Filter
 +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
 +User task: mparse
org.apache.tools.ant.taskdefs.optional.metamata.MParse
 +User task: echo     org.apache.tools.ant.taskdefs.Echo
 +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
 +User task: p4sync
org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
 +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
 +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
 +User task: p4change
org.apache.tools.ant.taskdefs.optional.perforce.P4Chan
ge
 +User task: jar     org.apache.tools.ant.taskdefs.Jar
 +User task: junit
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
 +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: mmetrics
org.apache.tools.ant.taskdefs.optional.metamata.MMetri
cs
 +User task: move     org.apache.tools.ant.taskdefs.Move
 +User task: rename     org.apache.tools.ant.taskdefs.Rename
 +User task: zip     org.apache.tools.ant.taskdefs.Zip
 +User task: p4submit
org.apache.tools.ant.taskdefs.optional.perforce.P4Subm
it
 +User task: maudit
org.apache.tools.ant.taskdefs.optional.metamata.MAudit
 +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
 +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
 +User task: p4counter
org.apache.tools.ant.taskdefs.optional.perforce.P4Cou
nter
 +User task: vsslabel
org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
 +User task: vsscheckin
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHEC
KIN
 +User task: ccmcheckintask
org.apache.tools.ant.taskdefs.optional.ccm.CCMCh
eckinDefault
 +User task: untar     org.apache.tools.ant.taskdefs.Untar
 +User task: apply     org.apache.tools.ant.taskdefs.Transform
 +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
 +User task: blgenclient
org.apache.tools.ant.taskdefs.optional.ejb.BorlandG
enerateClient
 +User task: jpcovreport
org.apache.tools.ant.taskdefs.optional.sitraka.CovR
eport
 +User datatype: filterset     org.apache.tools.ant.types.FilterSet
 +User datatype: filelist     org.apache.tools.ant.types.FileList
 +User datatype: mapper     org.apache.tools.ant.types.Mapper
 +User datatype: patternset     org.apache.tools.ant.types.PatternSet
 +User datatype: fileset     org.apache.tools.ant.types.FileSet
 +User datatype: path     org.apache.tools.ant.types.Path
Setting project property: ant.home -> c:\development\ant
Setting project property: java.specification.name -> Java Platform API
Specifica
tion
Setting project property: awt.toolkit -> sun.awt.windows.WToolkit
Setting project property: java.version -> 1.2.2
Setting project property: java.awt.graphicsenv ->
sun.awt.Win32GraphicsEnvironme
nt
Setting project property: user.timezone -> America/Chicago
Setting project property: java.specification.version -> 1.2
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vm.specification.version -> 1.0
Setting project property: user.home -> C:\Documents and Settings\msa6498
Setting project property: os.arch -> x86
Setting project property: java.awt.fonts ->
Setting project property: java.vendor.url ->  <http://java.sun.com/>
http://java.sun.com/
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.region -> US
Setting project property: java.home -> c:\usr\local\jdk1.2.2\jre
Setting project property: java.class.path ->
c:\usr\local\jdk1.2.2\lib\tools.jar
;c:\development\ant\lib\xerces.jar;c:\development\ant\lib\xalan.jar;c:\d
evelopme
nt\ant\lib\tools.jar;c:\development\ant\lib\parser.jar;c:\development\an
t\lib\ju
nit.jar;c:\development\ant\lib\jaxp.jar;c:\development\ant\lib\jakarta-a
nt-1_4al
pha-optional.jar;c:\development\ant\lib\crimson.jar;c:\development\ant\l
ib\ant.j
ar;d:\Projects\AOI_EOF\eof_repository\aoi\lib\eofActiveCom.jar;d:\Projec
ts\AOI_E
OF\eof_repository\aoi\lib\active40.jar;d:\Projects\AOI_EOF\eof_repositor
y\aoi\li
b\junit.jar;d:\Projects\AOI_EOF\eof_repository\aoi\lib\log4j.jar;d:\Proj
ects\AOI
_EOF\eof_repository\aoi\lib\xml4j.jar;;d:\Projects\AOI_EOF\eof_repositor
y\aoi\li
b\xml4j.jar;d:\Projects\aoi_eof\eof_repository\aoi\lib\classes12_01.zip;
;d:\WebA
pps\CatalogSearch\WEB-INF\classes;d:\GCSPrototype\src\CVSource\search_re
pository
\catalogSearch\src\classes;d:\WebApps\CatalogSearch\WEB-INF\\classes;D:\
Projects
\AOI_EOF\eof_repository\aoi\classes;D:\Projects\AOI_EOF\eof_repository\a
oi\test_
classes;D:\Projects\AOI_EOF\eof_repository\build\classes;%JAVALIBS%;c:\d
evelopme
nt\ant\lib\ant.jar;c:\development\ant\lib\jaxp.jar;c:\development\ant\li
b\parser
.jar;c:\development\ant\lib\jakarta-ant-1_4alpha-optional.jar;;c:\usr\lo
cal\jdk1
.2.2\lib\tools.jar; .
Setting project property: line.separator ->
 
Setting project property: java.ext.dirs ->
c:\usr\local\jdk1.2.2\jre\lib\ext
Setting project property: java.io.tmpdir ->
C:\DOCUME~1\msa6498\LOCALS~1\Temp\
Setting project property: os.name -> Windows NT
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: java.awt.printerjob ->
sun.awt.windows.WPrinterJob
Setting project property: java.library.path ->
c:\usr\local\jdk1.2.2\bin;.;C:\WI
NNT\System32;C:\WINNT;c:\development\jbuilder4\bin;C:\Development\Borlan
dAppServ
er\bin;c:\usr\local\jdk1.2.2\jre\bin;c:\usr\local\jdk1.2.2\bin;c:\usr\lo
cal\j2sd
kee\bin;c:\usr\local\cygwin\bin;c:\WINNT\System32;C:\Development\Rationa
l\common
;d:\OraclePersonal\bin;c:\development\ant\BIN;.
Setting project property: java.vm.specification.vendor -> Sun
Microsystems Inc.
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: file.encoding -> Cp1252
Setting project property: java.specification.vendor -> Sun Microsystems
Inc.
Setting project property: user.name -> msa6498
Setting project property: user.language -> en
Setting project property: java.vendor.url.bug ->
<http://java.sun.com/cgi-bin/bug> http://java.sun.com/cgi-bin/bug
report.cgi
Setting project property: java.vm.name -> Classic VM
Setting project property: java.vm.specification.name -> Java Virtual
Machine Spe
cification
Setting project property: java.class.version -> 46.0
Setting project property: sun.boot.library.path ->
c:\usr\local\jdk1.2.2\jre\bin
 
Setting project property: os.version -> 5.0
Setting project property: java.vm.info -> build JDK-1.2.2_005, native
threads, s
ymcjit
Setting project property: java.vm.version -> 1.2.2
Setting project property: java.compiler -> symcjit
Setting project property: path.separator -> ;
Setting project property: user.dir ->
D:\Projects\AOI_EOF\eof_repository\aoi\src
 
Setting project property: file.separator -> \
Setting project property: sun.boot.class.path ->
c:\usr\local\jdk1.2.2\jre\lib\r
t.jar;c:\usr\local\jdk1.2.2\jre\lib\i18n.jar;c:\usr\local\jdk1.2.2\jre\c
lasses
Setting ro project property: ant.version -> Ant version 1.4alpha
compiled on Aug
ust 7 2001
Setting ro project property: ant.file ->
D:\Projects\AOI_EOF\eof_repository\aoi\
src\build.xml
parsing buildfile D:\Projects\AOI_EOF\eof_repository\aoi\src\build.xml
with URI
= file:D:/Projects/AOI_EOF/eof_repository/aoi/src/build.xml
Setting ro project property: ant.project.name -> EOFFramework
Adding reference: EOFFramework ->
<mailto:org.apache.tools.ant.Project@ee95f251>
org.apache.tools.ant.Project@ee95f251
Setting project property: basedir ->
D:\Projects\AOI_EOF\eof_repository\aoi\src
Project base dir set to: D:\Projects\AOI_EOF\eof_repository\aoi\src
 +Target: usage
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: property
 [property] Loading Environment myenv.
 
BUILD FAILED
 
null
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java,
Compiled
 Code)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:177)
--- Nested Exception ---
java.lang.NullPointerException
        at
org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execu
te.java:642)
        at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384)
        at
org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java
, Compiled Code)
        at
org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java,
 Compiled Code)
        at
org.apache.tools.ant.taskdefs.Property.execute(Property.java:171)
        at
org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper
.java:487)
        at
org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project
Helper.java:204)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1387)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa
lidator.java:1007)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java,
Compiled
 Code)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:177)
 
Total time: 4 seconds
D:\Projects\AOI_EOF\eof_repository\aoi\src>
 
 
Any insight is greatly appreciated, as we have come to rely on ANT.
Thanks in advance!
 

Aimee Ukasick 
GE Medical Systems 
262-548-5196 
aimee.ukasick@med.ge.com 

 

Mime
View raw message