Users,
I am using Eclipse V 3.4.2 with plug-ins Force.com IDE V.Summer '09
(16.0.0) and Subversion Client Adapter V 1.6.4.1
When in the SVN Repositories perspective I am attempting to open an Apex
class by right clicking and then 'open'. In doing so I get the following
error: "Could not open the editor: An exception was thrown during
initialization"
Any reason why this error is being thrown ? I am able to open the same
class in the force.com perspective just not the SVN repository
perspective.
The details of the error are below:
java.lang.ClassCastException:
org.tigris.subversion.subclipse.ui.editor.RemoteFileEditorInput cannot
be cast to org.eclipse.ui.IFileEditorInput
at
com.salesforce.ide.ui.internal.editor.BaseMultiPageEditorPart.getEditorI
nputFile(BaseMultiPageEditorPart.java:142)
at
com.salesforce.ide.ui.editors.internal.BaseComponentMultiPageEditorPart.
setInput(BaseComponentMultiPageEditorPart.java:110)
at
org.eclipse.ui.part.MultiPageEditorPart.init(MultiPageEditorPart.java:68
7)
at
com.salesforce.ide.ui.editors.internal.BaseComponentMultiPageEditorPart.
init(BaseComponentMultiPageEditorPart.java:102)
at
com.salesforce.ide.ui.editors.apex.ApexCodeMultiPageEditor.init(ApexCode
MultiPageEditor.java:53)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference
.java:643)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartRefe
rence.java:594)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:2
66)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPag
e.java:2820)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:
2729)
at
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668
)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652
)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635
)
at
org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction$1.run(Op
enRemoteFileAction.java:63)
at
org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(Repo
sitoryManager.java:375)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.jav
a:226)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.jav
a:235)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
232)
at
org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction.execute(
OpenRemoteFileAction.java:38)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
56)
at
org.tigris.subversion.subclipse.ui.repository.RepositoriesView.handleDou
bleClick(RepositoriesView.java:554)
at
org.tigris.subversion.subclipse.ui.repository.RepositoriesView.access$2(
RepositoriesView.java:544)
at
org.tigris.subversion.subclipse.ui.repository.RepositoriesView$12.double
Click(RepositoriesView.java:410)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:7
99)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredVie
wer.java:797)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(Abstract
TreeViewer.java:1419)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Struc
turedViewer.java:1173)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrate
gy.java:237)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
90)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2393643
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-09-11 18:13:28 CEST