{"action":"closed","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1632","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1632/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1632/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1632/events","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/issues/1632","id":119735517,"number":1632,"title":"bug in Introduce Type Alias","user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/labels/bug%20on%20last%20release","name":"bug on last release","color":"e11d21"},{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/labels/bug%20on%20master","name":"bug on master","color":"e10c02"},{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/labels/high%20priority","name":"high priority","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/milestones/12","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/milestones/1.2.1","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/milestones/12/labels","id":1387185,"number":12,"title":"1.2.1","description":"","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":5,"state":"open","created_at":"2015-11-01T10:01:29Z","updated_at":"2015-12-03T17:29:36Z","due_on":"2015-11-30T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-12-01T15:04:52Z","updated_at":"2015-12-03T17:29:36Z","closed_at":"2015-12-03T17:29:36Z","body":"This refactoring is a bit flakey. In particular I get:\r\n\r\n```\r\norg.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException\r\n\tat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)\r\n\tat org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\tat org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343)\r\n\tat org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:830)\r\n\tat org.eclipse.ui.menus.CommandContributionItem.access$21(CommandContributionItem.java:816)\r\n\tat org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:806)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\r\n\tat org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1515)\r\nCaused by: java.lang.NullPointerException\r\n\tat com.redhat.ceylon.eclipse.code.refactor.AliasLinkedMode.addLinkedPositions(AliasLinkedMode.java:142)\r\n\tat com.redhat.ceylon.eclipse.code.refactor.AliasLinkedMode.setupLinkedPositions(AliasLinkedMode.java:213)\r\n\tat com.redhat.ceylon.eclipse.code.refactor.RefactorLinkedMode.start(RefactorLinkedMode.java:59)\r\n\tat com.redhat.ceylon.eclipse.code.refactor.AliasHandler.execute(AliasHandler.java:31)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)\r\n\tat org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)\r\n\tat sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\r\n\t... 40 more\r\n```"}}