Hi,

I am experiencing RejectedExecutionException-s when running Webtest from Ant 
(version 1.8.2) during the night. I've found the thread on 
http://www.mail-archive.com/[email protected]/msg08458.html.

I am facing the same problem, but I see from the thread that the request for a 
full stack trace has not been answered. The problem is occurring at our server 
only during the full build process. It is daily reproducible. If repeated from 
a console some time later (after tomcat has finished reloading everything), it 
runs without this exception.

The message is:

all:
     [echo] Web user: system
     [echo] Password: ***
     [echo] Server: ***estate.invantive.com
     [echo] Port: 80
     [echo] Protocol: http
     [echo] Path: /smoke_bubs

Target 'all' failed with message 
'java.util.concurrent.RejectedExecutionException'.
Target 'bubs.wt.web.actual' failed with message 'The following error occurred 
while executing this line:
/home/smoke/ws/p104/test/web/bubs_web.xml:27: 
java.util.concurrent.RejectedExecutionException'.

However, there is no stack trace included in the output. Running R_1810. The 
results folder is empty too. Sometimes, the test starts and some time later 
another error faces (not reproducible) (see below appendix 1).

How can I find a stack trace on this RejectedExecutionException?

Regards,

Guido Leenders

--APPENDIX 1. ANOTHER ERROR--

all:

     [echo] Web user: system
     [echo] Password: ***
     [echo] Server: ***estate.invantive.com
     [echo] Port: 80
     [echo] Protocol: http
     [echo] Path: /smoke_bubs
     [echo] Formatting 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestReport.xml to HTML in 
folder /home/smoke/ws/p104/results/001_InitialTestLogOn
     [xslt] Processing 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestReport.xml to 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestReport.html
     [xslt] Loading stylesheet /usr/local/ant/resources/WebTestReport.xsl
     [xslt] /usr/local/ant/resources/WebTestReport.xsl:52: Warning! The 
attribute axis starting at a document node will never select anything
     [xslt] Processing 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestReport.xml to 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestSummary.xml
     [xslt] Loading stylesheet 
/usr/local/ant/resources/WebTestReportSummaryExtractor.xsl
     [echo] DONE. Formatting 
/home/smoke/ws/p104/results/001_InitialTestLogOn/WebTestReport.xml to HTML in 
folder /home/smoke/ws/p104/results/001_InitialTestLogOn
     [echo] Formatting 
/home/smoke/ws/p104/results/002_InitialTestTestVATCodesWithTiming/WebTestReport.xml
 to HTML in folder 
/home/smoke/ws/p104/results/002_InitialTestTestVATCodesWithTiming
     [xslt] Processing 
/home/smoke/ws/p104/results/002_InitialTestTestVATCodesWithTiming/WebTestReport.xml
 to 
/home/smoke/ws/p104/results/002_InitialTestTestVATCodesWithTiming/WebTestReport.html
     [xslt] Loading stylesheet /usr/local/ant/resources/WebTestReport.xsl
BUILD FAILED
/home/smoke/ws/p104/build.xml:1674: The following error occurred while 
executing this line:
/home/smoke/ws/p104/test/web/bubs_config_report.xml:2: 
java.util.ConcurrentModificationException
        at 
java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
        at java.util.LinkedList$ListItr.next(LinkedList.java:696)
        at 
org.apache.tools.ant.property.LocalPropertyStack.evaluate(LocalPropertyStack.java:96)
        at 
org.apache.tools.ant.property.LocalProperties.evaluate(LocalProperties.java:124)
        at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:845)
        at org.apache.tools.ant.Project.getProperty(Project.java:607)
        at 
com.canoo.webtest.engine.Configuration.configureDefaultFromProjectProperties(Configuration.java:218)
        at 
com.canoo.webtest.engine.Configuration.execute(Configuration.java:156)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:204)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)


Reply via email to