Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 78034 - [Progress][RCP] Creating a custom workbench layout causes problems when runningJobs
Summary: [Progress][RCP] Creating a custom workbench layout causes problems when runni...
Status: RESOLVED DUPLICATE of bug 90508
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 73821
  Show dependency tree
 
Reported: 2004-11-07 09:13 EST by Chris Gross CLA
Modified: 2005-08-03 14:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gross CLA 2004-11-07 09:13:57 EST
The Job's GUI logic seems to get confused if you create a custom workbench 
layout by overriding createWindowContents() in your WorkbenchAdvisor.  On some 
occasions you execute the job, but the Job's dialog does not appear (it is a 
user job).  The job also does not appear in the progress view.  Other times you 
get an NPE when scheduling the job:

java.lang.NullPointerException
	at org.eclipse.ui.internal.progress.ProgressManagerUtil.animateDown
(ProgressManagerUtil.java:304)
	at 
org.eclipse.ui.internal.progress.ProgressMonitorFocusJobDialog$1.widgetSelected
(ProgressMonitorFocusJobDialog.java:98)

In general, it seems like the Jobs GUI has not anticipated a custom workbench 
layout.
Comment 1 Tod Creasey CLA 2005-08-03 14:54:13 EDT
Fixed by the fix to Bug 90508

*** This bug has been marked as a duplicate of 90508 ***