Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to debug RAP Client Errors
How to debug RAP Client Errors [message #1710639] Thu, 08 October 2015 07:22 Go to next message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
Registered: July 2009
Member
Hi,

I'm facing a random Client Error on a RAP application.

Is there some resources explaining how to debug/interpret those ?
Also is the not minified rap-client.js and sourcemaps to unminified version available in the releases? That would help to make tings intelligible I guess.

Given my error below what I understand is that the set focusControl operation failed because it involved calling isSeeable on a null object.
Is this correct? If so this seems like a RAP bug right?

Client Error

Details:

Error: Error: Operation "set" on target "w1" of type "[object Object]" failed:
Cannot read property 'isSeeable' of null
Properties: 
focusControl = w2079


  Script: {"head":{},"operations":[["destroy","w1763"],["destroy","w1764"],["destroy","w1765"],["destroy","w2076"],["set","w42",{"activeControl":"w1666"}],["create","w2098","rwt.widgets.Menu",{"parent":"w42","style":["POP_UP"]}],["listen","w2098",{"Show":true,"Hide":true}],["set","w82",{"children":["w2099","w2100","w1659","w1660","w155","w156","w157","w158","w159","w160","w161","w162","w83","w84","w85","w86","w163","w164","w165","w2101","w2102","w2103","w2104","w2105","w2106"]}],["create","w2099","rwt.widgets.ToolBar",{"parent":"w82","style":["FLAT","HORIZONTAL","RIGHT"],"children":null,"bounds":[169,1,22,22]}],["listen","w2099",{"Activate":true,"MouseDown":true,"MouseUp":true,"MouseDoubleClick":true}],["create","w2107","rwt.widgets.ToolItem",{"parent":"w2099","style":["PUSH"],"index":0,"bounds":[0,0,22,22],"toolTip":"Refresh","image":["rwt-resources/generated/a0a72d47.gif",16,16]}],["listen","w2107",{"Selection":true}],["create","w2100","rwt.widgets.Composite",{"parent":"w82","style":["NONE"],"children":["w2108"],"bounds":[3,26,225,497]}],["listen","w2100",{"Activate":true}],["set","w2100",{"clientArea":[0,0,225,497]}],["create","w2108","rwt.widgets.Composite",{"parent":"w2100","style":["NONE"],"children":["w2109","w2110"],"bounds":[0,0,225,497],"clientArea":[0,0,225,497]}],["create","w2109","rwt.widgets.Grid",{"parent":"w2108","style":["MULTI","BORDER"],"appearance":"tree","selectionPadding":[3,5],"indentionWidth":16,"markupEnabled":false}],["create","w2111","rwt.widgets.ScrollBar",{"parent":"w2109","style":["HORIZONTAL"]}],["create","w2112","rwt.widgets.ScrollBar",{"parent":"w2109","style":["VERTICAL"]}],["set","w2109",{"children":null,"bounds":[0,0,225,497],"menu":"w2098"}],["listen","w2109",{"MouseDown":true,"MouseUp":true,"MouseDoubleClick":true}],["set","w2109",{"itemCount":15,"itemHeight":22,"itemMetrics":[[0,0,210,0,16,22,180]]}],["listen","w2109",{"Selection":true,"DefaultSelection":true,"Expand":true,"Collapse":true}],["listen","w2111",{"Selection":true}],["listen","w2112",{"Selection":true}],["create","w2114","rwt.widgets.GridItem",{"parent":"w2109","index":0,"itemCount":1,"texts":["Beats"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2115","rwt.widgets.GridItem",{"parent":"w2114","index":0}],["create","w2116","rwt.widgets.GridItem",{"parent":"w2109","index":1,"itemCount":1,"texts":["ComputerHardwareDistributorPIM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2117","rwt.widgets.GridItem",{"parent":"w2116","index":0}],["create","w2118","rwt.widgets.GridItem",{"parent":"w2109","index":2,"itemCount":1,"texts":["Customer360MDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2119","rwt.widgets.GridItem",{"parent":"w2118","index":0}],["create","w2120","rwt.widgets.GridItem",{"parent":"w2109","index":3,"itemCount":1,"texts":["CustomerAndFinancialMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2121","rwt.widgets.GridItem",{"parent":"w2120","index":0}],["create","w2122","rwt.widgets.GridItem",{"parent":"w2109","index":4,"itemCount":1,"texts":["DNASequences"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2123","rwt.widgets.GridItem",{"parent":"w2122","index":0}],["create","w2124","rwt.widgets.GridItem",{"parent":"w2109","index":5,"itemCount":1,"texts":["ExternalAndInternalRDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2125","rwt.widgets.GridItem",{"parent":"w2124","index":0}],["create","w2126","rwt.widgets.GridItem",{"parent":"w2109","index":6,"itemCount":1,"texts":["GeocodingAddressEnrichment"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2127","rwt.widgets.GridItem",{"parent":"w2126","index":0}],["create","w2128","rwt.widgets.GridItem",{"parent":"w2109","index":7,"itemCount":1,"texts":["LegalEntityMgmt"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2129","rwt.widgets.GridItem",{"parent":"w2128","index":0}],["create","w2130","rwt.widgets.GridItem",{"parent":"w2109","index":8,"itemCount":1,"texts":["MedicalDeviceMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2131","rwt.widgets.GridItem",{"parent":"w2130","index":0}],["create","w2132","rwt.widgets.GridItem",{"parent":"w2109","index":9,"itemCount":1,"texts":["NXPMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2133","rwt.widgets.GridItem",{"parent":"w2132","index":0}],["create","w2134","rwt.widgets.GridItem",{"parent":"w2109","index":10,"itemCount":1,"texts":["ProductMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2135","rwt.widgets.GridItem",{"parent":"w2134","index":0}],["create","w2136","rwt.widgets.GridItem",{"parent":"w2109","index":11,"itemCount":1,"texts":["RosaParksMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2137","rwt.widgets.GridItem",{"parent":"w2136","index":0}],["create","w2138","rwt.widgets.GridItem",{"parent":"w2109","index":12,"itemCount":1,"texts":["TestModel"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2139","rwt.widgets.GridItem",{"parent":"w2138","index":0}],["create","w2140","rwt.widgets.GridItem",{"parent":"w2109","index":13,"itemCount":1,"texts":["VideoEquipmentCustomersMDM"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["create","w2141","rwt.widgets.GridItem",{"parent":"w2140","index":0}],["create","w2113","rwt.widgets.GridItem",{"parent":"w2109","index":14,"itemCount":1,"texts":["WineAndSpirits"],"images":[["rwt-resources/generated/633c3b4f.gif",16,16]]}],["set","w2109",{"topItemIndex":0,"scrollLeft":0,"selection":[]}],["create","w2142","rwt.widgets.GridItem",{"parent":"w2113","index":0}],["create","w2110","rwt.widgets.Label",{"parent":"w2108","style":["NONE"],"bounds":[0,0,225,497],"visibility":false,"text":"No input"}],["set","w1659",{"bounds":[889,421,22,22],"tabIndex":23,"visibility":true}],["set","w1660",{"bounds":[237,446,728,77],"visibility":true,"clientArea":[0,0,728,77]}],["set","w1662",{"bounds":[0,0,728,77],"clientArea":[0,0,728,77]}],["set","w1663",{"bounds":[0,0,728,77],"tabIndex":26,"content":"w1667"}],["set","w1666",{"children":null,"bounds":[-200,-200,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["set","w1667",{"bounds":[0,0,728,77],"visibility":true,"clientArea":[0,0,728,77]}],["set","w1657",{"tabIndex":29}],["set","w156",{"visibility":false}],["set","w172",{"tabIndex":-1}],["set","w161",{"visibility":false}],["set","w162",{"visibility":false}],["set","w85",{"bounds":[234,0,734,417],"clientArea":[0,0,734,417]}],["set","w1889",{"bounds":[3,26,728,388],"clientArea":[0,0,728,388]}],["set","w1890",{"bounds":[0,0,728,388],"clientArea":[0,0,728,388]}],["set","w1891",{"bounds":[0,0,728,388]}],["set","w1893",{"bounds":[0,388,53,0]}],["set","w1892",{"bounds":[0,0,728,388]}],["set","w1855",{"bounds":[0,0,734,417]}],["set","w1859",{"bounds":[3,26,728,388],"clientArea":[0,0,728,388]}],["set","w1865",{"bounds":[0,0,728,388],"clientArea":[0,0,728,388]}],["set","w163",{"visibility":false}],["set","w235",{"image":["rwt-resources/generated/15dcb52e.gif",16,16]}],["set","w164",{"visibility":false}],["set","w246",{"image":["rwt-resources/generated/15dcb52e.gif",16,16]}],["set","w165",{"tabIndex":-1,"visibility":false,"selectionBackground":[255,255,255,255],"selectionForeground":[74,74,74,255],"selectionBackgroundGradient":[[[255,255,255,255],[255,255,255,255]],[0,100],true]}],["set","w257",{"image":["rwt-resources/generated/15dcb52e.gif",16,16]}],["set","w259",{"image":["rwt-resources/generated/15dcb52e.gif",16,16]}],["set","w253",{"tabIndex":-1}],["set","w256",{"tabIndex":-1}],["create","w2101","rwt.widgets.CTabFolder",{"parent":"w82","style":["MULTI","BORDER"],"toolTipTexts":["Minimize","Maximize","Restore","Show List","Close"]}],["listen","w2101",{"Selection":true,"Folder":true}],["set","w2101",{"children":["w2143","w2144","w2145","w2146"],"bounds":[0,0,231,526],"font":[["Tahoma","Segoe UI","Calibri","Lucida Sans Unicode","sans-serif","Corbel"],11,false,false]}],["listen","w2101",{"Activate":true,"FocusIn":true,"FocusOut":true,"MenuDetect":true}],["set","w2101",{"tabHeight":22,"minimizeBounds":[192,2,18,18],"minimizeVisible":true,"maximizeBounds":[210,2,18,18],"maximizeVisible":true,"unselectedCloseVisible":false,"selection":"w2147","selectionBackground":[255,255,255,255],"selectionForeground":[74,74,74,255],"selectionBackgroundGradient":[[[255,255,255,255],[255,255,255,255]],[0,100],true],"borderVisible":true}],["listen","w2101",{"DefaultSelection":true}],["create","w2147","rwt.widgets.CTabItem",{"parent":"w2101","index":0,"style":["CLOSE"],"bounds":[0,0,118,23],"text":"Data Editions ","image":["rwt-resources/generated/633c3b4f.gif",16,16],"showClose":true}],["create","w2143","rwt.widgets.ToolBar",{"parent":"w2101","style":["FLAT","HORIZONTAL"],"children":null,"bounds":[0,0,0,0],"visibility":false}],["create","w2148","rwt.widgets.ToolItem",{"parent":"w2143","style":["PUSH"],"index":0,"bounds":[0,0,17,22],"toolTip":"Menu","visible":false,"image":["rwt-resources/generated/90970f9f.gif",11,16]}],["listen","w2148",{"Selection":true}],["create","w2144","rwt.widgets.Label",{"parent":"w2101","style":["NONE"],"bounds":[0,0,0,0],"visibility":false}],["listen","w2144",{"Activate":true,"MenuDetect":true}],["create","w2145","rwt.widgets.Composite",{"parent":"w2101","style":["NONE"],"children":null,"bounds":[118,1,73,22],"visibility":false,"clientArea":[0,0,73,22]}],["create","w2146","rwt.widgets.Composite",{"parent":"w2101","style":["NONE"],"children":["w2149","w2150","w2151","w2152","w2153"],"bounds":[3,26,225,497]}],["listen","w2146",{"Activate":true,"MenuDetect":true}],["set","w2146",{"clientArea":[0,0,225,497]}],["create","w2149","rwt.widgets.Composite",{"parent":"w2146","style":["NONE"],"children":null,"bounds":[0,0,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2150","rwt.widgets.Composite",{"parent":"w2146","style":["NONE"],"children":null,"bounds":[-200,-222,0,22],"visibility":false,"clientArea":[0,0,0,22]}],["create","w2151","rwt.widgets.Composite",{"parent":"w2146","style":["NONE"],"children":null,"bounds":[0,0,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2152","rwt.widgets.Composite",{"parent":"w2146","style":["NONE"],"children":null,"bounds":[-200,-200,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2153","rwt.widgets.Composite",{"parent":"w2146","style":["NONE"],"children":null,"bounds":[0,0,225,497],"visibility":false,"clientArea":[0,0,225,497]}],["create","w2102","rwt.widgets.CTabFolder",{"parent":"w82","style":["MULTI","BORDER"],"toolTipTexts":["Minimize","Maximize","Restore","Show List","Close"]}],["listen","w2102",{"Selection":true,"Folder":true}],["set","w2102",{"children":["w2154","w2155","w2156","w2157"],"bounds":[971,0,185,526],"font":[["Tahoma","Segoe UI","Calibri","Lucida Sans Unicode","sans-serif","Corbel"],11,false,false]}],["listen","w2102",{"Activate":true,"FocusIn":true,"FocusOut":true,"MenuDetect":true}],["set","w2102",{"tabHeight":22,"minimizeBounds":[146,2,18,18],"minimizeVisible":true,"maximizeBounds":[164,2,18,18],"maximizeVisible":true,"unselectedCloseVisible":false,"selection":"w2158","selectionBackground":[255,255,255,255],"selectionForeground":[74,74,74,255],"selectionBackgroundGradient":[[[255,255,255,255],[255,255,255,255]],[0,100],true],"borderVisible":true}],["listen","w2102",{"DefaultSelection":true}],["create","w2158","rwt.widgets.CTabItem",{"parent":"w2102","index":0,"style":["CLOSE"],"bounds":[0,0,85,23],"text":"Outline","image":["rwt-resources/generated/73ca97f9.gif",16,16],"showClose":true}],["create","w2154","rwt.widgets.ToolBar",{"parent":"w2102","style":["FLAT","HORIZONTAL"],"children":null,"bounds":[0,0,0,0],"visibility":false}],["create","w2159","rwt.widgets.ToolItem",{"parent":"w2154","style":["PUSH"],"index":0,"bounds":[0,0,17,22],"toolTip":"Menu","visible":false,"image":["rwt-resources/generated/90970f9f.gif",11,16]}],["listen","w2159",{"Selection":true}],["create","w2155","rwt.widgets.Label",{"parent":"w2102","style":["NONE"],"bounds":[0,0,0,0],"visibility":false}],["listen","w2155",{"Activate":true,"MenuDetect":true}],["create","w2156","rwt.widgets.Composite",{"parent":"w2102","style":["NONE"],"children":null,"bounds":[85,1,60,22],"visibility":false,"clientArea":[0,0,60,22]}],["create","w2157","rwt.widgets.Composite",{"parent":"w2102","style":["NONE"],"children":["w2160","w2161","w2162","w2163","w2164"],"bounds":[3,26,179,497]}],["listen","w2157",{"Activate":true,"MenuDetect":true}],["set","w2157",{"clientArea":[0,0,179,497]}],["create","w2160","rwt.widgets.Composite",{"parent":"w2157","style":["NONE"],"children":null,"bounds":[0,0,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2161","rwt.widgets.Composite",{"parent":"w2157","style":["NONE"],"children":null,"bounds":[-200,-222,0,22],"visibility":false,"clientArea":[0,0,0,22]}],["create","w2162","rwt.widgets.Composite",{"parent":"w2157","style":["NONE"],"children":null,"bounds":[0,0,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2163","rwt.widgets.Composite",{"parent":"w2157","style":["NONE"],"children":null,"bounds":[-200,-200,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2164","rwt.widgets.Composite",{"parent":"w2157","style":["NONE"],"children":null,"bounds":[0,0,179,497],"visibility":false,"clientArea":[0,0,179,497]}],["create","w2103","rwt.widgets.CTabFolder",{"parent":"w82","style":["MULTI","BORDER"],"toolTipTexts":["Minimize","Maximize","Restore","Show List","Close"]}],["listen","w2103",{"Selection":true,"Folder":true}],["set","w2103",{"children":["w2165","w2166","w2167","w2168"],"bounds":[234,420,734,106],"tabIndex":14,"font":[["Tahoma","Segoe UI","Calibri","Lucida Sans Unicode","sans-serif","Corbel"],11,false,false]}],["listen","w2103",{"Activate":true,"FocusIn":true,"FocusOut":true,"MenuDetect":true}],["set","w2103",{"tabHeight":22,"minimizeBounds":[695,2,18,18],"minimizeVisible":true,"maximizeBounds":[713,2,18,18],"maximizeVisible":true,"unselectedCloseVisible":false,"selection":"w2169","selectionBackground":[76,166,210,255],"selectionForeground":[0,0,0,255],"selectionBackgroundGradient":[[[210,232,243,255],[76,166,210,255]],[0,75],true],"borderVisible":true}],["listen","w2103",{"DefaultSelection":true}],["create","w2169","rwt.widgets.CTabItem",{"parent":"w2103","index":0,"style":["CLOSE"],"bounds":[0,0,92,23],"text":"Progress","image":["rwt-resources/generated/15dcb52e.gif",16,16],"showClose":true}],["create","w2165","rwt.widgets.ToolBar",{"parent":"w2103","style":["FLAT","HORIZONTAL"],"children":null,"bounds":[677,1,17,22],"tabIndex":15}],["create","w2170","rwt.widgets.ToolItem",{"parent":"w2165","style":["PUSH"],"index":0,"bounds":[0,0,17,22],"toolTip":"Menu","image":["rwt-resources/generated/90970f9f.gif",11,16]}],["listen","w2170",{"Selection":true}],["create","w2166","rwt.widgets.Label",{"parent":"w2103","style":["NONE"],"bounds":[0,0,0,0],"visibility":false}],["listen","w2166",{"Activate":true,"MenuDetect":true}],["create","w2167","rwt.widgets.Composite",{"parent":"w2103","style":["NONE"],"children":null,"bounds":[92,1,602,22],"visibility":false,"clientArea":[0,0,602,22]}],["create","w2168","rwt.widgets.Composite",{"parent":"w2103","style":["NONE"],"children":["w2171","w2172","w2173","w2174","w2175"],"bounds":[3,26,728,77],"tabIndex":17}],["listen","w2168",{"Activate":true,"MenuDetect":true}],["set","w2168",{"clientArea":[0,0,728,77]}],["create","w2171","rwt.widgets.Composite",{"parent":"w2168","style":["NONE"],"children":null,"bounds":[0,0,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2172","rwt.widgets.Composite",{"parent":"w2168","style":["NONE"],"children":null,"bounds":[-200,-222,0,22],"visibility":false,"clientArea":[0,0,0,22]}],["create","w2173","rwt.widgets.Composite",{"parent":"w2168","style":["NONE"],"children":null,"bounds":[-217,-222,17,22],"visibility":false,"clientArea":[0,0,17,22]}],["create","w2174","rwt.widgets.Composite",{"parent":"w2168","style":["NONE"],"children":null,"bounds":[-200,-200,0,0],"visibility":false,"clientArea":[0,0,0,0]}],["create","w2175","rwt.widgets.Composite",{"parent":"w2168","style":["NONE"],"children":null,"bounds":[0,0,728,77],"visibility":false,"clientArea":[0,0,728,77]}],["create","w2104","rwt.widgets.Sash",{"parent":"w82","style":["VERTICAL","SMOOTH"],"bounds":[231,0,3,526]}],["listen","w2104",{"Selection":true}],["create","w2105","rwt.widgets.Sash",{"parent":"w82","style":["VERTICAL","SMOOTH"],"bounds":[968,0,3,526]}],["listen","w2105",{"Selection":true}],["create","w2106","rwt.widgets.Sash",{"parent":"w82","style":["HORIZONTAL","SMOOTH"],"bounds":[234,417,734,3]}],["listen","w2106",{"Selection":true}],["set","w47",{"tabIndex":30}],["set","w48",{"tabIndex":33}],["set","w49",{"tabIndex":34}],["set","w50",{"tabIndex":37}],["set","w51",{"tabIndex":38}],["set","w1",{"focusControl":"w2079"}]]}
  Stack: Error: Operation "set" on target "w1" of type "[object Object]" failed:
Cannot read property 'isSeeable' of null
Properties: 
focusControl = w2079

    at Object.rwt.remote.MessageProcessor._processError (http://host/rwt-resources/rap-client.js:225:3803)
    at Object.rwt.remote.MessageProcessor.processOperationArray (http://host/rwt-resources/rap-client.js:225:920)
    at Object.rwt.remote.MessageProcessor.processMessage (http://host/rwt-resources/rap-client.js:225:249)
    at rwt.qx.Class.define.members._handleSuccess (http://host/rwt-resources/rap-client.js:229:3428)
    at Object._success (http://host/rwt-resources/rap-client.js:98:1012)
    at Object.rwt.remote.Request._onReadyStateChange (http://host/rwt-resources/rap-client.js:98:1917)
    at XMLHttpRequest. (http://host/rwt-resources/rap-client.js:7:219)
  Debug: off
  Request: {"head":{"requestCounter":231},"operations":[["set","w42",{"activeControl":"w50"}],["set","w145",{"selection":false}],["notify","w145","Selection",{"button":1,"shiftKey":false,"ctrlKey":false,"altKey":false}],["set","w147",{"selection":true}],["notify","w147","Selection",{"button":1,"shiftKey":false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[867,32],"focusControl":"w50"}]]}


Re: How to debug RAP Client Errors [message #1710642 is a reply to message #1710639] Thu, 08 October 2015 07:26 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 Sebastien,
yes... your assumption is correct. What RAP version are you using? Is it
reproducible in all browsers? Could you extract a simple snippet to
reproduce the crash? Please fill a bugzilla and we will look on it asap.
Regards,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to debug RAP Client Errors [message #1710645 is a reply to message #1710639] Thu, 08 October 2015 07:49 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
....follow up. The crash is in Display.js#setFocusControl function. It
seems that the widget with id "w2079" is already disposed on the client
(removed from ObjectRegistry). Probably disposed in the same message by
one of this operations:
["destroy","w1763"],["destroy","w1764"],["destroy","w1765"],["destroy","w2076"].
It's possible to fix it on the client Display.js#setFocusControl by
adding a null check, or on the sever (investigate why disposed control
is set as focus control).
Please file a bugzilla about this issue. As I already mentioned we need
a snippet to reproduce the crash in order to investigate it.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to debug RAP Client Errors [message #1710646 is a reply to message #1710645] Thu, 08 October 2015 08:02 Go to previous messageGo to next message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
Registered: July 2009
Member
Unfortunately the crash seems random and we don't have a proper reproducible case yet. Plus it happened at customer site so we don't know exactly what they did we just know that it happens from time to time.

Is there a way to enable some additional logging so that would allow log disposed widgets with the type of widget (RAP type not Object) to understand what is the widget we are talking about?


Re: How to debug RAP Client Errors [message #1710652 is a reply to message #1710646] Thu, 08 October 2015 08:30 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
there is no such an option in RAP. For a quick fix of the problem you
could patch the client (Display.js#setFocusControl function) at runtime
by execution a JS from the server (JavaScriptExecutor). Something like this:
(function() {
var originalFuntion = rwt.widgets.Display.setFocusControl;
rwt.widgets.Display.setFocusControl = function( widgetId ) {
var widget = rwt.remote.ObjectRegistry.getObject( widgetId );
if( widget !== null ) {
originalFuntion();
}
};
}() );
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP in combination with QVT (com.ibm.icu issue)
Next Topic:RAP 2.3.2: GC stringExtent() returns different values for same string
Goto Forum:
  


Current Time: Wed Apr 24 18:39:52 GMT 2024

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

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

Back to the top