Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Missing Payload for handleOperation() Method when using Internet Explorer 8(Sometimes the handleOperation() method is missing some payload for set operations when using Internet Explorer 8)
Missing Payload for handleOperation() Method when using Internet Explorer 8 [message #1405896] Fri, 08 August 2014 12:28 Go to next message
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 69
Registered: September 2011
Location: Karlsruhe
Hello everybody,

currently, we are observing a weired situation in our Eclipse RAP based application: When using the application with the Internet Explorer 8 (Version: 8.0.6001.18702), sometimes Text widget fields do not store entered text. They just keep their old value.

We tracked the problem down to the org.eclipse.rap.rwt.internal.protocol.ProtocolUtil.handleOperation() method. One can reliably observe that whenever the Text widget is not updated, this operation is missing the required payload to execute the org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.handleSetText() method successfully: In normal situation, an update call delivers payload similar to this one:


In error situations, the update call delivers something like this:


Obviously, the information of setting the "text" property of the Text widget is missing. The org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.handleSetText() method subsequently skips the setting of the "text" property due to a "null" valued PROP_TEXT property.

Do you guys have any idea of what happens here? Is there any reliable method of debugging the JSON protocol communication between the browser and the RAP server?

Thanks for any hints.

Re: Missing Payload for handleOperation() Method when using Internet Explorer 8 [message #1405904 is a reply to message #1405896] Fri, 08 August 2014 12:45 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Timo,
which RAP version are you using? Missing "text" property from the
protocol message means that the client-side JavaScript Text widget does
not detect (?!) text changes. This is cient-side issue and must be
debugged somewhere inside Text.js/BasicText.js.
Please note that the IE8 specific JavaScript code has been removed from
RAP master (3.0) due to discontinued IE7/8 support.

Ivan Furnadjiev

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:FileUpload + Feedback
Next Topic:How can i add Google Analytics?
Goto Forum:

Current Time: Fri Feb 28 23:07:29 GMT 2020

Powered by FUDForum. Page generated in 0.01443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top