Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336577

Summary: ExecutionException while adding child elements
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alvaro.sanchez-leon
Version: unspecified   
Target Milestone: 0.9   
Hardware: PC   
OS: Linux   
Whiteboard:

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.