[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] AJDT 2.1.3 packaging formats differ?

Installing AJDT by unzipping it into the dropins directory has never
worked.  If you want to install from a zip, you need to download it
first (obviously) and then point the p2 installer to that zip file.

As described at http://www.eclipse.org/ajdt/downloads/
"To install from a zip file, download the zip and point your p2
installer to that file. Then proceed as if it were a normal update
site. Do not unzip the update site into the dropins directory."

On Thu, Nov 3, 2011 at 7:36 PM, Kristof Jozsa <kristof.jozsa@xxxxxxxxx> wrote:
> Hi,
>
> I'm trying to install (and possibly fix) the Arch Linux package for
> AJDT and appearently have discovered something: it seems that
> installing AJDT using the dropins directory method with the
> ajdt_2.1.3_for_eclipse_3.7.zip file is not 100% compatible with
> installing AJDT using the update site url for eclipse 3.7. Using the
> first method, the Classpath Variables preference page can not be
> opened (see exception below), while no such problem exists when AJDT
> was installed from the update site.
>
> How can these two releases behave differently?
>
> thanks,
> K
>
> ps. here is the section from my workspace log about the error:
>
> !SESSION 2011-11-03 17:19:18.667 -----------------------------------------------
> eclipse.buildId=M20110909-1335
> java.version=1.7.0
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Command-line arguments:  -os linux -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.equinox.registry 4 1 2011-11-03 17:19:54.342
> !MESSAGE Unable to create the selected preference page.
> !STACK 0
> org.eclipse.core.runtime.AssertionFailedException: null argument:
>        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
>        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
>        at org.eclipse.core.runtime.Path.initialize(Path.java:577)
>        at org.eclipse.core.runtime.Path.<init>(Path.java:163)
>        at org.eclipse.ajdt.internal.core.AspectJRTInitializer.initialize(AspectJRTInitializer.java:38)
>        at org.eclipse.jdt.core.JavaCore.getClasspathVariable(JavaCore.java:2921)
>        at org.eclipse.jdt.internal.ui.wizards.buildpaths.VariableBlock.refresh(VariableBlock.java:409)
>        at org.eclipse.jdt.internal.ui.wizards.buildpaths.VariableBlock.<init>(VariableBlock.java:111)
>        at org.eclipse.jdt.internal.ui.preferences.ClasspathVariablesPreferencePage.<init>(ClasspathVariablesPreferencePage.java:50)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>        at java.lang.Class.newInstance0(Class.java:372)
>        at java.lang.Class.newInstance(Class.java:325)
>        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
>        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>        at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)
>        at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:47)
>        at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1339)
>        at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:376)
>        at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1230)
>        at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:674)
>        at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)
>        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>        at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)
>        at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>        at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)
>        at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226)
>        at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251)
>        at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262)
>        at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
>        at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433)
>        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
>        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
>        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
>        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>        at org.eclipse.jface.window.Window.open(Window.java:801)
>        at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
>        at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54)
>        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
>        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
>        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
>        at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
>        at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
>        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.Widget.sendEvent(Widget.java:1258)
>        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
>        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
>        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
>        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
>        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
>        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
>        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
>        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>        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:344)
>        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:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:601)
>        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>        at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>