ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject Vizant NullPointer
Date Tue, 27 May 2003 20:35:03 GMT
Sorry if this is off topic but I can't find help anywhere else (tried vizant
maillist, Google and Ant archives)...hopefully someone else uses this tool. 
Below is the ant task I have defined (I have 3 other similar ones that work)
and the ant debug output...I can't figure out what is throwing the NPE (the
file locations are correct, checked for typos...any help will be greatly
appreciated.

<vizant antfile="${ejb.build.dir}/buildejb.xml"
outfile="${build.base}\vizant\build_ejb.dot">
     <attrstmt type="edge.ant">
       <attr name="label" value="ant"/>
       <attr name="fontcolor" value="gray70"/>
       <attr name="fontsize" value="9"/>
     </attrstmt>
      <attrstmt type="edge.antcall">
       <attr name="label" value="antcall"/>
       <attr name="fontcolor" value="gray70"/>
       <attr name="fontsize" value="9"/>
     </attrstmt>
     <attrstmt type="edge.depends">
      <attr name="label" value="depends"/>
      <attr name="fontcolor" value="gray70"/>
      <attr name="fontsize" value="9"/>
     </attrstmt>
     <attrstmt type="node.default">
       <attr name="color" value="green"/>
     </attrstmt>
   </vizant>

build-ejb:
     [echo]  EJB DIR:
E:\CM\Projects\NEW_BUILD_PROCESS\EDS_Build\Systems_Test\Archive\EJB
     [echo]  DOT FILE:
E:\CM\Projects\NEW_BUILD_PROCESS\EDS_Build\Systems_Test\vizant\build_ejb.dot

BUILD FAILED
java.lang.NullPointerException
	at net.sourceforge.vizant.VizPrinter.replace(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.escapeId(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.getQuotedId(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.printTarget(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.printProject(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.print(Unknown Source)
	at net.sourceforge.vizant.Vizant.print(Unknown Source)
	at net.sourceforge.vizant.Vizant.writeDotToOutfile(Unknown Source)
	at net.sourceforge.vizant.Vizant.execute(Unknown Source)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
	at org.apache.tools.ant.Main.runBuild(Main.java:609)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second
java.lang.NullPointerException
	at net.sourceforge.vizant.VizPrinter.replace(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.escapeId(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.getQuotedId(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.printTarget(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.printProject(Unknown Source)
	at net.sourceforge.vizant.VizPrinter.print(Unknown Source)
	at net.sourceforge.vizant.Vizant.print(Unknown Source)
	at net.sourceforge.vizant.Vizant.writeDotToOutfile(Unknown Source)
	at net.sourceforge.vizant.Vizant.execute(Unknown Source)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
	at org.apache.tools.ant.Main.runBuild(Main.java:609)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

Thanks,
-Will








Mime
View raw message