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 A is currently offline Banafsheh AFriend
Messages: 262
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 19 times)

[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: 29452
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.
Re: editor.getEditorInput() [message #1775167 is a reply to message #1774788] Wed, 25 October 2017 15:30 Go to previous message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
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.

[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: Mon Jul 16 20:07:13 GMT 2018

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

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

Back to the top