DESCRIPTION

Potential NPE, the site can be null if the page is shown in a dialog

According to ISynchronizePageSite.getWorkbenchSite() javadoc, and a real
life example from bug 343320, the workbench site can be null. This
results in a nasty NPE when the sync is being shown in a dialog.

Change-Id: I75c2882aab36016e117b0557ba4e709eb2bc12a2


COMMENTS

author: Brenden Conley
date: 2011-09-03 22:56:45.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/1586/ 

-------------------------------------
author: Brenden Conley
date: 2011-09-03 23:16:57.000000000

Patch Set 1: I would prefer that you didn't submit this

Build Unstable 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/1586/ : UNSTABLE

-------------------------------------
