Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » SOS Editor Error
SOS Editor Error [message #299855] Sun, 26 February 2006 20:59 Go to next message
Eclipse UserFriend
Originally posted by: hyoracle.126.com

“Unable to create this part due to an internal error. Reason for the
failure: The editor class could not be instantiated. This usually
indicates that the editor's class name was mistyped in plugin.xml.”

Why?
help.
Re: SOS Editor Error [message #299878 is a reply to message #299855] Mon, 27 February 2006 10:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

Look in the plugin.xml file and find the editor you are trying to
invoke. Make sure you fully qualified the class name such as
mycompany.product.ui.EditorControl. Make sure it is spelled correctly
and the case of all the letters is correct.

You can also use the plugin manifest editor to "browse" for the proper
class eliminating all the possible typing errors. Open the plugin.xml
file and go to the Extensions page and file the org.eclipse.ui.editors
area, expand it to find the one that is giving you problems and fix it
in there.

Also be sure the class extends the proper SWT/JFACE class. Make sure you
export the class on the runtime tab too.

hyEclipse wrote:
> �Unable to create this part due to an internal error. Reason for the
> failure: The editor class could not be instantiated. This usually
> indicates that the editor's class name was mistyped in plugin.xml.�
>
> Why?
> help.
>
Re: SOS Editor Error [message #299906 is a reply to message #299878] Mon, 27 February 2006 20:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hyoracle.126.com

I write two kinds of editors:
one is a editor derived by MultiPageEditorPart;success
another is a editor derived by GraphicalEditorWithPalatte;fail
But the first editor is success,second is fail.

why?
I don't know !
help.
Re: SOS Editor Error [message #299947 is a reply to message #299906] Tue, 28 February 2006 07:16 Go to previous message
Eclipse UserFriend
So what's in the error log ... Help>About Eclipse>Configuration
Details>View Error Log.

If you try to open an editor and it fails, that's usually where the
information goes.

Later,
PW
Previous Topic:Headless application needs programmatic access to workbench
Next Topic:extension point validation
Goto Forum:
  


Current Time: Tue Sep 16 18:47:31 EDT 2025

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

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

Back to the top