Community
Participate
Working Groups
I got the following NPE in my target on the latest code from 20021113. I didn't notice the NPE written to my console immediately, but I believe it happened when I was experimenting with changing the ant build file location on the Main tab and then switching to the Targets tab to see if the targets updated. !SESSION Nov 13, 2002 11:57:05.282 --------------------------------------------- java.version=1.3.1_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -dev bin,bin -data /home/jburns/tmp/eclipse -os linux -ws gtk -arch x86 !ENTRY org.eclipse.ui 4 4 Nov 13, 2002 11:57:05.283 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 Nov 13, 2002 11:57:05.302 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:431) at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:410) at org.eclipse.jface.viewers.StructuredViewer$4.run(StructuredViewer.java:744) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:684) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:742) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:704) at org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:377) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:232) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:871) at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntTargetsTab.initializeFrom(AntTargetsTab.java:421) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.handleTabSelected(LaunchConfigurationDialog.java:2171) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog$7.widgetSelected(LaunchConfigurationDialog.java:1099) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:839) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1464) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1284) at org.eclipse.jface.window.Window.runEventLoop(Window.java:561) at org.eclipse.jface.window.Window.open(Window.java:541) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.openDialogOnSelection(LaunchConfigurationDialog.java:707) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.open(LaunchConfigurationDialog.java:643) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:324) at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:69) at org.eclipse.jface.action.Action.runWithEvent(Action.java:769) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:362) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:353) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:48) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:839) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1464) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1284) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1419) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1402) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:831) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
Fixed in AntTargetsTab and AntTargetContentProvider. Please verify.
Verified.