maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kuleshov (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNGECLIPSE-116) 0.0.7 plugin will not load. Embedder related exception
Date Tue, 02 May 2006 05:18:42 GMT
    [ http://jira.codehaus.org/browse/MNGECLIPSE-116?page=comments#action_64528 ] 

Eugene Kuleshov commented on MNGECLIPSE-116:
--------------------------------------------

Not sure what it is, but you should know better what mya cause this error (from your own stack):


java.lang.IllegalArgumentException: When not aligning with a user install you must specify
a local repository location using the setLocalRepositoryDirectory( File ) method.

This happesn when Maven itself can't initialize local repository. So, what the hack do you
have?

> 0.0.7 plugin will not load. Embedder related exception
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-116
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-116
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>     Versions: 0.0.7
>  Environment: WinXP, Eclipse 3.1.2, Maven2.0.4
>     Reporter: Cliff Resnick
>     Assignee: Eugene Kuleshov
>      Fix For: 0.0.7

>
>
> I upgraded from 0.0.5 to 0.0.7 and the plugin fails to load.
> Below is output from the workspace log file:
> !MESSAGE An error occurred while automatically activating bundle org.maven.ide.eclipse
(443).
> !STACK 0
> org.osgi.framework.BundleException: Exception in org.maven.ide.eclipse.Maven2Plugin.start()
of bundle org.maven.ide.eclipse.
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:264)
> 	at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
> 	at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
> 	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
> 	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> 	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236)
> 	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:46)
> 	at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1211)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:238)
> 	at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1114)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)
> 	at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)
> 	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
> 	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
> 	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
> 	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
> 	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1453)
> 	at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:925)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:394)
> 	at org.eclipse.jface.preference.PreferenceDialog$3.run(PreferenceDialog.java:342)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> 	at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:338)
> 	at org.eclipse.jface.window.Window.create(Window.java:418)
> 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
> 	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.createDialogOn(WorkbenchPreferenceDialog.java:84)
> 	at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:83)
> 	at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
> 	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:324)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> 	at org.eclipse.core.launcher.Main.run(Main.java:973)
> 	at org.eclipse.core.launcher.Main.main(Main.java:948)
> Caused by: java.lang.IllegalArgumentException: When not aligning with a user install
you must specify a local repository location using the setLocalRepositoryDirectory( File )
method.
> 	at org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:699)
> 	at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628)
> 	at org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:267)
> 	at org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder(Maven2Plugin.java:155)
> 	at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:165)
> 	at org.maven.ide.eclipse.Maven2Plugin.start(Maven2Plugin.java:112)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
> 	... 66 more
> Root exception:
> java.lang.IllegalArgumentException: When not aligning with a user install you must specify
a local repository location using the setLocalRepositoryDirectory( File ) method.
> 	at org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:699)
> 	at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628)
> 	at org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:267)
> 	at org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder(Maven2Plugin.java:155)
> 	at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:165)
> 	at org.maven.ide.eclipse.Maven2Plugin.start(Maven2Plugin.java:112)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:264)
> 	at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
> 	at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
> 	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
> 	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> 	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236)
> 	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:46)
> 	at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1211)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:238)
> 	at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1114)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)
> 	at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)
> 	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
> 	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
> 	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
> 	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
> 	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1453)
> 	at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:925)
> 	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:394)
> 	at org.eclipse.jface.preference.PreferenceDialog$3.run(PreferenceDialog.java:342)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> 	at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:338)
> 	at org.eclipse.jface.window.Window.create(Window.java:418)
> 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
> 	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.createDialogOn(WorkbenchPreferenceDialog.java:84)
> 	at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:83)
> 	at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
> 	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:324)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> 	at org.eclipse.core.launcher.Main.run(Main.java:973)
> 	at org.eclipse.core.launcher.Main.main(Main.java:948)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message