[
https://issues.jboss.org/browse/ARQ-1769?page=com.atlassian.jira.plugin.s...
]
William Crowell commented on ARQ-1769:
--------------------------------------
More information on this. I switched to Arquillian Core 1.1.4, Drone 2.0.0.Alpha1, Warp
1.0.0.Alpha6 and HtmlUnit 2.14 but I am still using Arquillian Test SPI 1.1.3.Final.
It appears this issue is not present in Warp 1.0.0.Alpha6, but whenever an anonymous inner
class of type org.jboss.arquillian.warp.Inspection is created then Warp never returns and
throws a WarpSynchronizationException. Here's the trace:
(E) ActivateManager
(I) ManagerActivationObserver.activateApplicationContext
(E) BeforeRequest
(I) RequestContextHandler.createRequestContext
(O) LifecycleTestClassExecutor.beforeRequest
(O) LifecycleManagerObserver.initializeLifecycleManagerAndInspectionRegistry
(E) LifecycleManagerImpl
(E) InspectionRegistry
(E) ProcessHttpRequest
(O) HttpRequestProcessor.processHttpRequest
(E) ResponsePayload
(E) AfterRequest
(I) RequestContextHandler.destroyRequestContext
(I) LifecycleTestClassExecutor.afterRequest
(E) PassivateManager
(I) ManagerActivationObserver.deactivateApplicationContext
2014-05-01 01:18:32,971 ERROR
[com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter] - runtimeError: message=[An
invalid or illegal selector was specified (selector:
'[id='j_idt33:j_idt35_menu'] .ui-menuitem:not(.ui-state-disabled)' error:
Invalid selector: *[id="j_idt33:j_idt35_menu"]
*.ui-menuitem:not(*.ui-state-disabled)).]
sourceName=[http://localhost:8080/test/spring/javax.faces.resource/jquery/jquery.js?ln=primefaces]
line=[21] lineSource=[null] lineOffset=[0]
(E) AwaitResponse
(O) WarpExecutionObserver.awaitResponse
(E) WarpSynchronizationException
(E) WarpSynchronizationException
(E) CleanEnrichment
(O) WarpExecutionObserver.cleanEnrichment
(E) TestResult
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: Base Implementation
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:
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
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)