[
https://issues.jboss.org/browse/ARQ-1892?page=com.atlassian.jira.plugin.s...
]
Saurabh Agarwal commented on ARQ-1892:
--------------------------------------
Thanks for the inputs, I tried as per suggestion but the error remains the same.
Does getTestRunner() method expects something, I tried debugging the API code but somehow
I could not able to catch anything.
For some reason, I have created the file org.jboss.arquillian.core.spi.LoadableExtension
under Meta-INF / Service folder but not sure what is the issue.
Any help / inputs are highly welcomed
Thanks
Saurabh
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. JARS list used are as below as not using Maven
arquillian-config-api-1.1.5.Final.jar
arquillian-config-impl-base-1.1.5.Final.jar
arquillian-config-spi-1.1.5.Final.jar
arquillian-container-impl-base-1.1.5.Final.jar
arquillian-container-spi-1.1.5.Final.jar
arquillian-container-test-api-1.1.5.Final.jar
arquillian-container-test-impl-base-1.1.5.Final.jar
arquillian-container-test-spi-1.1.5.Final.jar
arquillian-core-api-1.1.5.Final.jar
arquillian-core-impl-base-1.1.5.Final.jar
arquillian-core-spi-1.1.5.Final.jar
arquillian-junit-container-1.1.5.Final.jar
arquillian-junit-core-1.1.5.Final.jar
arquillian-junit-standalone-1.1.5.Final.jar
arquillian-protocol-jmx-1.1.5.Final.jar
arquillian-protocol-servlet-1.1.5.Final.jar
arquillian-test-api-1.1.5.Final.jar
arquillian-test-impl-base-1.1.5.Final.jar
arquillian-test-spi-1.1.5.Final.jar
arquillian-testenricher-cdi-1.1.5.Final.jar
arquillian-testenricher-ejb-1.1.5.Final.jar
arquillian-testenricher-initialcontext-1.1.5.Final.jar
arquillian-testenricher-resource-1.1.5.Final.jar
arquillian-testng-container-1.1.5.Final.jar
arquillian-testng-core-1.1.5.Final.jar
arquillian-testng-standalone-1.1.5.Final.jar
arquillian-was-remote-8-1.0.0.Final-SNAPSHOT.jar
junit-4.8.1.jar
shrinkwrap-api-1.2.2.jar
shrinkwrap-descriptors-api-base-2.0.0-alpha-5.jar
shrinkwrap-descriptors-api-javaee-2.0.0-alpha-5.jar
shrinkwrap-descriptors-impl-base-2.0.0-alpha-5.jar
shrinkwrap-descriptors-impl-javaee-2.0.0-alpha-5.jar
shrinkwrap-descriptors-spi-2.0.0-alpha-5.jar
shrinkwrap-impl-base-1.2.2.jar
shrinkwrap-spi-1.2.2.jar
Thanks
Saurabh
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)