ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen, Kevin E." <kal...@swri.org>
Subject JUnitReport: TransformerException
Date Tue, 19 Aug 2003 19:47:36 GMT
More joyous JUnitReport problems...

While attempting to run a JUnitReport task, I'm getting the error below.
The exception is consistent, and nothing I can do affects it.  I've
tried with Xalan 2.2 D11 (I think it was), and with Xalan 2.5.0, and get
the same error each time.  Any and all help is greatly appreciated.

report:
fileset: Setup scanner in dir C:\kea\junit with patternSet{ includes:
[TEST-*.xml] excludes: [] }
[junitreport] Parsing file:
'C:\kea\junit\TEST-gov.va.med.rsa.ops.gui.test.AETreeModelBasicTest.xml'
[junitreport] Using Xalan version: Xalan Java 2.5.0

BUILD FAILED
file:C:/kea/junit/unittest.xml:119: Errors while applying
transformations: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transf
orm(AggregateTransformer.java:186)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute
(XMLResultAggregator.java:176)
        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)
Caused by: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:795)
        at
org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(Xala
n2Executor.java:77)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transf
orm(AggregateTransformer.java:184)
        ... 9 more
Caused by: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transform
erFactoryImpl.java:934)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:778)
        ... 11 more
Caused by: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transform
erFactoryImpl.java:930)
        ... 12 more
Caused by: javax.xml.transform.TransformerException: Failed calling
setMethod method
        at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.jav
a:934)
        at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.jav
a:962)
        at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDe
f.java:1623)
        at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttribu
tes(XSLTElementProcessor.java:374)
        at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttribu
tes(XSLTElementProcessor.java:305)
        at
org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOut
putElem.java:230)
        at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHand
ler.java:636)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.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(Transform
erFactoryImpl.java:922)
        ... 12 more
--- Nested Exception ---
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:795)
        at
org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(Xala
n2Executor.java:77)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transf
orm(AggregateTransformer.java:184)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute
(XMLResultAggregator.java:176)
        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)
Caused by: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Failed calling setMethod
method
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transform
erFactoryImpl.java:934)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:778)
        ... 11 more

Kevin E. Allen
Southwest Research Institute
Automation and Data Systems Division
Research Analyst
(210)522-3057

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


Mime
View raw message