Bug 234 - NPE in sync (1GJ4W10)
Summary: NPE in sync (1GJ4W10)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: James Moody CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 21:38 EDT by Nick Edgar CLA
Modified: 2002-03-22 11:04 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 Nick Edgar CLA 2001-10-10 21:38:39 EDT
Did a sync of Eclipse UI.  It came up in the catch up mode because there were incoming changes.
When I clicked on the icon for release mode, I got an internal error dialog, and the following in the .log:

Log: Mon Aug 27 16:18:37 EDT 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Mon Aug 27 16:18:37 EDT 2001
4 org.eclipse.ui 0 java.lang.NullPointerException
java.lang.NullPointerException
	at org.eclipse.vcm.internal.ui.sync.SyncView.setSyncMode(SyncView.java:213)
	at org.eclipse.vcm.internal.ui.sync.SyncView$SyncModeAction.run(SyncView.java:74)
	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:
NE (08/27/01 4:21:55 PM)
	Could not reproduce it.

NE (08/27/01 5:01:40 PM)
	Possibly due to having other window in front.  Any calls to getActiveWorkbenchWindow()?
Comment 1 DJ Houghton CLA 2001-10-23 23:48:10 EDT
PRODUCT VERSION:
132

Comment 2 James Moody CLA 2001-10-25 10:46:29 EDT
This happened to me. My steps:
1. Sync. There were two conflicts, and no incoming or outgoing changes.
2. Catch up to both conflicts.
3. Switch to the release view.
Error occurred.

It's on my list.
Comment 3 Kevin McGuire CLA 2002-03-22 11:04:38 EST
fixed, can no longer reproduce