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

Bug 358569

Summary: R4E Create a group with empty component generate error
Product: z_Archived Reporter: Jacques Bouthillier <lmcbout>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: alvaro.sanchez-leon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jacques Bouthillier CLA 2011-09-22 08:42:07 EDT
Create a new group + add empty component before pressing OK ==>
trace:
38:55:141] E T=main NewChildElementHandler:127 (execute): Exception: org.eclipse.core.commands.ExecutionException: No activeWorkbenchWindow found while executing org.eclipse.mylyn.reviews.r4e.ui.commands.NewChildElement (No activeWorkbenchWindow found while executing org.eclipse.mylyn.reviews.r4e.ui.commands.NewChildElement)
[11:38:55:508] D T=main RWCommon:59 (createResourceSet): new Resourceset created: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@668605 resources=[]
Comment 1 Sebastien Dubois CLA 2011-10-06 11:29:47 EDT
The problem is not related to adding elements, as empty entries are validated before they are put in the model for new elements (I verified the code).  As for the error, I tried to reproduce it extensively but could not.  The only way this could happen is if there is no Active Workbench window available, which should not be possible at that stage.

I'll close this, to be reopened if it happens again with more information (call stack etc)