Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Client error when closing an editor.(RAP 2.3.0, Workbench mode)
Client error when closing an editor. [message #1726735] Tue, 15 March 2016 22:13 Go to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Hi,

I have an editor with some input fields, text, checkbox, tables... the editor is opened by double clicking on a table.
When I close the editor programatically with
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().hideView( MyEditor.this );

everything works fine, but as soon as I focus any of the editor widgets and then close the editor I get the following error after clicking ANYWHERE in the browser:
Error: TypeError: ObjectManager.getEntry(...) is undefined

  Stack: rwt.remote.RemoteObjectFactory._initRemoteObject@http://fis-ws-win001:10080/rwt-resources/rap-client.js:70570:19
rwt.remote.RemoteObjectFactory._getRemoteObject@http://fis-ws-win001:10080/rwt-resources/rap-client.js:70563:7
rwt.remote.RemoteObjectFactory.getRemoteObject@http://fis-ws-win001:10080/rwt-resources/rap-client.js:70553:12
.members.getRemoteObject@http://fis-ws-win001:10080/rwt-resources/rap-client.js:69273:14
.statics.focusLost@http://fis-ws-win001:10080/rwt-resources/rap-client.js:44209:28
.members._dispatchEvent@http://fis-ws-win001:10080/rwt-resources/rap-client.js:4513:13
.members.dispatchEvent@http://fis-ws-win001:10080/rwt-resources/rap-client.js:4454:7
.members._applyFocusedChild@http://fis-ws-win001:10080/rwt-resources/rap-client.js:14612:11
anonymous@http://fis-ws-win001:10080/rwt-resources/rap-client.js line 2795 > Function:1:697
rwt.event.EventHandler._onmouseevent_post@http://fis-ws-win001:10080/rwt-resources/rap-client.js:16184:9
rwt.event.EventHandler._processMouseEvent<.default@http://fis-ws-win001:10080/rwt-resources/rap-client.js:16148:7
rwt.event.EventHandler._onmouseevent@http://fis-ws-win001:10080/rwt-resources/rap-client.js:16078:9
.statics.bind/wrap@http://fis-ws-win001:10080/rwt-resources/rap-client.js:4034:21

  Debug: on


This is totally strange and I have no idea where this is coming from.
Any ideas?

Thanks a lot in advance
~Ingo
Re: Client error when closing an editor. [message #1726744 is a reply to message #1726735] Wed, 16 March 2016 06:37 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,
which RAP version are you using? Is it reproducible with RAP 3.1M5? If
yes, please file a bugzilla with a snippet to reproduce the issue.
Thanks,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Client error when closing an editor. [message #1726762 is a reply to message #1726744] Wed, 16 March 2016 09:54 Go to previous messageGo to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Hi,

we migrated now to 3.1M5. This took a while as we have many custom widgets...
Anyway, now it works, so problem solved Smile

Thanks,
~Ingo
Re: Client error when closing an editor. [message #1726763 is a reply to message #1726762] Wed, 16 March 2016 10:02 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Ingo,
out of curiosity... did you use RAP 3.0.1(a) before? There was a
regression introduced there related to disposed widgets. This regression
is fixed in RAP 3.0.2.
Regards,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:[WebSocket] Implementing a WebSocket Endpoint
Next Topic:Events lost focus and get focus are fired two times
Goto Forum:
  


Current Time: Tue Mar 19 07:33:57 GMT 2024

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

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

Back to the top