Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Client Error probably caused by Hyperlink Form Widget
Client Error probably caused by Hyperlink Form Widget [message #1499944] Fri, 05 December 2014 14:50 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

I am facing unexpected client error on my application using Eclipse Forms (based on a nightly 3.0 from november 18th)

I am currently trying to write a simple snippet to reproduce it, but if it can help

here the client error that is related to Hyperlink widget:

Error: Error: Operation "set" on target "w630" of type "org.eclipse.ui.forms.widgets.Hyperlink" failed:
Cannot read property 'trim' of null
Properties:
enabled = false
text =
image = null


Script: {"head":{"requestCounter":51},"operations":[["destroy","w775"],["destroy","w774"],["destroy","w826"],["set","w107",{"enabled":true,"image":["rwt-resources/generated/50ef3ab.gif",16,16]}],["set","w108",{"enabled":true,"image":["rwt-resources/generated/7f9eb330.gif",16,16]}],["set","w630",{"enabled":false,"text":"","image":null}],["create","w837","rwt.widgets.ToolItem",{"parent":"w555","style":["PUSH"],"index":0,"bounds":[0,0,24,22],"toolTip":"Save (Ctrl+S)","image":["rwt-resources/generated/50ef3ab.gif",16,16]}],["listen","w837",{"Selection":true}],["create","w838","rwt.widgets.ToolItem",{"parent":"w555","style":["PUSH"],"index":1,"bounds":[24,0,24,22],"enabled":false,"toolTip":"Refresh","image":["rwt-resources/generated/a0a72d47.gif",16,16]}],["listen","w838",{"Selection":true}],["set","w608",{"texts":["ContactEO","Table View: DefaultTableView, Form View: DefaultFormView"]}],["set","w706",{"enabled":false,"text":"","image":null}],["create","w839","rwt.widgets.GridItem",{"parent":"w743","index":0,"texts":["","FDN_Customer","",""],"images":[["rwt-resources/generated/71074f3f.gif",16,16],["rwt-resources/generated/1478b5ed.gif",16,16],["rwt-resources/generated/8a75fdcd.gif",16,16],null]}],["set","w621",{"bounds":[165,0,128,23],"text":"*ContactsView"}],["set","w118",{"bounds":[293,1,843,22],"clientArea":[0,0,843,22]}],["call","rwt.client.TextSizeMeasurement","measureItems",{"items":[["t-235924415","*ContactsView",["Tahoma","Segoe UI","Calibri","Lucida Sans Unicode","sans-serif","Corbel"],11,false,false,-1,false]]}]]}
Stack: Error: Operation "set" on target "w630" of type "org.eclipse.ui.forms.widgets.Hyperlink" failed:
Cannot read property 'trim' of null
Properties:
enabled = false
text =
image = null

at Object.rwt.remote.MessageProcessor._processError (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:61689:11)
at Object.rwt.remote.MessageProcessor.processOperationArray (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:61530:12)
at Object.rwt.remote.MessageProcessor.processMessage (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:61483:12)
at rwt.qx.Class.define.members._handleSuccess (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:62174:19)
at Object._success (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:31440:43)
at Object.rwt.remote.Request._onReadyStateChange (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:31491:18)
at XMLHttpRequest. (http://127.0.0.1:10080/semarchy/rwt-resources/rap-client.js:624:17)
Debug: on
Request: {"head":{"requestCounter":50},"operations":[["set","w2",{"activeControl":"w707"}],["notify","w793","Selection",{"button":1,"shiftKey":false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[1499,248],"focusControl":"w707"}]]}

Regards

[Updated on: Fri, 05 December 2014 14:53]

Report message to a moderator

Re: Client Error probably caused by Hyperlink Form Widget [message #1503194 is a reply to message #1499944] Mon, 08 December 2014 08:36 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Arnaud,
without a snippet to reproduce it I can't help much. Please open a
bugzilla with some code to reproduce it and I'll look on it asap.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Client Error probably caused by Hyperlink Form Widget [message #1503480 is a reply to message #1503194] Mon, 08 December 2014 14:01 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello Ivan
I managed to reproduce it with simple code

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=454428*
Thanks,
Arnaud
Previous Topic:Bowser Widget Flicker
Next Topic:Nebula Grid horizontal lines
Goto Forum:
  


Current Time: Fri Apr 19 20:22:27 GMT 2024

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

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

Back to the top