Community
Participate
Working Groups
The exception below is logged on startup with Mylyn installed. Could not set color: 255, 256, 256 java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:4064) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.graphics.Color.init(Color.java:241) at org.eclipse.swt.graphics.Color.<init>(Color.java:79) at org.eclipse.mylyn.internal.tasks.ui.views.GradientDrawer.configureGradientColors(GradientDrawer.java:205) at org.eclipse.mylyn.internal.tasks.ui.views.GradientDrawer.<init>(GradientDrawer.java:148) at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.createPartControl(TaskListView.java:927) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:111) at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:73) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:181)
(In reply to comment #0) > Could not set color: 255, 256, 256 Where do you get this color from? I think SWT is right, this does indeed look invalid ;-)
Yes, we need to add a check of some sort there :). I guess it happens on e4 due to the different default background color for views.
Created attachment 175631 [details] fix
Created attachment 175632 [details] mylyn/context/zip
Fix committed to head and e_3_6_m_3_4_x branch.