Re: Generating getters/setters broken

From: Greg Hulands (ghuland..ramedphotographics.com)
Date: Sat Oct 15 2005 - 00:12:43 EDT

  • Next message: Mike Schrag: "binding checks and refactoring"

    Filed as WOL-193

    On 15/10/2005, at 1:50 PM, Mike Schrag wrote:

    > Yep .. Fails for me also.
    >
    > On Oct 14, 2005, at 11:44 PM, Greg Hulands wrote:
    >
    >
    >> I updated to 2.0.73 and generating getters and setters seems to
    >> have broken from 2.0.71.
    >>
    >> The first exception is an "Unhandled Loop Exception" that doesn't
    >> give a stack trace.
    >>
    >> Error 2005-10-15 13:42:05.870 Unhandled event loop exception
    >>
    >> Then a NPE.
    >>
    >> If someone else can confirm this I will file a bug in Jira.
    >>
    >> Greg
    >>
    >> Java.lang.NullPointerException
    >> at org.eclipse.jdt.ui.actions.AddGetterSetterAction.run
    >> (AddGetterSetterAction.java:539)
    >> at org.eclipse.jdt.ui.actions.AddGetterSetterAction.generate
    >> (AddGetterSetterAction.java:494)
    >> at org.eclipse.jdt.ui.actions.AddGetterSetterAction.run
    >> (AddGetterSetterAction.java:311)
    >> at org.eclipse.jdt.ui.actions.AddGetterSetterAction.run
    >> (AddGetterSetterAction.java:525)
    >> at
    >> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
    >> (SelectionDispatchAction.java:226)
    >> at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run
    >> (SelectionDispatchAction.java:198)
    >> 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:1380)
    >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404)
    >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389)
    >> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:
    >> 1237)
    >> at org.eclipse.swt.widgets.Display.runDeferredEvents
    >> (Display.java:3060)
    >> at org.eclipse.swt.widgets.Display.readAndDispatch
    >> (Display.java:2712)
    >> 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:585)
    >> 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 archive was generated by hypermail 2.0.0 : Sat Oct 15 2005 - 00:12:46 EDT