{"action":"closed","issue":{"url":"https://api.github.com/repos/gbif/ipt/issues/1196","labels_url":"https://api.github.com/repos/gbif/ipt/issues/1196/labels{/name}","comments_url":"https://api.github.com/repos/gbif/ipt/issues/1196/comments","events_url":"https://api.github.com/repos/gbif/ipt/issues/1196/events","html_url":"https://github.com/gbif/ipt/issues/1196","id":106021586,"number":1196,"title":"FreeMarker template error on mapping page","user":{"login":"kbraak","id":5981100,"avatar_url":"https://avatars.githubusercontent.com/u/5981100?v=3","gravatar_id":"","url":"https://api.github.com/users/kbraak","html_url":"https://github.com/kbraak","followers_url":"https://api.github.com/users/kbraak/followers","following_url":"https://api.github.com/users/kbraak/following{/other_user}","gists_url":"https://api.github.com/users/kbraak/gists{/gist_id}","starred_url":"https://api.github.com/users/kbraak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbraak/subscriptions","organizations_url":"https://api.github.com/users/kbraak/orgs","repos_url":"https://api.github.com/users/kbraak/repos","events_url":"https://api.github.com/users/kbraak/events{/privacy}","received_events_url":"https://api.github.com/users/kbraak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gbif/ipt/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/gbif/ipt/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/gbif/ipt/labels/Type-Defect","name":"Type-Defect","color":"fc2929"},{"url":"https://api.github.com/repos/gbif/ipt/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gbif/ipt/milestones/1","html_url":"https://github.com/gbif/ipt/milestones/2.3.1","labels_url":"https://api.github.com/repos/gbif/ipt/milestones/1/labels","id":1301197,"number":1,"title":"2.3.1","description":null,"creator":{"login":"kbraak","id":5981100,"avatar_url":"https://avatars.githubusercontent.com/u/5981100?v=3","gravatar_id":"","url":"https://api.github.com/users/kbraak","html_url":"https://github.com/kbraak","followers_url":"https://api.github.com/users/kbraak/followers","following_url":"https://api.github.com/users/kbraak/following{/other_user}","gists_url":"https://api.github.com/users/kbraak/gists{/gist_id}","starred_url":"https://api.github.com/users/kbraak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbraak/subscriptions","organizations_url":"https://api.github.com/users/kbraak/orgs","repos_url":"https://api.github.com/users/kbraak/repos","events_url":"https://api.github.com/users/kbraak/events{/privacy}","received_events_url":"https://api.github.com/users/kbraak/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-09-11T14:24:09Z","updated_at":"2015-09-15T09:47:53Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-11T14:28:07Z","updated_at":"2015-09-15T09:47:53Z","closed_at":"2015-09-15T09:47:53Z","body":"Error triggered opening a mapping page with 0 mapped columns. \r\n\r\nAffects version 2.3\r\n\r\nStacktrace pasted below:\r\n\r\nJava method \"org.gbif.ipt.action.manage.MappingAction.getNonMappedColumns()\" threw an exception when invoked on org.gbif.ipt.action.manage.MappingAction object \"org.gbif.ipt.action.manage.MappingAction@f2b53dd\"; see cause exception in the Java stack trace.\r\n\r\nFTL stack trace (\"~\" means nesting-related):\r\n\t- Failed at: #assign nonMapped = action.getNonMapp...  [in template \"WEB-INF/pages/manage/mapping.ftl\" at line 167, column 1]\r\n\r\nJava stack trace (for programmers):\r\n\r\nCaused by: java.lang.ArrayIndexOutOfBoundsException: -2\r\n\tat java.util.Arrays$ArrayList.get(Arrays.java:2866)\r\n\tat org.gbif.ipt.action.manage.MappingAction.getNonMappedColumns(MappingAction.java:246)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1458)\r\n\tat freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:71)\r\n\t... 104 more\r\n"}}