[ 
https://issues.apache.org/jira/browse/KARAF-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895895#comment-13895895
 ] 

Ghislain Nadeau commented on KARAF-2406:
----------------------------------------

Oups, finally, it fixed the original problem, but then i get this when trying 
to open the OSGI Framework Run Configuration window

org.eclipse.core.runtime.CoreException: Target platform is not set from Karaf 
project !
        at 
org.apache.karaf.eik.ui.KarafLaunchConfigurationInitializer.loadKarafPlatform(KarafLaunchConfigurationInitializer.java:237)
        at 
org.apache.karaf.eik.ui.KarafLaunchConfigurationInitializer.initialize(KarafLaunchConfigurationInitializer.java:91)
        at 
org.eclipse.pde.ui.launcher.OSGiLauncherTabGroup.setDefaults(OSGiLauncherTabGroup.java:53)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.setDefaults(LaunchConfigurationTabGroupWrapper.java:237)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:79)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:105)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:108)
        at 
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
        at org.eclipse.jface.window.Window.open(Window.java:802)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1134)
        at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:604)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at 
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:612)
        at 
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:546)
        at 
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
        at 
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        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:354)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)


> Unable to enable Karaf perspective in EIK
> -----------------------------------------
>
>                 Key: KARAF-2406
>                 URL: https://issues.apache.org/jira/browse/KARAF-2406
>             Project: Karaf
>          Issue Type: Bug
>          Components: eik-core
>    Affects Versions: eik-0.9.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: eik-0.10.0
>
>
> I tried to configure my eclipse kepler environment to use eik. I followed the 
> explanations in EIK installation guide. I am able to set the osgi framework 
> to "Apache Karaf on Equinox" and there is an Apache Karaf Persective indeed 
> but I cannot activate it, nothing happens.
>  
> The wizard to create a new karaf project throws an exception:
>  
> The selected wizard could not be started.
> Plug-in org.apache.karaf.eik.ui was unable to load class 
> org.apache.karaf.eik.ui.wizards.NewKarafProjectWizard.
> org.apache.karaf.eik.ui.wizards.NewKarafProjectWizard cannot be found by 
> org.apache.karaf.eik.ui_0.9.0



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to