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

Bug 366955

Summary: R4Eclipse preference corruption
Product: z_Archived Reporter: Jacques Bouthillier <lmcbout>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: alvaro.sanchez-leon, lmcbout, sebastien.dubois
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jacques Bouthillier CLA 2011-12-16 11:42:47 EST
Somehow, the preference gets corrupted and I am unable to open the R4E review navigator anymore. I found the following traces in the log:
It seems it occurs when there is no e-mail for a user. So may be another separator in the preference should be used to separate group, user, e-mails

!ENTRY org.eclipse.ui.workbench 4 0 2011-12-15 15:50:04.231
!MESSAGE Unable to create view ID org.eclipse.mylyn.reviews.r4e.ui.navigator.ReviewNavigatorView: For input string: "lmcbout"
!STACK 0
java.lang.NumberFormatException: For input string: "lmcbout"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:449)
    at java.lang.Integer.parseInt(Integer.java:499)
    at org.eclipse.mylyn.reviews.r4e.ui.internal.preferences.R4EPreferencePage.populateParticipantListMap(R4EPreferencePage.java:1021)
    at org.eclipse.mylyn.reviews.r4e.ui.internal.navigator.ReviewNavigatorView.createPartControl(ReviewNavigatorView.java:300)
    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
Comment 1 Sebastien Dubois CLA 2011-12-16 12:11:20 EST
This probably happened because an earlier incomplete version of the code was used initially to test.  With the released version, it is impossible to have users in participants lists with no email, so the problem would not happen