[JBoss JIRA] (ARQGRA-445) Wrong classes are injected to PageObject injection points in abstract test basis
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQGRA-445:
---------------------------------
Summary: Wrong classes are injected to PageObject injection points in abstract test basis
Key: ARQGRA-445
URL: https://issues.jboss.org/browse/ARQGRA-445
Project: Arquillian Graphene
Issue Type: Bug
Reporter: Lukáš Fryč
These tests fails because wrong instances are injected into abstract test basis:
{code}
Results :
Tests in error:
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-444) Functional tests fail to run due to surefire plugin failure
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQGRA-444:
---------------------------------
Summary: Functional tests fail to run due to surefire plugin failure
Key: ARQGRA-444
URL: https://issues.jboss.org/browse/ARQGRA-444
Project: Arquillian Graphene
Issue Type: Bug
Environment: {code}
$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/lfryc/Apps/apache-maven-3.0.4
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
{code}
Reporter: Lukáš Fryč
{code}
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ graphene-webdriver-ftest ---
[INFO] Surefire report directory: /mnt/workspace/workspaces/arquillian/arquillian-graphene/ftest/target/surefire-reports
[INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.jboss.arquillian.graphene.ftest.intercept.TestInterceptorRegistration
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.jboss.arquillian.graphene.ftest.element.TestGrapheneElementAsPageFragmentRoot
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.jboss.arquillian.graphene.ftest.enricher.hierarchy.SomeAbstractTest
Exception in thread "ThreadedStreamConsumer" java.lang.NoSuchMethodError: org.apache.maven.surefire.report.StackTraceWriter.getThrowable()Ljava/lang/Throwable;
at org.apache.maven.surefire.report.XMLReporter.writeTestProblems(XMLReporter.java:238)
at org.apache.maven.surefire.report.XMLReporter.testError(XMLReporter.java:208)
at org.apache.maven.surefire.report.MulticastingReporter.testError(MulticastingReporter.java:73)
at org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139)
at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112)
at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
at java.lang.Thread.run(Thread.java:744)
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-444) Functional tests fail to run due to surefire plugin failure
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-444?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-444:
------------------------------
Environment:
$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/lfryc/Apps/apache-maven-3.0.4
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
was:
{code}
$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/lfryc/Apps/apache-maven-3.0.4
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
{code}
> Functional tests fail to run due to surefire plugin failure
> -----------------------------------------------------------
>
> Key: ARQGRA-444
> URL: https://issues.jboss.org/browse/ARQGRA-444
> Project: Arquillian Graphene
> Issue Type: Bug
> Environment: $ mvn -v
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/lfryc/Apps/apache-maven-3.0.4
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_51/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
> Reporter: Lukáš Fryč
>
> {code}
> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ graphene-webdriver-ftest ---
> [INFO] Surefire report directory: /mnt/workspace/workspaces/arquillian/arquillian-graphene/ftest/target/surefire-reports
> [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
> Running org.jboss.arquillian.graphene.ftest.intercept.TestInterceptorRegistration
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.element.TestGrapheneElementAsPageFragmentRoot
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.enricher.hierarchy.SomeAbstractTest
> Exception in thread "ThreadedStreamConsumer" java.lang.NoSuchMethodError: org.apache.maven.surefire.report.StackTraceWriter.getThrowable()Ljava/lang/Throwable;
> at org.apache.maven.surefire.report.XMLReporter.writeTestProblems(XMLReporter.java:238)
> at org.apache.maven.surefire.report.XMLReporter.testError(XMLReporter.java:208)
> at org.apache.maven.surefire.report.MulticastingReporter.testError(MulticastingReporter.java:73)
> at org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139)
> at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112)
> at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
> at java.lang.Thread.run(Thread.java:744)
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQ-1770) Root.war deployed to Wildfly gives wrong @ArquillianResource URL
by Cesar Ricardez (JIRA)
[ https://issues.jboss.org/browse/ARQ-1770?page=com.atlassian.jira.plugin.s... ]
Cesar Ricardez edited comment on ARQ-1770 at 5/28/14 11:28 AM:
---------------------------------------------------------------
Also, this bug is affecting when using managed:
Caused by: java.lang.IllegalStateException: Error launching request at http://127.0.0.1:8080/ROOT/ArquillianServletRunner?outputMode=serializedO.... No result returned
at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:139)
at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:99)
at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
was (Author: xiumeteo):
Also, this bus is affecting when using managed:
Caused by: java.lang.IllegalStateException: Error launching request at http://127.0.0.1:8080/ROOT/ArquillianServletRunner?outputMode=serializedO.... No result returned
at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:139)
at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:99)
at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
> Root.war deployed to Wildfly gives wrong @ArquillianResource URL
> ----------------------------------------------------------------
>
> Key: ARQ-1770
> URL: https://issues.jboss.org/browse/ARQ-1770
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Matej Briskar
> Attachments: arquillian_test_should_fail.zip
>
>
> This bug is a small one and had easy workaround, but it happens.
> When I deploy a ROOT.war to the Wildfly embedded container, the returned @ArquillianResource Url url gives localhost:8080/ROOT instead of the correct localhost:8080/. Tested with wildfly 8.1.0.CR1 dependency version.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQ-1788) containers - code refactoring
by Martin Basovnik (JIRA)
Martin Basovnik created ARQ-1788:
------------------------------------
Summary: containers - code refactoring
Key: ARQ-1788
URL: https://issues.jboss.org/browse/ARQ-1788
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: OSGi Containers
Reporter: Martin Basovnik
Assignee: Thomas Diesler
*Code refactoring*
- Create an ancestor for managed/remote containers using JMX
- Rename class OSGiContainerConfiguration to EmbeddedContainerConfiguration
- bootstrapCompleteServices
- ...
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQ-1769) org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
by William Crowell (JIRA)
[ https://issues.jboss.org/browse/ARQ-1769?page=com.atlassian.jira.plugin.s... ]
William Crowell commented on ARQ-1769:
--------------------------------------
Lukas,
For some reason when I posted the code I left out the inspection. My apologies. Here it is:
> org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> --------------------------------------------------------------------------
>
> Key: ARQ-1769
> URL: https://issues.jboss.org/browse/ARQ-1769
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha7, 1.1.3.Final, 1.1.4.Final
> Environment: Windows 7 Enterprise SP1 64-bit
> Reporter: William Crowell
>
> I am using the following:
> Arquillian Core: 1.1.4.Final (as well as 1.1.3.Final)
> Arquillian Drone: 1.2.4.Final (I've tried Drone 2 as well)
> Arquillian Warp: 1.0.0.Alpha7 (as well as 1.0.0.Beta1-SNAPSHOT)
> Arquillian Transaction: 1.0.1.Final
> Arquillian Tomcat 7 Embedded Container using Tomcat 7.0.27: 1.0.0.Final-SNAPSHOT
> Spring: 3.2.4.RELEASE
> Spring Web: 3.2.2.RELEASE
> Spring Security: 3.1.4.RELEASE
> Spring WebFlow: 2.4.0.RC1
> PrimeFaces 3.4.2
> JUnit: 4.8.2
> Mojarra 2.1.17
> I am receiving this exception:
> {code}
> java.lang.IllegalStateException: org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerObserver.finalizeManager(LifecycleManagerObserver.java:69)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.warp.impl.server.test.LifecycleTestClassExecutor.afterRequest(LifecycleTestClassExecutor.java:78)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.warp.impl.server.request.RequestContextHandler.handleRequestContext(RequestContextHandler.java:93)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterWarp(WarpFilter.java:151)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterHttp(WarpFilter.java:120)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilter(WarpFilter.java:93)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> ...
> Caused by: org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerStoreImpl.checkUnbound(LifecycleManagerStoreImpl.java:126)
> at org.jboss.arquillian.warp.spi.LifecycleManager.checkUnbound(LifecycleManager.java:158)
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerObserver.finalizeManager(LifecycleManagerObserver.java:67)
> ... 74 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQ-1769) org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
by William Crowell (JIRA)
[ https://issues.jboss.org/browse/ARQ-1769?page=com.atlassian.jira.plugin.s... ]
William Crowell edited comment on ARQ-1769 at 5/28/14 8:00 AM:
---------------------------------------------------------------
Lukas,
For some reason when I posted the code I left out the inspection. My apologies. Here it is:
browser.navigate().to("http://localhost:8080/test/" + INITIAL_PAGE);
Warp.initiate(new Activity() {
public void perform() {
WebElement element = browser.findElement(By.name("f"));
element.submit();
}
}).group().observe(request()).inspect(new Inspection() {
private static final long
serialVersionUID = -5222424427892601639L;
@ArquillianResource
private HttpServletResponse response;
@AfterPhase(Phase.RESTORE_VIEW)
public void verify_that_the_appropriate_page_is_requested(@ArquillianResource FacesContext facesContext) {
Assert.assertEquals(INITIAL_PAGE, facesContext.getViewRoot().getViewId());
}
@AfterServlet
public void verify_that_response_is_redirected() {
Assert.assertTrue(response.getHeader("Location").contains(AFTER_LOGIN_PAGE));
}
}) .execute();
was (Author: bcrowell2):
Lukas,
For some reason when I posted the code I left out the inspection. My apologies. Here it is:
> org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> --------------------------------------------------------------------------
>
> Key: ARQ-1769
> URL: https://issues.jboss.org/browse/ARQ-1769
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha7, 1.1.3.Final, 1.1.4.Final
> Environment: Windows 7 Enterprise SP1 64-bit
> Reporter: William Crowell
>
> I am using the following:
> Arquillian Core: 1.1.4.Final (as well as 1.1.3.Final)
> Arquillian Drone: 1.2.4.Final (I've tried Drone 2 as well)
> Arquillian Warp: 1.0.0.Alpha7 (as well as 1.0.0.Beta1-SNAPSHOT)
> Arquillian Transaction: 1.0.1.Final
> Arquillian Tomcat 7 Embedded Container using Tomcat 7.0.27: 1.0.0.Final-SNAPSHOT
> Spring: 3.2.4.RELEASE
> Spring Web: 3.2.2.RELEASE
> Spring Security: 3.1.4.RELEASE
> Spring WebFlow: 2.4.0.RC1
> PrimeFaces 3.4.2
> JUnit: 4.8.2
> Mojarra 2.1.17
> I am receiving this exception:
> {code}
> java.lang.IllegalStateException: org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerObserver.finalizeManager(LifecycleManagerObserver.java:69)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.warp.impl.server.test.LifecycleTestClassExecutor.afterRequest(LifecycleTestClassExecutor.java:78)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.warp.impl.server.request.RequestContextHandler.handleRequestContext(RequestContextHandler.java:93)
> ...
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterWarp(WarpFilter.java:151)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterHttp(WarpFilter.java:120)
> at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilter(WarpFilter.java:93)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> ...
> Caused by: org.jboss.arquillian.warp.spi.exception.StoreHasAssociatedObjectsException
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerStoreImpl.checkUnbound(LifecycleManagerStoreImpl.java:126)
> at org.jboss.arquillian.warp.spi.LifecycleManager.checkUnbound(LifecycleManager.java:158)
> at org.jboss.arquillian.warp.impl.server.lifecycle.LifecycleManagerObserver.finalizeManager(LifecycleManagerObserver.java:67)
> ... 74 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQ-1787) Move tests to separate maven module
by Stefan Bunciak (JIRA)
Stefan Bunciak created ARQ-1787:
-----------------------------------
Summary: Move tests to separate maven module
Key: ARQ-1787
URL: https://issues.jboss.org/browse/ARQ-1787
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: OSGi Containers
Reporter: Stefan Bunciak
Assignee: Thomas Diesler
Move tests to separate maven module, so that all container adapter share the same set of tests. Container-specific tests can still reside with the container adapter implementation
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months