[JBoss JIRA] (ARQ-1387) Support code coverage for jar/war deployed by ZipImporter
by Andy Ma (JIRA)
Andy Ma created ARQ-1387:
----------------------------
Summary: Support code coverage for jar/war deployed by ZipImporter
Key: ARQ-1387
URL: https://issues.jboss.org/browse/ARQ-1387
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Jacoco
Affects Versions: jacoco_1.0.0.Alpha5
Environment: jdk 1.7, org.jacoco.core.0.6.2.20130203000
Reporter: Andy Ma
If deployed with ZipImporter like:
ShrinkWrap.create(ZipImporter.class, name)
.importFrom(new File(MODULE_PATH + "/" + name)).as(WebArchive.class);
the code coverage of imported archive can not be reported.
--
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, 7 months
[JBoss JIRA] (ARQGRA-300) Guard Ajax ends with timeout exception
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-300?page=com.atlassian.jira.plugin... ]
Jan Papousek updated ARQGRA-300:
--------------------------------
Steps to Reproduce:
# download http://jawa05.englab.brq.redhat.com/candidate/bpms-6.0.0-DR3/brms-6.0.0.A...
# expand the ZIP file and start the container
# the tested application is available on http://localhost:8080/kie-ide
# clone https://github.com/papousek/graphene-wedriver-issues/tree/ARQGRA-300
# run ARQGRA300TestCase test
----
# download http://jawa05.englab.brq.redhat.com/candidate/bpms-6.0.0-DR3/brms-6.0.0.A...
# expand the ZIP file and start the container
# open http://localhost:8080/kie-ide
# log in (admin/admin)
# click on the "Knowledge" link (in footer)
# open browser console and execute the following javascript code:
{code}
/**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
window.Graphene = window.Graphene || {};
/**
* The XMLHttpRequest injection providing ability to intercept requests.
*/
window.Graphene.xhrInterception = (function() {
/**
* The backup of original XHR object after injection
*/
var original;
/**
* Flags for different implementations of XHR
*/
var isXHR = !!window.XMLHttpRequest;
var isActiveX = !!window.ActiveXObject;
/**
* The hash of arrays of functions (with method names to intercept like keys)
*/
var interceptors = {};
/**
* The prototype of injected XHR object.
*
* Delegates to intercepter chain.
*/
var wrapperPrototype = {
abort : function() {
return invokeInterceptorChain(this, 'abort', arguments);
},
open : function() {
return invokeInterceptorChain(this, 'open', arguments);
},
getAllResponseHeaders : function() {
return invokeInterceptorChain(this, 'getAllResponseHeaders', arguments);
},
getResponseHeader : function() {
return invokeInterceptorChain(this, 'getResponseHeader', arguments);
},
send : function() {
return invokeInterceptorChain(this, 'send', arguments);
},
setRequestHeader : function() {
return invokeInterceptorChain(this, 'setRequestHeader', arguments);
},
onreadystatechange : undefined
};
/**
* Injects XHR wrapper for Firefox/Chromium/WebKit and similar browsers
*/
var replaceXHR = function() {
original = window.XMLHttpRequest;
window.XMLHttpRequest = createReplacement();
};
/**
* Reverts XHR wrapper for Firefox/Chromium/WebKit and similar browsers
*/
var revertXHR = function() {
window.XMLHttpRequest = original;
original = undefined;
};
/**
* Creates XHR wrapper for replacement of original XHR object
*/
var createReplacement = function() {
var Replacement = function() {
this.xhr = new original();
this.xhr.onreadystatechange = callback(this);
};
Replacement.prototype = wrapperPrototype;
return Replacement;
};
/**
* onreadystatechange callback which is registered on true XHR instance.
*
* Delegates to intercepter chain.
*/
var callback = function(wrapper) {
return function() {
wrapper.readyState = this.readyState;
if (wrapper.readyState == 4) {
wrapper.responseText = this.responseText;
wrapper.responseXML = this.responseXML;
wrapper.status = this.status;
wrapper.statusText = this.statusText;
}
invokeInterceptorChain(wrapper, 'onreadystatechange', [ wrapper ]);
};
};
/**
* Decides which injection is necessary for current browser
*/
var replace = function() {
if (isXHR) {
replaceXHR();
}
};
/**
* Decides which injection is necessary for current browser
*/
var revert = function() {
if (isXHR) {
revertXHR();
}
};
/**
* Registers intercepter in the chain of intercepters.
*/
var registerInterceptor = function(methodName, interceptor) {
interceptors[methodName] = interceptors[methodName] || [];
interceptors[methodName].push(interceptor);
};
/**
* Starts the execution of interceptor chain.
*
* The method calls or the interceptors in the chain and once all of them are fired, calls original implementation.
*
* @param wrapper
* XHR wrapper instance
* @param methodName
* the name of the method invoked
* @param arguments
* of the invocation
* @param i
* (optional) the number of interceptor to invoke (if there is no such interceptor, function delegates to real
* method)
*/
var invokeInterceptorChain = function(wrapper, methodName, args, i) {
var i = i || 0;
if (interceptors[methodName] && interceptors[methodName].length > i) {
return invokeNextInterceptor(wrapper, methodName, args, i);
} else {
return invokeRealMethod(wrapper, methodName, args);
}
};
/**
* Invokes next intercepter in the chain
*/
var invokeNextInterceptor = function(wrapper, methodName, args, i) {
var context = {
xhrOriginal : wrapper.xhr,
xhrWrapper : wrapper,
proceed : function() {
return invokeInterceptorChain(wrapper, methodName, args, i + 1);
}
};
var interceptor = interceptors[methodName][i];
return interceptor.call(wrapper, context, args);
};
/**
* Invokes original XHR implemention method.
*
* If onreadystatechange callback is processed, it is invoked on wrapper; otherwise method of the XHR instance is invoked.
*/
var invokeRealMethod = function(wrapper, methodName, args) {
var xhr = (methodName === 'onreadystatechange') ? wrapper : wrapper.xhr;
if (xhr[methodName]) {
return xhr[methodName].apply(xhr, args);
}
};
/* PUBLIC METHODS */
return {
/**
* Ensures the interceptor is installed properly
*/
install : function() {
if (!original) {
replace();
}
},
/**
* Removes all registered interceptors.
*/
uninstall : function() {
interceptors = {};
if (original) {
revert();
}
},
/**
* Registers intercepter for abort method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onAbort : function(interceptor) {
registerInterceptor('abort', interceptor);
},
/**
* Registers intercepter for open method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onOpen : function(interceptor) {
registerInterceptor('open', interceptor);
},
/**
* Registers intercepter for getAllResponseHeaders method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onGetAllResponseHeaders : function(interceptor) {
registerInterceptor('getAllResponseHeaders', interceptor);
},
/**
* Registers intercepter for send method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onSend : function(interceptor) {
registerInterceptor('send', interceptor);
},
/**
* Registers intercepter for setRequestHeader method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onSetRequestHeader : function(interceptor) {
registerInterceptor('setRequestHeader', interceptor);
},
/**
* Registers intercepter for onreadystatechange callback method.
*
* Interceptor is function with two params: context and args.
*
* Sample: function(context, args) { context.proceed(args); }
*/
onreadystatechange : function(interceptor) {
registerInterceptor('onreadystatechange', interceptor);
}
}
})();
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
window.Graphene = window.Graphene || {};
window.Graphene.Page = window.Graphene.Page || {};
window.Graphene.Page.RequestGuard = (function() {
var requestType = "HTTP";
var requestState = "DONE";
var originalTimeout;
var latch = 0;
var timeoutWrapper = function(originalCallback, timeout) {
latch += 1;
var callbackArguments = [];
for (var i = 0; i < arguments.length; i++) {
if (i >= 2) {
callbackArguments.push(arguments[i]);
}
}
originalTimeout(function() {
try {
if (typeof(originalCallback) == 'string') {
window.eval(originalCallback);
} else {
originalCallback(callbackArguments);
}
} finally {
latch -= 1;
tryFinish();
}
}, timeout);
};
var tryFinish = function() {
if (latch == 0) {
window.setTimeout = originalTimeout;
requestType = "XHR";
requestState = "DONE";
}
};
return {
getRequestType : function() {
return requestType;
},
getRequestState : function() {
return requestState;
},
clearRequestDone : function() {
var result = requestType;
requestType = "NONE";
requestState = "NONE"
return result;
},
install: function() {
window.Graphene.xhrInterception.onOpen(
function(context, args) {
requestType = "XHR";
requestState = "IN_PROGRESS";
context.proceed(args);
}
);
window.Graphene.xhrInterception.onreadystatechange(
function(context, args) {
if(this.readyState == 4) {
try {
latch = 0;
originalTimeout = window.setTimeout;
window.setTimeout = timeoutWrapper;
context.proceed(args);
} finally {
tryFinish();
}
} else {
requestType = "XHR";
requestState = "IN_PROGRESS";
context.proceed(args);
}
}
);
}
}
})();
window.Graphene.xhrInterception.install();
window.Graphene.Page.RequestGuard.install();
{code}
# click on the "uf-playground" link
-- se errors in the console
> Guard Ajax ends with timeout exception
> --------------------------------------
>
> Key: ARQGRA-300
> URL: https://issues.jboss.org/browse/ARQGRA-300
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Sona Jamborova
> Assignee: Lukáš Fryč
> Priority: Critical
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When I use guard Ajax, then test ends with exception "Timed out after 7 seconds waiting for org.jboss.arquillian.graphene.guard.RequestGuardFactory".
> If I do not use guards, then this operation takes max. 2 seconds.
--
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, 7 months
[JBoss JIRA] (ARQGRA-300) Guard Ajax ends with timeout exception
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-300?page=com.atlassian.jira.plugin... ]
Jan Papousek commented on ARQGRA-300:
-------------------------------------
It seems there is a collision between Graphene and GWT. When I execute the XHR interception and request guard javascript code manually and click on the link, the following stack trace appears in the console:
{code}
SEVERE: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.NU(SchedulerImpl.java:241)
at Unknown.FU(SchedulerImpl.java:407)
at Unknown.GU(SchedulerImpl.java:336)
at Unknown.jfd(Image.java:287)
at Unknown.T1c(Image.java:947)
at Unknown.fi(Widget.java:350)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:75)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70) B591C7C6E2459DF7FD5DBBEB4785CABD.cache.html:13588
Thu May 09 14:49:25 GMT+200 2013 com.google.gwt.logging.client.LogConfiguration
SEVERE: (RangeError) : Maximum call stack size exceeded
com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.Qvd(XMLHttpRequest.java:164)
at Unknown.H7(RequestBuilder.java:394)
at Unknown.anonymous(XMLHttpRequest.java:351)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:243)
at Unknown.anonymous(Impl.java:70)
{code}
The console also contains a lot of the following lines:
{code}
window.Graphene.Page.RequestGuard.timeoutWrapper
{code}
Probably there is an infinite recursive loop somewhere, I can't say more since I am not experienced in JavaScript.
> Guard Ajax ends with timeout exception
> --------------------------------------
>
> Key: ARQGRA-300
> URL: https://issues.jboss.org/browse/ARQGRA-300
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Sona Jamborova
> Assignee: Jan Papousek
> Priority: Critical
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When I use guard Ajax, then test ends with exception "Timed out after 7 seconds waiting for org.jboss.arquillian.graphene.guard.RequestGuardFactory".
> If I do not use guards, then this operation takes max. 2 seconds.
--
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, 7 months
[JBoss JIRA] (ARQGRA-300) Guard Ajax ends with timeout exception
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-300?page=com.atlassian.jira.plugin... ]
Jan Papousek edited comment on ARQGRA-300 at 5/9/13 9:04 AM:
-------------------------------------------------------------
It seems there is a collision between Graphene and GWT. When I execute the XHR interception and request guard javascript code manually and click on the link, the following stack trace appears in the console:
{code}
SEVERE: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.NU(SchedulerImpl.java:241)
at Unknown.FU(SchedulerImpl.java:407)
at Unknown.GU(SchedulerImpl.java:336)
at Unknown.jfd(Image.java:287)
at Unknown.T1c(Image.java:947)
at Unknown.fi(Widget.java:350)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:75)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70) B591C7C6E2459DF7FD5DBBEB4785CABD.cache.html:13588
Thu May 09 14:49:25 GMT+200 2013 com.google.gwt.logging.client.LogConfiguration
SEVERE: (RangeError) : Maximum call stack size exceeded
com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.Qvd(XMLHttpRequest.java:164)
at Unknown.H7(RequestBuilder.java:394)
at Unknown.anonymous(XMLHttpRequest.java:351)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:243)
at Unknown.anonymous(Impl.java:70)
{code}
The console also contains a lot of the following lines:
{code}
Uncaught RangeError: Maximum call stack size exceeded
window.Graphene.Page.RequestGuard.timeoutWrapper
...
{code}
Probably there is an infinite recursive loop somewhere, I can't say more since I am not experienced in JavaScript.
was (Author: jpapouse):
It seems there is a collision between Graphene and GWT. When I execute the XHR interception and request guard javascript code manually and click on the link, the following stack trace appears in the console:
{code}
SEVERE: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.user.client.ui.AttachDetachException: Exception caught: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.Qf(StackTraceCreator.java:501)
at Unknown.DT(RuntimeException.java:33)
at Unknown.f7(UmbrellaException.java:71)
at Unknown.i7(UmbrellaException.java:26)
at Unknown.X4c(AttachDetachException.java:136)
at Unknown.Z4c(AttachDetachException.java:87)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.NU(SchedulerImpl.java:241)
at Unknown.FU(SchedulerImpl.java:407)
at Unknown.GU(SchedulerImpl.java:336)
at Unknown.jfd(Image.java:287)
at Unknown.T1c(Image.java:947)
at Unknown.fi(Widget.java:350)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:75)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.a5c(AttachDetachException.java:34)
at Unknown.Z4c(AttachDetachException.java:74)
at Unknown.Fi(Panel.java:170)
at Unknown.fi(Widget.java:345)
at Unknown.A9c(DecoratedPopupPanel.java:167)
at Unknown.fi(Widget.java:345)
at Unknown.ri(Widget.java:330)
at Unknown.ki(Widget.java:475)
at Unknown.Hi(ComplexPanel.java:97)
at Unknown.y4c(UIObject.java:557)
at Unknown.Aid(PopupPanel.java:344)
at Unknown.Cid(PopupPanel.java:239)
at Unknown.d9c(PopupPanel.java:1018)
at Unknown.v9c(PopupPanel.java:1009)
at Unknown.P8c(PopupPanel.java:523)
at Unknown.thj(BusyPopup.java:61)
at Unknown.sL(Animation.java:288)
at Unknown.BL(Animation.java:32)
at Unknown.qL(Animation.java:199)
at Unknown.qhj(Animation.java:152)
at Unknown.ZL(Timer.java:149)
at Unknown.anonymous(Timer.java:68)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:242)
at Unknown.anonymous(Impl.java:70) B591C7C6E2459DF7FD5DBBEB4785CABD.cache.html:13588
Thu May 09 14:49:25 GMT+200 2013 com.google.gwt.logging.client.LogConfiguration
SEVERE: (RangeError) : Maximum call stack size exceeded
com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded
at Unknown.WU(StackTraceCreator.java:174)
at Unknown.FT(StackTraceCreator.java:501)
at Unknown.VPc(Exceptions.java:29)
at Unknown.Qvd(XMLHttpRequest.java:164)
at Unknown.H7(RequestBuilder.java:394)
at Unknown.anonymous(XMLHttpRequest.java:351)
at Unknown.oU(Impl.java:189)
at Unknown.rU(Impl.java:243)
at Unknown.anonymous(Impl.java:70)
{code}
The console also contains a lot of the following lines:
{code}
window.Graphene.Page.RequestGuard.timeoutWrapper
{code}
Probably there is an infinite recursive loop somewhere, I can't say more since I am not experienced in JavaScript.
> Guard Ajax ends with timeout exception
> --------------------------------------
>
> Key: ARQGRA-300
> URL: https://issues.jboss.org/browse/ARQGRA-300
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Sona Jamborova
> Assignee: Jan Papousek
> Priority: Critical
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When I use guard Ajax, then test ends with exception "Timed out after 7 seconds waiting for org.jboss.arquillian.graphene.guard.RequestGuardFactory".
> If I do not use guards, then this operation takes max. 2 seconds.
--
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, 7 months