Howdy, Folks!
I’m encountering the following issue when trying to upgrade Aptana from CFEclipse 1.3.2.beta to 1.3.5.201002010103.
I used the internal “Help > Software Updates > Find and Install” functionality to perform the upgrade.
Here’s the error message that I’m seeing:
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.
And the details of the error message are:
java.lang.NoClassDefFoundError: org/eclipse/ui/IPersistableEditor
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:911)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:549)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:679)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:434)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:122)
at com.aptana.ide.rcp.Application.run(Application.java:57)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.ClassNotFoundException: org.eclipse.ui.IPersistableEditor
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 78 more
Can someone please provide some assistance here? Thank You!
Christian N. Abad - President
Accessible Computing, Inc.
1210 McLaughlin Drive
Charlotte, NC 28212
http://www.AccessibleComputing.com
704.900.1825 (Direct Line)
704.248.6682 (Fax)
Folks:
Sorry for the double / triple (?) posts; there was a couple of hours pause after I posted the first message and when I resent it, it posted twice.
D’oh!
~Christian
At this point, I can just remove the IPersistable stuff-- I added it
in an attempt to get code folding to persist, but it looks like we'll
need to take another route.
Eventually tho it'll probably get put back in there, when we need the
stuff it's actually designed for, so it would be interesting to see if
this is just a version mismatch, or if Aptana doesn't include these
libraries.
I'll holler when I've removed it and pushed another preview build, and
you can see if that gets you past this.
|DeN
--
Whenever you are angry, be assured that it is not only a present evil,
but that you have increased a habit.
Epictetus
Thanks for the response. The version information is:
Aptana Scripting:
Version: 1.2.7.024747
Eclipse RCP:
Version: 3.2.2.v20070330_322
Eclipse RCP:
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
I have emailed you the full configuration details to your email address.
Please let me know if you need anything else.
Thanks, Denny!
~Christian
-----Original Message-----
From: cfeclip...@googlegroups.com
[mailto:cfeclip...@googlegroups.com] On Behalf Of denstar
Sent: Friday, February 05, 2010 3:26 PM
To: cfeclip...@googlegroups.com
Subject: Re: [cfeclipse-users] Issue After Upgrading Aptana from CFEclipse
1.3.2.beta to 1.3.5.201002010103
|DeN
--
Ok, well, the heart of the problem here is that the Aptana version
you're using is based on Eclipse 3.2 it looks like, and we're using
APIs from 3.3, maybe even 3.4.
I've put the build without the IPersistable up on the preview site,
this might let you get further, but ultimately, you'll want to try
move to a newer Aptana version, preferably one that uses 3.4 as it's
Eclipse version. Looks like they just came out with Aptana 2.0? I
bet that has it.
It's just been luck that CFE has [mostly] worked with 3.2 up until
this point -- we officially started targeting 3.3 and above over a
year ago, and now we're targeting 3.4. (3.6 is already at like the
5th milestone I think, and I don't like being /too/ far behind).
There have been just *tons* of improvements to the core of Eclipse
since 3.2-- I think it's probably worth it to upgrade, for folks that
have to pay to upgrade stuff. The experience just keeps getting
better.
I'm curious to know if this makes things basically work for you or
not, tho I'm not overly optimistic. :-/
:Den
--
A free life cannot acquire many possessions, because this is not easy
to do without servility to mobs or monarchs.
Epicurus
I finally installed a fresh copy of the latest version of Aptana
(2.0.3.1265134283) and it works perfectly with the latest stable and nightly
build of CFEclipse, as it should. :-)
I found that it was easier to perform a clean install rather than trying to
upgrade everything...
Thanks for the help - I greatly appreciate it!
Sincerely,
~Christian
-----Original Message-----
From: cfeclip...@googlegroups.com
[mailto:cfeclip...@googlegroups.com] On Behalf Of denstar
Sent: Friday, February 05, 2010 5:28 PM
To: cfeclip...@googlegroups.com
Subject: Re: [cfeclipse-users] Issue After Upgrading Aptana from CFEclipse
1.3.2.beta to 1.3.5.201002010103
Hi Christian!
:Den
--