]
Saurabh Agarwal updated ARQ-1892:
---------------------------------
Attachment: arquillian.xml
ArquillianSampleTest.java
SampleBean.java
SampleBeanNonCDI.java
Attaching reference code
java.util.NoSuchElementException from TestRunner class getTestRunner
method
---------------------------------------------------------------------------
Key: ARQ-1892
URL:
https://issues.jboss.org/browse/ARQ-1892
Project: Arquillian
Issue Type: Bug
Components: Base Implementation
Affects Versions: 1.1.5.Final
Environment: RSA, WAS 8.x
Reporter: Saurabh Agarwal
Priority: Critical
Attachments: arquillian.xml, ArquillianSampleTest.java, SampleBean.java,
SampleBeanNonCDI.java
Hi All,
Upon running test case with Arqullian, I am getting below exception from TestRunner.class
in getTest method.
I am using Servlet 3.0 protocol.
java.util.NoSuchElementException
at java.util.LinkedHashMap$AbstractMapIterator.makeNext(LinkedHashMap.java:143)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:201)
at
org.jboss.arquillian.container.test.spi.util.TestRunners.getTestRunner(TestRunners.java:60)
at
org.jboss.arquillian.container.test.spi.util.TestRunners.getTestRunner(TestRunners.java:44)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:158)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:125)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3815)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:981)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:277)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1702)
Any help / resolution is much appreciated.
Attaching required code for reference
Thanks
Saurabh