Welcome Guest!
 cfeclipse
 Previous Message All Messages Next Message 
Re: getting error: Unable to create this part due to an internal error. Reason f  Mark Drew
 Nov 10, 2006 09:51 PST 

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
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.