Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358569 - R4E Create a group with empty component generate error
Summary: R4E Create a group with empty component generate error
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 08:42 EDT by Jacques Bouthillier CLA
Modified: 2012-01-24 17:46 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 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)