Bug 4877 - Null Pointer Exception catching up with Stream (1GII4FI)
Summary: Null Pointer Exception catching up with Stream (1GII4FI)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Kevin McGuire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:24 EDT by Tod Creasey CLA
Modified: 2002-03-22 15:14 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 Tod Creasey CLA 2001-10-11 14:24:39 EDT
I got a NullPointerException attempting to release to my TeamStream. I had a change that
would not show up in the Release Mode View. When I then did a Compare with Stream I got 
the following Exception.

I have saved my image - I was attempting to release WorkbenchPreferencePage at the time.

java.lang.NullPointerException
	at org.eclipse.vcm.internal.core.Handle.fetchContent(Handle.java:39)
	at org.eclipse.vcm.internal.ui.ResourceEditionNode$1.run(ResourceEditionNode.java:113)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:98)
	at org.eclipse.vcm.internal.ui.ResourceEditionNode.getContents(ResourceEditionNode.java:110)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer.setDocument(TextMergeViewer.java:1980)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer.updateContent(TextMergeViewer.java:2200)
	at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.inputChanged(ContentMergeViewer.java:690)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:234)
	at org.eclipse.compare.internal.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:165)
	at org.eclipse.vcm.internal.ui.VCMEditionSelectionDialog.feedInput(VCMEditionSelectionDialog.java:294)
	at org.eclipse.vcm.internal.ui.VCMEditionSelectionDialog.selectEdition(VCMEditionSelectionDialog.java:510)
	at org.eclipse.vcm.internal.ui.actions.CompareWithAction.runFileCompare(CompareWithAction.java:89)
	at org.eclipse.vcm.internal.ui.actions.CompareWithAction.runCompare(CompareWithAction.java:70)
	at org.eclipse.vcm.internal.ui.actions.CompareWithAction.run(CompareWithAction.java:53)
	at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:125)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.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.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:622)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:119)
	at org.eclipse.core.launcher.Main.run(Main.java:401)
	at org.eclipse.core.launcher.Main.main(Main.java:274)



NOTES:
Comment 1 DJ Houghton CLA 2001-10-23 23:42:47 EDT
PRODUCT VERSION: 0.9


Comment 2 Kevin McGuire CLA 2002-03-22 15:14:16 EST
old code, assumed fixed