{"action":"created","issue":{"url":"https://api.github.com/repos/vrapper/vrapper/issues/720","repository_url":"https://api.github.com/repos/vrapper/vrapper","labels_url":"https://api.github.com/repos/vrapper/vrapper/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/vrapper/vrapper/issues/720/comments","events_url":"https://api.github.com/repos/vrapper/vrapper/issues/720/events","html_url":"https://github.com/vrapper/vrapper/issues/720","id":130742600,"number":720,"title":"NPE being thrown upon editor selection","user":{"login":"mrietveld","id":783550,"avatar_url":"https://avatars.githubusercontent.com/u/783550?v=3","gravatar_id":"","url":"https://api.github.com/users/mrietveld","html_url":"https://github.com/mrietveld","followers_url":"https://api.github.com/users/mrietveld/followers","following_url":"https://api.github.com/users/mrietveld/following{/other_user}","gists_url":"https://api.github.com/users/mrietveld/gists{/gist_id}","starred_url":"https://api.github.com/users/mrietveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrietveld/subscriptions","organizations_url":"https://api.github.com/users/mrietveld/orgs","repos_url":"https://api.github.com/users/mrietveld/repos","events_url":"https://api.github.com/users/mrietveld/events{/privacy}","received_events_url":"https://api.github.com/users/mrietveld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-02T16:48:41Z","updated_at":"2016-02-02T16:49:01Z","closed_at":null,"body":"When I change tabs/edtiors, I get the error message: \r\n\r\n```\r\nAn error has occurred. See error log for more details\r\n\r\njava.lang.NullPointerException\r\n````\r\n\r\nI'm using: \r\n\r\n- Eclipse: Mars.1 Release (4.5.1)[Build id: 20150924-1200]\r\n- Vrapper: 0.64.0\r\n- Java 1.8.0_72\r\n\r\nThe following stack trace can then be found in the logs:\r\n````\r\n!ENTRY org.eclipse.ui.workbench 4 2 2016-02-02 17:44:24.259\r\n!MESSAGE Problems occurred when invoking code from plug-in: \"org.eclipse.ui.workbench\".\r\n!STACK 0\r\njava.lang.NullPointerException\r\n\tat net.sourceforge.vrapper.eclipse.platform.EclipseBufferAndTabService.setCurrentEditor(EclipseBufferAndTabService.java:98)\r\n\tat net.sourceforge.vrapper.eclipse.interceptor.InputInterceptorManager.partActivated(InputInterceptorManager.java:325)\r\n\tat net.sourceforge.vrapper.eclipse.interceptor.InputInterceptorManager.partActivated(InputInterceptorManager.java:352)\r\n\tat org.eclipse.ui.internal.PartService$6.run(PartService.java:149)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.PartService.partActivated(PartService.java:146)\r\n\tat org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:4894)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4891)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.java:4870)\r\n\tat org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:202)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl$3.run(PartServiceImpl.java:245)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:242)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:711)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:639)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:634)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:979)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149)\r\n\tat org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131)\r\n\tat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3071)\r\n\tat org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1159)\r\n\tat org.eclipse.ui.internal.views.log.OpenIDELogFileAction.run(OpenIDELogFileAction.java:42)\r\n\tat org.eclipse.jface.action.Action.runWithEvent(Action.java:473)\r\n\tat org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)\r\n\tat org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)\r\n\tat org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)\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:498)\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\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1488)\r\n````"},"comment":{"url":"https://api.github.com/repos/vrapper/vrapper/issues/comments/178683004","html_url":"https://github.com/vrapper/vrapper/issues/720#issuecomment-178683004","issue_url":"https://api.github.com/repos/vrapper/vrapper/issues/720","id":178683004,"user":{"login":"mrietveld","id":783550,"avatar_url":"https://avatars.githubusercontent.com/u/783550?v=3","gravatar_id":"","url":"https://api.github.com/users/mrietveld","html_url":"https://github.com/mrietveld","followers_url":"https://api.github.com/users/mrietveld/followers","following_url":"https://api.github.com/users/mrietveld/following{/other_user}","gists_url":"https://api.github.com/users/mrietveld/gists{/gist_id}","starred_url":"https://api.github.com/users/mrietveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrietveld/subscriptions","organizations_url":"https://api.github.com/users/mrietveld/orgs","repos_url":"https://api.github.com/users/mrietveld/repos","events_url":"https://api.github.com/users/mrietveld/events{/privacy}","received_events_url":"https://api.github.com/users/mrietveld/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:49:01Z","updated_at":"2016-02-02T16:49:01Z","body":"It's driving me a little crazy to be getting this whenever I switch tabs.. :/ "}}