ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27718] New: - CvsTagDiff fails, "Could not find variable with the name of title"
Date Tue, 16 Mar 2004 19:35:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27718>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27718

CvsTagDiff fails, "Could not find variable with the name of title"

           Summary: CvsTagDiff fails, "Could not find variable with the name
                    of title"
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: apache-bugzilla@seansullivan.com


My configuration:
 Apache Ant 1.6.1
 Sun JDK 1.4.1_02
 Windows 2000

My build.xml script runs perfectly in Ant 1.5.4 
but fails in Ant 1.6.1

My script uses the CvsTagDiff and style tasks.

This is what I see:

---

[cvstagdiff] cvs rdiff: Diffing apps/websphere

    [style] Processing C:\build\output\tagdiff-foo.xml to
C:\build\output\tagdiff-bar.html
    [style] Loading stylesheet C:\apache-ant-1.6.1\etc\tagdiff.xsl
    [style] : Fatal Error! org.apache.xml.utils.WrappedRuntimeException:
Could not find variable with the name of title Cause:
org.apache.xml.utils.WrappedRuntimeException: Could not find variable
with the name of title
    [style] Failed to process C:\build\output\tagdiff-foo.xml

BUILD FAILED
C:\build\build.xml:277: Following error occured while executing this
line
C:\build\build.xml:150: Fatal error during transformation

---

When I turned on Ant's verbose output, I saw this stack trace:

----

org.apache.xml.utils.WrappedRuntimeException: Could not find variable
with the n
ame of title
        at
org.apache.xpath.operations.Variable.fixupVariables(Variable.java:134
)
        at org.apache.xpath.XPath.fixupVariables(XPath.java:130)
        at
org.apache.xalan.templates.ElemValueOf.compose(ElemValueOf.java:226)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:311)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.ja
va:294)
        at
org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHa
ndler.java:502)
        at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
e)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
ormerFactoryImpl.java:934)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraX
Liaison.java:210)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(
TraXLiaison.java:228)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiai
son.java:126)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:49
5)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:20
9)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at
org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java
:420)
        at java.lang.Thread.run(Thread.java:536)
---------
; SystemID: file:///C:/apache-ant-1.6.1/etc/tagdiff.xsl; Line#: 31;
Column#: 47
; SystemID: file:///C:/apache-ant-1.6.1/etc/tagdiff.xsl; Line#: 31;
Column#: 47
javax.xml.transform.TransformerException: Could not find variable with
the name
of title
        at
org.apache.xpath.operations.Variable.fixupVariables(Variable.java:132
)
        at org.apache.xpath.XPath.fixupVariables(XPath.java:130)
        at
org.apache.xalan.templates.ElemValueOf.compose(ElemValueOf.java:226)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:311)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.composeTemplates(Stylesheet
Root.java:316)
        at
org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.ja
va:294)
        at
org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHa
ndler.java:502)
        at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
e)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
ormerFactoryImpl.java:934)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraX
Liaison.java:210)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(
TraXLiaison.java:228)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiai
son.java:126)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:49
5)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:20
9)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at
org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java
:420)
        at java.lang.Thread.run(Thread.java:536)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message