What exact Oxygen version are you using?
I am using the lastest version of the oxygen xml editor ( 13.1 )
Can you perform an async exec on the task which opens the editor like Display.getDefault().asyncExec(runnable)?
I am already performing an Display.getDefault().syncExec(new Runnable() {... for the opening process of the editor.
From what context are you trying to open an XML editor?
We have our own custom IEditorInput for our former used xml editors.
Our implementation of the IEditorInput interface receives a wrapper class through constructor injection which contains the actual xml file ,the css stylesheet and some specific CMS parameters.
But I am wondering how your oxygen xml editor will receive the file to actually show it in the editor.
In a former forum post you said that your xml editor accepts any kind of IEditorInput, but how is it possible when the IEditorInput interface has not any methods which gives you information about the actual content which is supposed to be shown in the EditorPart.
Also the eclipse standart NullEditorInput class throws exactly the same NullPointerException which I postet before.
So what specific needs does your xml editor have concerning the IEditorInput?
Thanks in advance.