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

Bug 379544

Summary: Exception, registering participants role icons
Product: z_Archived Reporter: Alvaro Sanchez-Leon <alvaro.sanchez-leon>
Component: MylynAssignee: Project Inbox <r4e-triaged>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: lmcbout, sebastien.dubois
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Windows Vista   
Whiteboard:

Description Alvaro Sanchez-Leon CLA 2012-05-15 09:32:22 EDT
!SESSION 2012-05-15 09:08:04.142 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.sdk.ide
Command-line arguments:  -product org.eclipse.sdk.ide -data C:\workspaces\r4e_open_2nd_repo/../runtime-New_configuration -dev file:C:/workspaces/r4e_open_2nd_repo/.metadata/.plugins/org.eclipse.pde.core/regular/dev.properties -debug C:\workspaces\r4e_open_2nd_repo\.metadata\.plugins\org.eclipse.pde.core\regular/.options -os win32 -ws win32 -arch x86 -consoleLog
creating new participants is now done in a job and seems to have a mid air collision with another job registering the same image, 


!ENTRY org.eclipse.core.jobs 4 2 2012-05-15 09:17:37.783
!MESSAGE An internal error occurred during: "Adding New Child Element...".
!STACK 0
java.lang.IllegalArgumentException: ImageRegistry key already in use: icons/obj16/partrevr_obj.png
	at org.eclipse.jface.resource.ImageRegistry.put(ImageRegistry.java:284)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.UIUtils.loadIcon(UIUtils.java:203)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIModelElement.setImage(R4EUIModelElement.java:214)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIParticipant.setRoleIcon(R4EUIParticipant.java:217)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIParticipant.<init>(R4EUIParticipant.java:134)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIReviewBasic.getParticipant(R4EUIReviewBasic.java:427)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIParticipantContainer.createChildren(R4EUIParticipantContainer.java:257)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.NewChildElementHandler$1.run(NewChildElementHandler.java:99)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Sebastien Dubois CLA 2012-05-15 11:34:48 EDT
This wass already reported in bug 378734

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