{"action":"opened","issue":{"url":"https://api.github.com/repos/gwt-eclipse-plugin/gwt-eclipse-plugin/issues/54","labels_url":"https://api.github.com/repos/gwt-eclipse-plugin/gwt-eclipse-plugin/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/gwt-eclipse-plugin/gwt-eclipse-plugin/issues/54/comments","events_url":"https://api.github.com/repos/gwt-eclipse-plugin/gwt-eclipse-plugin/issues/54/events","html_url":"https://github.com/gwt-eclipse-plugin/gwt-eclipse-plugin/issues/54","id":75295220,"number":54,"title":"GWT Compile - not focused on project root bug","user":{"login":"branflake2267","id":1326504,"avatar_url":"https://avatars.githubusercontent.com/u/1326504?v=3","gravatar_id":"","url":"https://api.github.com/users/branflake2267","html_url":"https://github.com/branflake2267","followers_url":"https://api.github.com/users/branflake2267/followers","following_url":"https://api.github.com/users/branflake2267/following{/other_user}","gists_url":"https://api.github.com/users/branflake2267/gists{/gist_id}","starred_url":"https://api.github.com/users/branflake2267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branflake2267/subscriptions","organizations_url":"https://api.github.com/users/branflake2267/orgs","repos_url":"https://api.github.com/users/branflake2267/repos","events_url":"https://api.github.com/users/branflake2267/events{/privacy}","received_events_url":"https://api.github.com/users/branflake2267/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-11T17:23:10Z","updated_at":"2015-05-11T17:23:10Z","closed_at":null,"body":"When not focused on the root of the project tree, there was an exception.\r\n\r\n```\r\n------\r\nSTATUS\r\n------\r\npluginId            org.eclipse.ui\r\npluginVersion       3.107.0.v20150423-1329\r\ncode                0\r\nseverity            4\r\nmessage             Unhandled event loop exception\r\nfingerprint         7f399f81\r\n\r\nException:org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.jface.text.TextSelection cannot be cast to org.eclipse.jface.viewers.IStructuredSelection\r\n\t at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)\r\n\t at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)\r\n\t at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)\r\n\t at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\t at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)\r\n\t at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)\r\n\t at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)\r\n\t at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)\r\n\t at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\t at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\r\n\t at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1293)\r\n\t at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\t at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.dropdownEvent(HandledContributionItem.java:718)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:661)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)\r\n\t at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\t at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\r\n\t at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1293)\r\n\t at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\t at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\r\n\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\r\n\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\r\n\t at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\r\n\t at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\r\n\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\t at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\r\n\t at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\t at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\r\n\t at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\t at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\t at java.lang.reflect.Method.invoke(Method.java:483)\r\n\t at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)\r\n\t at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\r\n\t at org.eclipse.equinox.launcher.Main.run(Main.java:1499)\r\nCaused by: java.lang.ClassCastException: org.eclipse.jface.text.TextSelection cannot be cast to org.eclipse.jface.viewers.IStructuredSelection\r\n\t at com.google.gwt.eclipse.core.actions.GWTCompileToolbarHandler.execute(GWTCompileToolbarHandler.java:69)\r\n\t at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)\r\n\t at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\t at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\t at java.lang.reflect.Method.invoke(Method.java:483)\r\n\t at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\r\n\t at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)\r\n\t at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)\r\n\t at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\t at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)\r\n\t at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)\r\n\t at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)\r\n\t at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)\r\n\t at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\t at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\r\n\t at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1293)\r\n\t at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\t at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.dropdownEvent(HandledContributionItem.java:718)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:661)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)\r\n\t at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)\r\n\t at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\t at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)\r\n\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\r\n\t at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1293)\r\n\t at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\t at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\r\n\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\r\n\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\r\n\t at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\r\n\t at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\r\n\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\t at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\r\n\t at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\t at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\r\n\t at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)\r\n\t at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\t at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\t at java.lang.reflect.Method.invoke(Method.java:483)\r\n\t at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)\r\n\t at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\r\n\t at org.eclipse.equinox.launcher.Main.run(Main.java:1499)\r\n\r\n------\r\nREPORT\r\n------\r\nanonymousId         7689a93d-d258-431c-b536-d31ae368c2c5\r\nname                Brandon Donnelson\r\nemail               branflake2267@gmail.com\r\ncomment             \r\neclipseBuildId      4.5.0.I20150430-1445\r\neclipseProduct      org.eclipse.epp.package.jee.product\r\njavaRuntimeVersion  1.8.0-ea-b123\r\nosgiWs              cocoa\r\nosgiOs              MacOSX\r\nosgiOsVersion       10.10.3\r\nosgiArch            x86_64\r\nlogMessage          false\r\nignoreSimilar       false\r\n\r\n-------\r\nBUNDLES\r\n-------\r\nname                com.google.gwt.eclipse.core\r\nversion             0.0.0.201505101348\r\n\r\nname                org.eclipse.core.commands\r\nversion             3.7.0.v20150422-0725\r\n\r\nname                org.eclipse.core.databinding.observable\r\nversion             1.5.0.v20150422-0725\r\n\r\nname                org.eclipse.core.databinding\r\nversion             1.5.0.v20150422-0725\r\n\r\nname                org.eclipse.core.runtime\r\nversion             3.11.0.v20150405-1723\r\n\r\nname                org.eclipse.e4.core.commands\r\nversion             0.11.0.v20150422-0725\r\n\r\nname                org.eclipse.e4.core.contexts\r\nversion             1.4.0.v20150421-2214\r\n\r\nname                org.eclipse.e4.core.di\r\nversion             1.5.0.v20150421-2214\r\n\r\nname                org.eclipse.e4.ui.workbench\r\nversion             1.3.0.v20150429-1329\r\n\r\nname                org.eclipse.e4.ui.workbench.renderers.swt\r\nversion             0.13.0.v20150428-1951\r\n\r\nname                org.eclipse.e4.ui.workbench.swt\r\nversion             0.13.0.v20150422-0725\r\n\r\nname                org.eclipse.equinox.app\r\nversion             1.3.300.v20150423-1356\r\n\r\nname                org.eclipse.equinox.launcher\r\nversion             1.3.100.v20150423-1351\r\n\r\nname                org.eclipse.swt\r\nversion             3.104.0.v20150430-1253\r\n\r\nname                org.eclipse.ui\r\nversion             3.107.0.v20150423-1329\r\n\r\nname                org.eclipse.ui.ide.application\r\nversion             1.1.0.v20150422-0725\r\n\r\nname                org.eclipse.ui.ide\r\nversion             3.11.0.v20150429-0914\r\n\r\n\r\n```"}}