{"action":"created","issue":{"url":"https://api.github.com/repos/debrief/limpet/issues/199","labels_url":"https://api.github.com/repos/debrief/limpet/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/debrief/limpet/issues/199/comments","events_url":"https://api.github.com/repos/debrief/limpet/issues/199/events","html_url":"https://github.com/debrief/limpet/issues/199","id":123526825,"number":199,"title":"NPE in XYPlot/DataFrequency view","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-22T17:47:37Z","updated_at":"2015-12-22T17:53:34Z","closed_at":null,"body":"- create empty lap file and drag usa.csv from american.cup to it\r\n- select the usa.csv entry\r\nYou will get the following exception:\r\n\r\n!ENTRY org.eclipse.ui.workbench 4 0 2015-12-22 17:46:26.415\r\n!MESSAGE info.limpet.data.store.InMemoryStore$StoreGroup cannot be cast to info.limpet.ICollection\r\n!STACK 0\r\njava.lang.ClassCastException: info.limpet.data.store.InMemoryStore$StoreGroup cannot be cast to info.limpet.ICollection\r\n\tat info.limpet.rcp.data_frequency.DataFrequencyView.display(DataFrequencyView.java:92)\r\n\tat info.limpet.rcp.core_view.CoreAnalysisView.newSelection(CoreAnalysisView.java:156)\r\n\tat info.limpet.rcp.core_view.CoreAnalysisView$2.selectionChanged(CoreAnalysisView.java:241)\r\n\tat org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)\r\n\tat org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)\r\n\tat org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)\r\n\tat org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)\r\n\tat org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)\r\n\tat org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)\r\n\tat org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3562)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3186)\r\n\tat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)\r\n\tat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)\r\n\tat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)\r\n\tat org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\r\n\tat info.limpet.rcp.product.Application.start(Application.java:112)\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:110)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)\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:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1438)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1414)\r\n\r\n!ENTRY org.eclipse.ui.workbench 4 0 2015-12-22 17:46:26.418\r\n!MESSAGE info.limpet.data.store.InMemoryStore$StoreGroup cannot be cast to info.limpet.ICollection\r\n!STACK 0\r\njava.lang.ClassCastException: info.limpet.data.store.InMemoryStore$StoreGroup cannot be cast to info.limpet.ICollection\r\n\tat info.limpet.rcp.xy_plot.XyPlotView.display(XyPlotView.java:93)\r\n\tat info.limpet.rcp.core_view.CoreAnalysisView.newSelection(CoreAnalysisView.java:156)\r\n\tat info.limpet.rcp.core_view.CoreAnalysisView$2.selectionChanged(CoreAnalysisView.java:241)\r\n\tat org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)\r\n\tat org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)\r\n\tat org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)\r\n\tat org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)\r\n\tat org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)\r\n\tat org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)\r\n\tat org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3562)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3186)\r\n\tat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)\r\n\tat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)\r\n\tat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)\r\n\tat org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\r\n\tat info.limpet.rcp.product.Application.start(Application.java:112)\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:110)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)\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:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1438)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1414)\r\n"},"comment":{"url":"https://api.github.com/repos/debrief/limpet/issues/comments/166689927","html_url":"https://github.com/debrief/limpet/issues/199#issuecomment-166689927","issue_url":"https://api.github.com/repos/debrief/limpet/issues/199","id":166689927,"user":{"login":"IanMayo","id":1108513,"avatar_url":"https://avatars.githubusercontent.com/u/1108513?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMayo","html_url":"https://github.com/IanMayo","followers_url":"https://api.github.com/users/IanMayo/followers","following_url":"https://api.github.com/users/IanMayo/following{/other_user}","gists_url":"https://api.github.com/users/IanMayo/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMayo/subscriptions","organizations_url":"https://api.github.com/users/IanMayo/orgs","repos_url":"https://api.github.com/users/IanMayo/repos","events_url":"https://api.github.com/users/IanMayo/events{/privacy}","received_events_url":"https://api.github.com/users/IanMayo/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T17:53:34Z","updated_at":"2015-12-22T17:53:34Z","body":"Hmm, I can't reproduce this error.\r\n\r\nBut, a fix is welcome."}}