{"action":"created","issue":{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/12","labels_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/12/comments","events_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/12/events","html_url":"https://github.com/steveswinsburg/gradebookNG/issues/12","id":60895029,"number":12,"title":"IndexOutOfBoundsException on clicking back after importing a file","user":{"login":"steveswinsburg","id":129129,"avatar_url":"https://avatars.githubusercontent.com/u/129129?v=3","gravatar_id":"","url":"https://api.github.com/users/steveswinsburg","html_url":"https://github.com/steveswinsburg","followers_url":"https://api.github.com/users/steveswinsburg/followers","following_url":"https://api.github.com/users/steveswinsburg/following{/other_user}","gists_url":"https://api.github.com/users/steveswinsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/steveswinsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveswinsburg/subscriptions","organizations_url":"https://api.github.com/users/steveswinsburg/orgs","repos_url":"https://api.github.com/users/steveswinsburg/repos","events_url":"https://api.github.com/users/steveswinsburg/events{/privacy}","received_events_url":"https://api.github.com/users/steveswinsburg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-12T20:30:26Z","updated_at":"2015-04-02T02:53:51Z","closed_at":null,"body":"When you import a file and go to next screen, then click back, an IndexOutOfBoundsException is thrown:\r\n\r\njava.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n     at java.util.ArrayList.rangeCheck(ArrayList.java:635)\r\n     at java.util.ArrayList.get(ArrayList.java:411)\r\n     at org.sakaiproject.gradebookng.tool.panels.importExport.CreateGradeItemStep.<init>(CreateGradeItemStep.java:71)\r\n     at org.sakaiproject.gradebookng.tool.panels.importExport.GradeItemImportSelectionStep$1.onSubmit(GradeItemImportSelectionStep.java:62)\r\n     at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1294)\r\n     at org.apache.wicket.markup.html.form.Form.process(Form.java:952)\r\n     at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:784)\r\n     at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:717)\r\n     at java.lang.reflect.Method.invoke(Method.java:606)"},"comment":{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/comments/88708470","html_url":"https://github.com/steveswinsburg/gradebookNG/issues/12#issuecomment-88708470","issue_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/12","id":88708470,"user":{"login":"maurercw","id":8582887,"avatar_url":"https://avatars.githubusercontent.com/u/8582887?v=3","gravatar_id":"","url":"https://api.github.com/users/maurercw","html_url":"https://github.com/maurercw","followers_url":"https://api.github.com/users/maurercw/followers","following_url":"https://api.github.com/users/maurercw/following{/other_user}","gists_url":"https://api.github.com/users/maurercw/gists{/gist_id}","starred_url":"https://api.github.com/users/maurercw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurercw/subscriptions","organizations_url":"https://api.github.com/users/maurercw/orgs","repos_url":"https://api.github.com/users/maurercw/repos","events_url":"https://api.github.com/users/maurercw/events{/privacy}","received_events_url":"https://api.github.com/users/maurercw/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T02:53:51Z","updated_at":"2015-04-02T02:53:51Z","body":"PR #37 has some changes for the back button.  Let me know if that works out for you.  The constructors for my import panel classes are getting pretty messy...  I may look into using some sort of model to wrap up all the stuff I'm passing around."}}