This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 336577 - ExecutionException while adding child elements
Summary: ExecutionException while adding child elements
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 21:09 EST by Steffen Pingel CLA
Modified: 2012-01-20 19:36 EST (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 Steffen Pingel CLA 2011-02-07 21:09:38 EST
Got this while interacting with the Reviews Navigator:

!MESSAGE Exception: org.eclipse.core.commands.ExecutionException: No activeWorkbenchWindow found while executing org.eclipse.mylyn.reviews.r4e.ui.commands.addChildElement
!STACK 0
org.eclipse.core.commands.ExecutionException: No activeWorkbenchWindow found while executing org.eclipse.mylyn.reviews.r4e.ui.commands.addChildElement
	at org.eclipse.ui.handlers.HandlerUtil.noVariableFound(HandlerUtil.java:41)
	at org.eclipse.ui.handlers.HandlerUtil.getVariableChecked(HandlerUtil.java:90)
	at org.eclipse.ui.handlers.HandlerUtil.getActiveWorkbenchWindowChecked(HandlerUtil.java:211)
	at org.eclipse.mylyn.reviews.r4e.ui.commands.AddChildElementHandler.execute(AddChildElementHandler.java:111)
	
	
Consider using WorkbenchUtil.getShell() instead.
Comment 1 Sebastien Dubois CLA 2011-07-19 17:34:11 EDT
This exception is valid and could happen.  We now trap the exception and deal with it internally.