Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366955 - R4Eclipse preference corruption
Summary: R4Eclipse preference corruption
Status: RESOLVED INVALID
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-12-16 11:42 EST by Jacques Bouthillier CLA
Modified: 2012-01-24 17:46 EST (History)
3 users (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-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