Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] AJDT available for Eclipse 3.4

The latest version of AJDT on the update site:

http://download.eclipse.org/tools/ajdt/34/dev/update

works on Eclipse 3.4M5

Andy

On 05/03/2008, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
> The problem is that I had accidentally not updated to M5 and was still
>  on a 3.4m4 build when doing the initial version of AJDT1.6.0.  I
>  mentioned that AJDT is tightly coupled to some eclipse internals -
>  they had changed some editor related API between M4 and M5.  I have
>  just committed the changes into the AJDT1.6 branch that solve your
>  problem with opening an editor.  This has meant I also need to update
>  the cruisecontrol build system to 3.4M5 as well.  I would expect it
>  all to go through shortly and then a working 3.4m5 driver to be
>  available tomorrow.
>
>  Andy.
>
>  On 05/03/2008, gabriele.garuglieri@xxxxxxxxxx
>
> <gabriele.garuglieri@xxxxxxxxxx> wrote:
>  >
>
> > Hi all,
>  > first thank you for your kind answers, second Andy forgive me i didn't meant
>  > to be offensive to anybody with the dead horse story, it was just a joke
>  > (anyway i got the answer i needed ;)
>  >
>  > In our group we actively use Eclipse for Java development and i've always
>  > been a sort of advanced patrol looking for new feature or tools that could
>  > help our developement, that's the reason why i'm often on the bleeding edge.
>  > As an exchange i've always tried to cooperate with bugs an small patches,
>  > time permitting.
>  > Unfortunately now my job has moved to a position where i have really few
>  > time left for development, the only thing i really like, so i' ll try my
>  > best to give you the info you need, but often i'm swallowed by activities
>  > that don't leave me a moment to write a single line of code...
>  >
>  > Now back from the complains, i'm using Eclipse 3.4M5 Build id:
>  > I20080207-1530 with AJDT Version: 1.6.0.200802291703 (installed with update
>  > manager)  plus a bunch of other plugins with java 1.6.0_03-b05 on Win XP sp2
>  > with all the latest security fixes installed.
>  > 3.4 is already stable enough and i've already switched to without problems
>  > it since M4, so moving back my workspaces to an older release is not an
>  > option for me.
>  > For the rest, i tried using some old code i got from internet, and i got any
>  > sort of problems. Possibly this could be due to code problems but i couldn't
>  > try to understand it because aj editor refuses to start. This happens also
>  > using one of the examples installed with ajdt where code should be clean of
>  > problems. For the moment i want to concentrate only on this problem, because
>  > the rest of problems could just be the result of bad coding, but  to
>  > understand it i need at least a working editor.
>  >
>  > Left alone the fact that editing a .java file that contains an aspect with
>  > java editor drives it completely crazy, when i try to edit an aj file or a
>  > .java aspect file with aj editor i get the following:
>  > Unable to create editor ID
>  > org.eclipse.ajdt.internal.ui.editor.CompilationUnitEditor:
>  > 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.
>  >
>  > java.lang.NullPointerException
>  >         at
>  > org.eclipse.jdt.ui.text.JavaTextTools.<init>(JavaTextTools.java:157)
>  >         at
>  > org.eclipse.jdt.ui.text.JavaTextTools.<init>(JavaTextTools.java:103)
>  >         at
>  > org.eclipse.ajdt.internal.ui.editor.AspectJTextTools.<init>(AspectJTextTools.java:32)
>  >         at
>  > org.eclipse.ajdt.internal.ui.editor.AspectJEditor.initializeEditor(AspectJEditor.java:498)
>  >         at
>  > org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.<init>(AbstractDecoratedTextEditor.java:297)
>  >         at
>  > org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.<init>(JavaEditor.java:234)
>  >         at
>  > org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.<init>(CompilationUnitEditor.java:1020)
>  >         at
>  > org.eclipse.ajdt.internal.ui.editor.AspectJEditor.<init>(AspectJEditor.java:103)
>  >         at
>  > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  > Method)
>  >         at
>  > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>  >         at
>  > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>  >         at
>  > java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>  >         at java.lang.Class.newInstance0(Class.java:355)
>  >         at java.lang.Class.newInstance(Class.java:308)
>  >         at
>  > org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
>  >         at
>  > org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
>  >         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.createExtension(WorkbenchPlugin.java:236)
>  >         at
>  > org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:233)
>  >         at
>  > org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:846)
>  >         at
>  > org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
>  >         at
>  > org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
>  >         at
>  > org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
>  >         at
>  > org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
>  >         at
>  > org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
>  >         at
>  > org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:331)
>  >         at
>  > org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:194)
>  >         at
>  > org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:222)
>  >         at
>  > org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:203)
>  >         at
>  > org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268)
>  >         at
>  > org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244)
>  >         at
>  > org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:343)
>  >         at
>  > org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:607)
>  >         at
>  > org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
>  >         at
>  > org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>  >         at
>  > org.eclipse.core.runtime.Platform.run(Platform.java:857)
>  >         at
>  > org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
>  >         at
>  > org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
>  >         at
>  > org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
>  >         at
>  > org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
>  >         at
>  > org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
>  >         at
>  > org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
>  >         at
>  > org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
>  >         at
>  > org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
>  >         at
>  > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>  >         at
>  > org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:982)
>  >         at
>  > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3760)
>  >         at
>  > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3371)
>  >         at
>  > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2392)
>  >         at
>  > org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2356)
>  >         at
>  > org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2222)
>  >         at
>  > org.eclipse.ui.internal.Workbench$4.run(Workbench.java:474)
>  >         at
>  > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
>  >         at
>  > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:469)
>  >         at
>  > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>  >         at
>  > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>  >         at
>  > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
>  >         at
>  > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>  >         at
>  > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>  >         at
>  > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
>  >         at
>  > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
>  >         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:597)
>  >         at
>  > org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:564)
>  >         at
>  > org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>  >         at
>  > org.eclipse.equinox.launcher.Main.run(Main.java:1251)
>  >         at
>  > org.eclipse.equinox.launcher.Main.main(Main.java:1227)
>  >
>  > Do you think this is worth a bug or is just a problem with my installation?
>  >
>  > Gabriele
>
> > _______________________________________________
>  >  ajdt-dev mailing list
>  >  ajdt-dev@xxxxxxxxxxx
>  >  https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>  >
>  >
>


Back to the top