You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Manju Sarala Viswam <mv...@cordys.com> on 2003/12/30 11:44:39 UTC

Running Junit

Hi All, 
	I am invoking Ant's build file from a java class which is an
extension of ant task(org.apache.tools.ant.taskdefs.Ant).The build.xml
contains junit tasks and junit report tasks.I get the following error
when I am executing this java class file.Can anyone tell me what could
be the problem ?

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77FCC453
Function=RtlAllocateHeap+0x1A6
Library=C:\WINNT\system32\ntdll.dll

Current Java thread:
	at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.createR
eport(XMLResultAggregator.java:121)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.ja
va:281)
	at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelp
er.java:524)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$NestedElementHandler.init(
ProjectHelperImpl.java:960)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.startElement(P
rojectHelperImpl.java:870)
	at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:
333)
	at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
	at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVal
idator.java:1214)
	at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentSc
anner.java:1806)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatc
h(XMLDocumentScanner.java:1182)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:381)
	at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
	at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
	at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.ja
va:155)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:1
17)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:379)
	at
com.cordys.rtf.catf.tester.TestRunner.executeTestCase(TestRunner.java:95
)
	at
com.cordys.rtf.catf.tester.TestCaseWorker.execute(TestCaseWorker.java:32
)
	at com.eibus.util.threadpool.WorkerThread.run(Unknown Source)
Thanks
Manju S Viswam


**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.

**********************************************************************


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