Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360263 - R4E Rule set not accessible
Summary: R4E Rule set not accessible
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 13:38 EDT by Jacques Bouthillier CLA
Modified: 2012-01-24 15:35 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-10-07 13:38:53 EDT
How to reproduce:

- Set in the preferences an existing rules set:
--> The rules set is not openingand:

!ENTRY org.eclipse.ui 4 0 2011-10-07 13:25:38.765
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.eclipse.mylyn.reviews.r4e.ui.internal.editors.FilePathEditor.getSelection(FilePathEditor.java:169)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.preferences.R4EPreferencePage$2.widgetSelected(R4EPreferencePage.java:411)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
	at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
Comment 1 Sebastien Dubois CLA 2011-10-11 12:26:25 EDT
The problem is fixed by adding a check to see if the current selection of groups/rules in the preferences is valid