Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 49263 - installation of AJDT-plugin fails on (a clean) eclipse 3.0 M6
Summary: installation of AJDT-plugin fails on (a clean) eclipse 3.0 M6
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.1.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 06:26 EST by Casier Koen CLA
Modified: 2004-04-20 10:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Casier Koen CLA 2003-12-22 06:26:57 EST
Failure scenario:
  - upgrade from eclipse 3.0 M3 to eclipse 3.0 M6
  - I installed eclipse 3.0 M6
  - I ran the eclipse 3.0 M6 (first run)
  - I installed the AJDT-plugin using the update-site
  --> Installation finished without error or exception
  --> restarted the eclipse workbench
  --<error> the plugin was not started 

Is this bug already known, or is a workaround known ??
Please send me, cause I'd like to switch to the newer eclipse version as soon 
as possible. But I cannot switch if I'm not sure AJDT will work, since I use 
aspectJ in my projects.
Comment 1 Juergen Heidak CLA 2003-12-28 16:09:24 EST
I'm getting this error too here is the content of the .log file:

!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Dez 28, 2003 21:51:12.254
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
        at
org.eclipse.ui.internal.registry.RegistryReader$1.compare(RegistryReader.java:103)
        at java.util.Arrays.mergeSort(Arrays.java:1251)
        at java.util.Arrays.mergeSort(Arrays.java:1259)
        at java.util.Arrays.sort(Arrays.java:1199)
        at java.util.Collections.sort(Collections.java:165)
        at
org.eclipse.ui.internal.registry.RegistryReader.orderExtensions(RegistryReader.java:107)
        at
org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:158)
        at
org.eclipse.ui.internal.registry.PerspectiveRegistryReader.readPerspectives(PerspectiveRegistryReader.java:55)
        at
org.eclipse.ui.internal.registry.PerspectiveRegistry.loadPredefined(PerspectiveRegistry.java:428)
        at
org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegistry.java:284)
        at
org.eclipse.ui.internal.WorkbenchPlugin.getPerspectiveRegistry(WorkbenchPlugin.java:264)
        at
org.eclipse.ui.internal.Workbench.getPerspectiveRegistry(Workbench.java:656)
        at org.eclipse.ui.actions.PerspectiveMenu.<init>(PerspectiveMenu.java:97)
        at
org.eclipse.ui.internal.ChangeToPerspectiveMenu.<init>(ChangeToPerspectiveMenu.java:36)
        at
org.eclipse.ui.actions.ContributionItemFactory$6.create(ContributionItemFactory.java:192)
        at
org.eclipse.ui.internal.PerspectiveContributionItem.<init>(PerspectiveContributionItem.java:49)
        at
org.eclipse.ui.internal.WorkbenchWindow.addShortcutBar(WorkbenchWindow.java:518)
        at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:415)
        at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1088)
        at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1135)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:875)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1459)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
        at java.lang.reflect.Method.invoke(Method.java:386)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
        at org.eclipse.core.launcher.Main.run(Main.java:742)
        at org.eclipse.core.launcher.Main.main(Main.java:581)

Comment 2 Luzius Meisser CLA 2004-04-13 10:41:19 EDT
Unfortunately, AJDT 1.1.4 works only with Eclipse 3M4 or earlier.
To work with Eclipse 3M8, AJDT 1.1.7 is required, which will be available soon.
Eclipse versions between 3M4 and 3M8 are not supported.
Comment 3 Adrian Colyer CLA 2004-04-20 10:35:10 EDT
AJDT 1.1.7 now works on M8.