1 Reply Latest reply on Feb 15, 2006 5:30 AM by Koen Aers

    Eclipse JBossIDE and AOP problem/bug

    daniel eyassu Newbie

      I am using Eclipse 3.1.2, JDK 1.4.2 and JBoss AOP Tool 1.1.0. When I try to apply an AOP interceptor to a java method I get an error in the error log, see below


      !ENTRY org.eclipse.ui 4 4 2006-02-14 13:22:31.740
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2006-02-14 13:22:31.740
      !MESSAGE Failed to execute runnable (java.lang.NullPointerException)
      !STACK 0
      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
      at org.eclipse.swt.SWT.error(SWT.java:2942)
      at org.eclipse.swt.SWT.error(SWT.java:2865)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3102)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2761)
      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.NullPointerException
      at org.jboss.ide.eclipse.jdt.aop.core.model.ModelInitAndUpdate.updateModel(ModelInitAndUpdate.java:465)
      at org.jboss.ide.eclipse.jdt.aop.core.model.AopModel.updateModel(AopModel.java:534)
      at org.jboss.ide.eclipse.jdt.aop.core.AopCorePlugin.updateModel(AopCorePlugin.java:500)
      at org.jboss.ide.eclipse.jdt.aop.ui.DescriptorChangeListener$2.run(DescriptorChangeListener.java:133)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      ... 18 more