{"action":"created","issue":{"url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/2","repository_url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans","labels_url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/2/comments","events_url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/2/events","html_url":"https://github.com/minimalcode-org/minimalcode-beans/issues/2","id":132304241,"number":2,"title":"Index out of bounds exception on setter","user":{"login":"jwaterloo","id":10145988,"avatar_url":"https://avatars.githubusercontent.com/u/10145988?v=3","gravatar_id":"","url":"https://api.github.com/users/jwaterloo","html_url":"https://github.com/jwaterloo","followers_url":"https://api.github.com/users/jwaterloo/followers","following_url":"https://api.github.com/users/jwaterloo/following{/other_user}","gists_url":"https://api.github.com/users/jwaterloo/gists{/gist_id}","starred_url":"https://api.github.com/users/jwaterloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwaterloo/subscriptions","organizations_url":"https://api.github.com/users/jwaterloo/orgs","repos_url":"https://api.github.com/users/jwaterloo/repos","events_url":"https://api.github.com/users/jwaterloo/events{/privacy}","received_events_url":"https://api.github.com/users/jwaterloo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-09T01:13:43Z","updated_at":"2016-05-19T01:05:48Z","closed_at":null,"body":"java.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.minimalcode.beans.ObjectWrapper.getIndexedValue(ObjectWrapper.java:602)\r\n        at org.minimalcode.beans.ObjectWrapper.getValue(ObjectWrapper.java:549)\r\n        at org.minimalcode.beans.ObjectWrapper.setValue(ObjectWrapper.java:690)\r\n        at org.minimalcode.beans.ObjectWrapper.setValue(ObjectWrapper.java:303)\r\n        at com.power_suite.database_migration.key_risk_management.IdempotentInsert.init(IdempotentInsert.java:334)\r\n        at com.power_suite.database_migration.key_risk_management.IdempotentInsert.generateStatements(IdempotentInsert.java:172)\r\n        at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:178)\r\n\r\n...\r\n\r\nimport liquibase.change.core.LoadDataColumnConfig;\r\n\r\npublic class TargetClass {\r\n                private List<LoadDataColumnConfig> columns = new ArrayList<LoadDataColumnConfig>();\r\n\r\n                public List<LoadDataColumnConfig> getColumns() {\r\n                                return columns;\r\n                }\r\n\r\n                public void setColumns(List<LoadDataColumnConfig> columns) {\r\n                                this.columns = columns;\r\n                }\r\n \r\n                public void init() {\r\n                                ObjectWrapper wrapper = new ObjectWrapper(this);\r\n                                // failing expression\r\n                                wrapper.setValue(\"columns[0].header\", \"PRFL_STMT_ID\");\r\n                }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/comments/220201601","html_url":"https://github.com/minimalcode-org/minimalcode-beans/issues/2#issuecomment-220201601","issue_url":"https://api.github.com/repos/minimalcode-org/minimalcode-beans/issues/2","id":220201601,"user":{"login":"jwaterloo","id":10145988,"avatar_url":"https://avatars.githubusercontent.com/u/10145988?v=3","gravatar_id":"","url":"https://api.github.com/users/jwaterloo","html_url":"https://github.com/jwaterloo","followers_url":"https://api.github.com/users/jwaterloo/followers","following_url":"https://api.github.com/users/jwaterloo/following{/other_user}","gists_url":"https://api.github.com/users/jwaterloo/gists{/gist_id}","starred_url":"https://api.github.com/users/jwaterloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwaterloo/subscriptions","organizations_url":"https://api.github.com/users/jwaterloo/orgs","repos_url":"https://api.github.com/users/jwaterloo/repos","events_url":"https://api.github.com/users/jwaterloo/events{/privacy}","received_events_url":"https://api.github.com/users/jwaterloo/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T01:05:48Z","updated_at":"2016-05-19T01:05:48Z","body":"java.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.minimalcode.beans.ObjectWrapper.getIndexedValue(ObjectWrapper.java:602)\r\n        at org.minimalcode.beans.ObjectWrapper.getValue(ObjectWrapper.java:549)\r\n        at org.minimalcode.beans.ObjectWrapper.setValue(ObjectWrapper.java:690)\r\n        at org.minimalcode.beans.ObjectWrapper.setValue(ObjectWrapper.java:303)\r\n        at com.power_suite.database_migration.key_risk_management.IdempotentInsert.init(IdempotentInsert.java:334)\r\n        at com.power_suite.database_migration.key_risk_management.IdempotentInsert.generateStatements(IdempotentInsert.java:172)\r\n        at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:178)"}}