Bug 23958 - NPE in compare with patch
Summary: NPE in compare with patch
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-23 05:01 EDT by Dani Megert CLA
Modified: 2003-02-19 11:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2002-09-23 05:01:02 EDT
Build I20020919

1. Close a project
2. Compare With -> Patch... (on any folder or project)
3. Note: the closed project appears in the dialog. Selection it results in:

!ENTRY org.eclipse.ui 4 4 Sep 20, 2002 17:24:47.969
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Sep 20, 2002 17:24:47.969
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at 
	at
org.eclipse.compare.internal.patch.InputPatchPage$5.selectionChanged(InputPatchPage.java:349)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java(Compiled
Code))
	at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1155)
	at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:544)
	at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(CheckboxTreeViewer.java:233)
	at
org.eclipse.jface.viewers.StructuredViewer$1.widgetSelected(StructuredViewer.java:568)
	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:173)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java(Compiled
Code))
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java(Compiled
Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code))
	at org.eclipse.jface.window.Window.open(Window.java:542)
	at
org.eclipse.compare.internal.patch.CompareWithPatchAction.run(CompareWithPatchAction.java:65)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 1 Andre Weinand CLA 2003-02-19 11:47:14 EST
fix released for I20030220