Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » editor.getEditorInput()
editor.getEditorInput() [message #1774766] Thu, 19 October 2017 13:40 Go to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Hi,

Could anyone help me about the attached error?

The line of the code that caused the error is:
IEditorInput input = editor.getEditorInput();

The WorkbenchUtil.java file:
https://github.com/jesusc/anatlyzer/blob/master/plugins/anatlyzer.atl.editor/src/anatlyzer/ui/util/WorkbenchUtil.java
  • Attachment: error.rtf
    (Size: 10.71KB, Downloaded 240 times)


Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Thu, 19 October 2017 13:42]

Report message to a moderator

Re: editor.getEditorInput() [message #1774788 is a reply to message #1774766] Thu, 19 October 2017 15:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is what debuggers are for. I imagine a page with no open editors won't have an active editor either.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: editor.getEditorInput() [message #1775167 is a reply to message #1774788] Wed, 25 October 2017 15:30 Go to previous message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
My program is run well via eol configuration. but via eol standalone, it has the error. I debug it but I cannot detect what is the difference between those.
I provided the minimal example and put it in https://www.eclipse.org/forums/index.php?t=msg&th=1088595&goto=1775030&#msg_1775030, but I cannot get the answer.


Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Wed, 25 October 2017 15:36]

Report message to a moderator

Previous Topic:[Edapt] Extend migration engine
Next Topic:[EMF Forms] Issue with serialisation code in Generic Editor
Goto Forum:
  


Current Time: Tue Apr 23 09:36:52 GMT 2024

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

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

Back to the top