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

Bug 516987

Summary: IllegalArgumentException below AccountDetails.fill (thrown in MenuItem.<init>)
Product: [Technology] USSSDK Reporter: EPP Error Reports <error-reports-inbox>
Component: GeneralAssignee: Project inbox <usssdk-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: bsd, sewe
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description EPP Error Reports CLA 2017-05-19 10:49:09 EDT
The following problem was reported via the automated error reporting:

Message: Unhandled event loop exception
java.lang.IllegalArgumentException: Index out of bounds
    at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:140)
    at org.eclipse.userstorage.internal.oauth.ui.AccountDetails.fill(AccountDetails.java:82)
    at org.eclipse.ui.internal.menus.DynamicMenuContributionItem.fill(DynamicMenuContributionItem.java:147)
    at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:728)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:810)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:669)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.scheduleManagerUpdate(MenuManagerRenderer.java:1212)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.subscribeUIElementTopicAllRenderedVisibility(MenuManagerRenderer.java:200)
    at sun.reflect.GeneratedMethodAccessor.invoke(null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)


The reporter(s) left the following comment(s):

--- Johannes Weberhofer wrote on 4919: ---
After opening a completely new workspace with SprintTools instaleld

--- Marc-Andre Laperle wrote on 50d9: ---
Hover on the "user storage" toolbar icon which looked broken. Not sure if the exception happened before that.

Bundles:
| org.eclipse.e4.core.di | 1.6.100.v20170228-1124 | 1.6.100.v20170421-1418 |
| org.eclipse.e4.ui.workbench.renderers.swt | 0.14.100.v20170228-1842 | 0.14.100.v20170508-1121 |
| org.eclipse.jface | 3.13.0.v20170306-1626 | 3.13.0.v20170503-1507 |
| org.eclipse.swt | 3.106.0.v20170308-1904 | 3.106.0.v20170512-0445 |
| org.eclipse.ui | 3.109.0.v20170306-1046 | 3.109.0.v20170411-1742 |
| org.eclipse.userstorage.oauth | 1.0.0.v20170428-1554 | 1.0.0.v20170428-1554 |

Operating Systems:
| Linux | 4.4.0 | 4.9.0 |


The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/591ecf83e4b00e98f02d491a for the latest data.

Thank you for your assistance.
 Your friendly error-reports-inbox.
Comment 1 Andreas Sewe CLA 2017-05-19 11:33:42 EDT
Seems to be a duplicate of Bug 516948.

*** This bug has been marked as a duplicate of bug 516948 ***
Comment 2 Brian de Alwis CLA 2017-05-20 12:34:52 EDT
This is a different problem from bug 516948 but was reported and fixed as part of bug 512289.

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