Home » Eclipse Projects » Remote Application Platform (RAP) » Client error with Browser.execute function
Client error with Browser.execute function [message #1486366] |
Tue, 25 November 2014 01:52 |
Emmanuel Marchal Messages: 10 Registered: June 2014 Location: Belo Horizonte, Brazil |
Junior Member |
|
|
Hi there,
I got the following error when calling browser.execute("myJavaScriptFunction()");
This only occurs on a deployed version, not in eclipse !
The method is called in
browser.addProgressListener(new ProgressListener() {
@Override
public void completed(ProgressEvent event) {
browser.execute("setData("myJavaScriptFunction()");
}
@Override
public void changed(ProgressEvent event) {}
});
Do you have an idea of the source of the error ??
Thanks,
Emmanuel
---------
Client Error
Details:
Error: Error: Operation "call" on target "w84" of type "rwt.widgets.Browser" failed:
SecurityRestriction:
Browser-Widget can not access "null:-1nullnull" from "XXX.com".
Properties:
script = setData(120,240)
Script: {"head":{"requestCounter":21},"operations":[["set","w10",{"bounds":[0,0,0,0]}],["set","w80",{"bounds":[0,56,1280,445]}],["set","w81",{"bounds":[5,5,1266,431],"clientArea":[0,0,1266,431]}],["set","w82",{"bounds":[0,0,1266,431],"clientArea":[0,0,1266,431]}],["set","w83",{"bounds":[25,25,1216,60]}],["set","w84",{"bounds":[25,90,1216,240]}],["set","w85",{"bounds":[1039,335,202,71]}],["call","w84","evaluate",{"script":"setData(120,240)"}]]}
Stack: Error: Operation "call" on target "w84" of type "rwt.widgets.Browser" failed:
SecurityRestriction:
Browser-Widget can not access "null:-1nullnull" from "XXX.com".
Properties:
script = setData(120,240)
at Object.rwt.remote.MessageProcessor._processError (http://XXX.com/rwt-resources/rap-client.js:231:3811)
at Object.rwt.remote.MessageProcessor.processOperationArray (http://XXX.com/rwt-resources/rap-client.js:231:928)
at Object.rwt.remote.MessageProcessor.processMessage (http://XXX.com/rwt-resources/rap-client.js:231:223)
at rwt.qx.Class.define.members._handleSuccess (http://XXX.com/rwt-resources/rap-client.js:235:3630)
at Object._success (http://XXX.com/rwt-resources/rap-client.js:97:1012)
at Object.rwt.remote.Request._onReadyStateChange (http://XXX.com/rwt-resources/rap-client.js:97:1902)
at XMLHttpRequest.d (http://XXX.com/rwt-resources/rap-client.js:15:522)
Debug: off
Request: {"head":{"requestCounter":20},"operations":[["call","rwt.client.TextSizeMeasurement","storeMeasurements",{"results":{"t-1682727348":[292,58]}}],["notify","w84","Progress",{}],["set","w1",{"cursorLocation":[1156,355]}]]}
[Updated on: Tue, 25 November 2014 01:52] Report message to a moderator
|
|
| | | | |
Goto Forum:
Current Time: Fri Apr 19 11:24:45 GMT 2024
Powered by FUDForum. Page generated in 0.01378 seconds
|