Author Topic: Should slickedit work in a MyEclipse 8.6 Ubuntu x64 installation?  (Read 6984 times)

rcoe67

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
MyEclipse has a custom software configuration centre, which uses their Pulse package manager, instead of the standard eclipse plugin manager.  I used it to find a vim editor plugin and SlickEdit 3.51 was presented to me, so I installed it.  However, on trying to open any file associated with it, I get this exception:

Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.slickedit.eclipse.plugin (1008).
   at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
   at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
   at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
   at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
   at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
   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:267)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
   at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
   at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:845)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
   at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
   at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:361)
   at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
   at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
   at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
   at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:373)
   at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:526)
   at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
   at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.core.runtime.Platform.run(Platform.java:888)
   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.fireOpen(StructuredViewer.java:840)
   at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
   at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
   at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
   at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
   at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.osgi.framework.BundleException: Exception in com.slickedit.eclipse.SlickEditPlugin.start() of bundle com.slickedit.eclipse.plugin.
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
   at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
   at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
   at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
   ... 79 more
Caused by: java.lang.Exception: SlickEdit Core Cannot Start.
   at com.slickedit.eclipse.SlickEditPlugin.start(SlickEditPlugin.java:508)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
   ... 84 more

installation details:

** System properties:
OS=Linux
OS version=2.6.32
Java version=1.6.0_22


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100806


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.6
Build id: 8.6-20100806

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Should slickedit work in a MyEclipse 8.6 Ubuntu x64 installation?
« Reply #1 on: November 12, 2010, 09:38:11 PM »
I'm assuming the installation went fine?  I think it should work, unless you are on Ubuntu 10.04.  One thing you have to make sure of is that you are running a 32 bit Java and 32 bit MyEclipse, because the SlickEdit Core libraries are 32 bit :/.

If all that checks out, can you run MyEclipse, passing it "-vstrace" on the command line?  Then open a file and reproduce your error.  There will be a bunch of debug output on the command line where you launched MyEclipse from, and if you copy/paste that here I can hopefully see why the plugin won't activate.

- Ryan

rcoe67

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
Re: Should slickedit work in a MyEclipse 8.6 Ubuntu x64 installation?
« Reply #2 on: November 13, 2010, 02:18:30 AM »
Nope, I'm using 64-bit Java on Ubuntu 10.04...guess that answers that. :)

Too bad, I was pretty excited about giving it a go.

Any chance 64-bit is in the cards?

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Should slickedit work in a MyEclipse 8.6 Ubuntu x64 installation?
« Reply #3 on: November 13, 2010, 03:56:14 AM »
Core 3.5.1 has compatibility issues with Ubuntu 10.04.  The version of SlickEdit that the plug-in was based off of (14.0.2) was incompatible with Ubuntu 10.04.  We are trying to work out these issues with the Core 3.6.0 beta.

As far as the 64 bit thing goes...here is a statement from our vp of dev. on this subject: http://community.slickedit.com/index.php?topic=6305.0 .  So basically we are hoping for the next major version of Core to be 64 bit.  Until this happens, to run SlickEdit Core for Eclipse on a 64 bit platform you have to run 32 bit versions of Eclipse and Java :/.

- Ryan