[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error

anupjani do-not-reply at jboss.com
Thu Jul 3 11:32:43 EDT 2008


Thanks Peter.
My XP was installed without any error.
Following verbose as asked.

C:\JBoss4\server\myconfig\examples\bank>ant -f build.xml -v
Ant version 1.4 compiled on September 3 2001
Buildfile: build.xml
Detected Java version: 1.4 in: C:\JDK5\jre
Detected OS: Windows XP
parsing buildfile C:\JBoss4\server\myconfig\examples\bank\build.xml with URI = f
ile:C:/JBoss4/server/myconfig/examples/bank/build.xml
Project base dir set to: C:\JBoss4\server\myconfig\examples\bank
 [property] Loading C:\JBoss4\server\myconfig\examples\common\build.properties
 [property] Loading C:\JBoss4\server\myconfig\examples\bank\build.properties
resolving systemId: file:C:/JBoss4/server/myconfig/examples/bank/../common/targe
ts.xml
 [property] Loading Environment env.

BUILD FAILED

C:\JBoss4\server\myconfig\examples\bank\build.xml:145: java.lang.NullPointerExce
ption
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
253)
        at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183)
        at org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper
.java:489)
        at org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project
Helper.java:204)
        at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java
:355)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1523)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
        at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:2
753)
        at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:
2487)
        at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.jav
a:2364)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1820)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:225)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:344)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 1 second

Kindly help.
Anup Jani

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162341#4162341

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162341



More information about the jboss-user mailing list