Author Topic: SlickEdit core won't start in Eclipse  (Read 6718 times)

kevjel

  • Community Member
  • Posts: 5
  • Hero Points: 0
SlickEdit core won't start in Eclipse
« on: September 29, 2009, 07:24:07 pm »
For a brief shining moment SlickEdit core did work in Eclipse.  Then I restarted Eclipse and I'm getting the "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."  Followed by the following error dump

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.slickedit.eclipse.plugin (689).
   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(Unknown Source)
   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.PartPane.setVisible(PartPane.java:313)
   at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
   at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
   at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
   at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
   at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
   at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
   at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
   at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
   at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
   at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
   at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
   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:2668)
   at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151)
   at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapter.java:136)
   at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter.java:87)
   at org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.java:81)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
   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(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:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
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)
   ... 77 more
Caused by: java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
   at com.slickedit.tagging.TagFileFilter.<clinit>(TagFileFilter.java:35)
   at com.slickedit.tagging.ProjectTagManager.<clinit>(ProjectTagManager.java:44)
   at com.slickedit.tagging.WorkSpaceTagManager.checkForUntaggedProjects(WorkSpaceTagManager.java:656)
   at com.slickedit.eclipse.SlickEditPlugin.onStart(SlickEditPlugin.java:548)
   at com.slickedit.eclipse.SlickEditPlugin.start(SlickEditPlugin.java:525)
   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)
   ... 82 more

I've been a SlickEdit user since 2000 and I've seen some neat things with Eclipse.  It would be great to get them to work together.  Can anyone help?

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: SlickEdit core won't start in Eclipse
« Reply #1 on: September 29, 2009, 07:33:19 pm »
We should move this post out of the beta thread, since the beta is over, but I think I see the problem.  Are you using a version of Java < 6? 1.5.x or 1.4.x?  If this is the case, try using Java 6 and let me know if the problem goes away.

- Ryan

kevjel

  • Community Member
  • Posts: 5
  • Hero Points: 0
Re: SlickEdit core won't start in Eclipse
« Reply #2 on: September 29, 2009, 10:30:51 pm »
I went from java 1.5.0_10 to 1.6.0_16 and the SlickEdit plugin works now.  Thanks, Ryan.

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: SlickEdit core won't start in Eclipse
« Reply #3 on: September 30, 2009, 03:13:59 am »
Good to know...thanks for the report.  This was unintentional...I'll have to see what we are going to do about this.

- Ryan