|
Re: getting error: Unable to create this part due to an internal error. Reason f
|
Robert Blackburn
|
Nov 11, 2006 04:43 PST
|
Hi Mark,
I was actually able to get around this last night by disabling the
CFEclipse plugin. I don't know why, but it seemed that when I ran the
development version (the 1.3 DEV branch) via "Ran As" > "Eclipse
Application" that it seemed to get crossed with the normal CFEclipse
plugin I had installed.
Perhaps this is a documented thing which I just missed and I am going
about running the plugin incorrectly? Maybe I should install a fresh
separate copy of Eclipse to do my CFEclipse work off of?
In any case, by simply disabling the CFEclipse plugin I was able to
run everything fine for now.
Thanks
On 11/10/06, Mark Drew <mark.-@gmail.com> wrote:
| | Robert,
I shall have a look into this but you definitely shouldn't have any
com.rohanclan code going on.
I am in the process of rebuilding the update site and I have renamed
the old release 1.2 to use org.cfeclipse too...
Also, try running the 1.3 DEV branch?
Regards
Mark Drew
On 9 Nov 2006, at 04:34, Robert Blackburn wrote:
| | Hi Folks,
I've been working on implementing some of the suggested changes to the
CFUnit test wizard. This has been great, I have been getting a real
feel for how CFEclipse is architected, so I am quite hopeful that I
will at some point be able contribute some other things too.
But at the moment I'm getting an odd error whenever I open a CFM or
CFC file:
"Unable to create this part due to an internal error. Reason for the
failure: com.rohanclan.cfml.editors.ICFDocument"
I'm using the 1.3 branch from SVN, and I have included the stack
trace below.
The odd thing is this error seems to happen on line 73 of
CodeFoldingSetter.java were it refers to ICFDocument. But the import
at the top of that file states:
import org.cfeclipse.cfml.editors.ICFDocument;
So I don't know why it would still be referring to the
"com.rohanclan.cfml.editors" package. Perhaps I have some sort of
configuration or mapping messed up? Is anyone else seeing this?
Any help would be appreciated, thanks.
--------- stack trace ----------
java.lang.ClassCastException: com.rohanclan.cfml.editors.ICFDocument
at org.cfeclipse.cfml.editors.codefolding.CodeFoldingSetter.<init>
(CodeFoldingSetter.java:73)
at org.cfeclipse.cfml.editors.actions.RTrimAction.setActiveEditor
(RTrimAction.java:61)
at org.eclipse.ui.internal.EditorPluginAction.editorChanged
(EditorPluginAction.java:75)
at org.eclipse.ui.internal.EditorPluginAction.<init>
(EditorPluginAction.java:34)
at org.eclipse.ui.internal.ActionDescriptor.createAction
(ActionDescriptor.java:256)
at org.eclipse.ui.internal.ActionDescriptor.<init>
(ActionDescriptor.java:170)
at
org.eclipse.ui.internal.ViewerActionBuilder.createActionDescriptor
(ViewerActionBuilder.java:53)
at org.eclipse.ui.internal.PluginActionBuilder.readElement
(PluginActionBuilder.java:158)
at org.eclipse.ui.internal.ViewerActionBuilder.readElement
(ViewerActionBuilder.java:88)
at org.eclipse.ui.internal.registry.RegistryReader.readElements
(RegistryReader.java:138)
at
org.eclipse.ui.internal.registry.RegistryReader.readElementChildren
(RegistryReader.java:127)
at org.eclipse.ui.internal.PluginActionBuilder.readElement
(PluginActionBuilder.java:141)
at org.eclipse.ui.internal.ViewerActionBuilder.readElement
(ViewerActionBuilder.java:88)
at org.eclipse.ui.internal.registry.RegistryReader.readElements
(RegistryReader.java:138)
at org.eclipse.ui.internal.registry.RegistryReader.readExtension
(RegistryReader.java:149)
at org.eclipse.ui.internal.registry.RegistryReader.readRegistry
(RegistryReader.java:170)
at org.eclipse.ui.internal.PluginActionBuilder.readContributions
(PluginActionBuilder.java:112)
at
org.eclipse.ui.internal.ViewerActionBuilder.readViewerContributions
(ViewerActionBuilder.java:106)
at org.eclipse.ui.internal.PopupMenuExtender.readStaticActionsFor
(PopupMenuExtender.java:373)
at org.eclipse.ui.internal.PopupMenuExtender.<init>
(PopupMenuExtender.java:125)
at org.eclipse.ui.internal.PartSite.registerContextMenu
(PartSite.java:114)
at org.eclipse.ui.internal.EditorSite.registerContextMenu
(EditorSite.java:151)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl
(AbstractTextEditor.java:2634)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl
(StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartContro
l(AbstractDecoratedTextEditor.java:367)
--
Rob Blackburn
http://www.rbdev.net
|
|
--
Rob Blackburn
http://www.rbdev.net
|
|
 |
|