Bug 568746 - E4 looses application after returning from Dialog
Summary: E4 looses application after returning from Dialog
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.18   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-12 05:24 EST by Wim Jongman CLA
Modified: 2020-11-12 05:24 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Jongman CLA 2020-11-12 05:24:28 EST
I am opening a wizard from an E3 plugin that then opens a handler in an E4 plugin. During the processing of the dialog, the windows is somehow detached from the model. 

As can be seen below, the E3 part of the stack opened a wizard dialog which I believe causes the window the be disconnected somehow.


java.lang.IllegalStateException:
 Application does not have an active window

HandlerServiceHandler.execute(HandlerServiceHandler.java:170)
Command.executeWithChecks(Command.java:488)
ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:195)
AbstractOpenMemberHandler.open(AbstractOpenMemberHandler.java:87)

## E3 Part of the stack
OpenEditor.showSource(OpenEditor.java:77)
OpenEditor.openEditor(OpenEditor.java:92)
OpenEditor.processSolution(OpenEditor.java:57)
OpenEditor.run(OpenEditor.java:40)
DoubleClickProcessor.openEditor(DoubleClickProcessor.java:148)
NewObjectWizard.openEditor(NewObjectWizard.java:232)