[JBoss JIRA] (ARQGRA-289) JavaScript interfaces fails on Chrome and PhantomJS
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-289?page=com.atlassian.jira.plugin... ]
Juraj Húska edited comment on ARQGRA-289 at 4/2/13 10:27 AM:
-------------------------------------------------------------
This exception is thrown only when using Chrome, it is not in HTMLUnit (it passes on HTMLUnit):
{code}
Uncaught TypeError: Cannot use 'in' operator to search for 'code' in target object of invocation is not defined
C
window.domAutomationController.send.apply.navigator
(anonymous function)
(anonymous function)
{code}
was (Author: jhuska):
This exception is thrown only when using Chrome, it is not in HTMLUnit:
{code}
Uncaught TypeError: Cannot use 'in' operator to search for 'code' in target object of invocation is not defined
C
window.domAutomationController.send.apply.navigator
(anonymous function)
(anonymous function)
{code}
> JavaScript interfaces fails on Chrome and PhantomJS
> ---------------------------------------------------
>
> Key: ARQGRA-289
> URL: https://issues.jboss.org/browse/ARQGRA-289
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Lukáš Fryč
> Assignee: Juraj Húska
> Priority: Blocker
> Fix For: 2.0.0.Alpha4
>
>
> The test is blocked so it will never end.
> Test cases are ignored before it will be fixed.
> * {{JavaScriptPageExtensionTestCase.*}}
> * {{EnrichmentTestCase.testUnstable.*}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (ARQGRA-290) testAttributeIsPresent fails on Chrome and PhantomJS
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-290?page=com.atlassian.jira.plugin... ]
Juraj Húska commented on ARQGRA-290:
------------------------------------
I have changed the {{AttributeIsPresent#check}} method body to:
{code}
String attributeValue = getElement().getAttribute(getAttribute());
return attributeValue != null && attributeValue.trim().length() != 0;
{code}
> testAttributeIsPresent fails on Chrome and PhantomJS
> ----------------------------------------------------
>
> Key: ARQGRA-290
> URL: https://issues.jboss.org/browse/ARQGRA-290
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Lukáš Fryč
> Assignee: Juraj Húska
> Priority: Critical
> Fix For: 2.0.0.Alpha4
>
>
> Test cases:
> {code}
> LocatorAttributeTest.testAttributeIsPresent
> LocatorAttributeTest.testAttributeIsPresentDirectly
> WebElementAttributeTest.testAttributeIsPresent
> WebElementAttributeTest.testAttributeIsPresentDirectly
> ConditionsTestCase.testAttributeIsPresent
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (ARQ-1368) Warp: reverse order of chaining of request builder
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQ-1368:
-------------------------------
Summary: Warp: reverse order of chaining of request builder
Key: ARQ-1368
URL: https://issues.jboss.org/browse/ARQ-1368
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Warp
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Priority: Critical
Fix For: warp_1.0.0.Alpha3
If we are following observer:
{code}.observe(request().uri().contains("__richfacesPushAsync").index(1)){code}
we want observe first request matching criteria - (URI containing given string), however that is not what happens:
the {{index(1)}} calls method [{{addFilter}}|https://github.com/arquillian/arquillian-extension-warp/blob/1.0.0.Alpha2/impl/src/main/java/org/jboss/arquillian/warp/impl/client/filter/http/DefaultHttpFilterBuilder.java#L111] which allows chaining, but this chain [evaluates the newly passed filter before it evaluates previous one|https://github.com/arquillian/arquillian-extension-warp/blob/1.0.0.Al...].
----
Reverse the order of evaluation in order to fix semantics of fluent API.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (ARQ-1367) Warp: wrapped response causes NPE
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQ-1367:
-------------------------------
Summary: Warp: wrapped response causes NPE
Key: ARQ-1367
URL: https://issues.jboss.org/browse/ARQ-1367
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Warp
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Priority: Critical
Fix For: warp_1.0.0.Alpha3
{code}
11:24:43,314 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ITPushServletMapping].[FacesServlet]] (http--127.0.0.1-8080-7) Servlet.service() for servlet FacesServlet threw exception: java.lang.NullPointerException
at org.apache.tomcat.util.http.MimeHeaders.setValue(MimeHeaders.java:379) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1582) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:998) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:335) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:301) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104) [jbossweb-7.0.13.Final.jar:]
at java.nio.channels.Channels$WritableByteChannelImpl.implCloseChannel(Channels.java:469) [rt.jar:1.7.0_09-icedtea]
at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115) [rt.jar:1.7.0_09-icedtea]
at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:296) [jsf-impl-2.1.7-jbossorg-2.jar:]
at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:264) [richfaces-framework.jar:5.0.0-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.arquillian.warp.impl.server.execution.HttpRequestProcessor.processHttpRequest(HttpRequestProcessor.java:70) [arquillian-warp.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09-icedtea]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09-icedtea]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) [arquillian-core.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterWarp(WarpFilter.java:139) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterHttp(WarpFilter.java:112) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilter(WarpFilter.java:89) [arquillian-warp.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
11:24:43,314 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ITPushServletMapping].[FacesServlet]] (http--127.0.0.1-8080-4) Servlet.service() for servlet FacesServlet threw exception: java.lang.IllegalStateException: test result was already set
at org.jboss.arquillian.warp.impl.shared.ResponsePayload.setTestResult(ResponsePayload.java:62) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.test.TestResultObserver.storeFirstFailure(TestResultObserver.java:49) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.test.TestResultObserver.propagateThrowableAsTestResultAndRethrow(TestResultObserver.java:37) [arquillian-warp.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09-icedtea]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09-icedtea]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fireException(ManagerImpl.java:370) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:110) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) [arquillian-core.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterWarp(WarpFilter.java:139) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterHttp(WarpFilter.java:112) [arquillian-warp.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilter(WarpFilter.java:89) [arquillian-warp.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
11:24:43,330 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http--127.0.0.1-8080-7) An exception or error occurred in the container during the request processing: java.lang.NullPointerException
at org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:240) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.recycle(Response.java:613) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.reset(Response.java:310) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.Response.reset(Response.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
11:24:43,335 ERROR [org.apache.coyote.http11.Http11Processor] (http--127.0.0.1-8080-7) Error finishing response: java.lang.NullPointerException
at org.apache.tomcat.util.http.MimeHeaders.setValue(MimeHeaders.java:377) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1617) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:998) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.action(Response.java:188) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:363) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:958) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:904) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
11:24:43,337 ERROR [org.apache.coyote.http11.Http11Protocol] (http--127.0.0.1-8080-7) Error reading request, ignored: java.lang.NullPointerException
at org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:240) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.Response.recycle(Response.java:613) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.InternalOutputBuffer.nextRequest(InternalOutputBuffer.java:333) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:917) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months