{"action":"closed","issue":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/7186","repository_url":"https://api.github.com/repos/jOOQ/jOOQ","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/7186/labels{/name}","comments_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/7186/comments","events_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/7186/events","html_url":"https://github.com/jOOQ/jOOQ/issues/7186","id":297746590,"number":7186,"title":"NullPointerException when MetaTable.getIndexes() call retrieves a function-based index expression","user":{"login":"lukaseder","id":734593,"avatar_url":"https://avatars2.githubusercontent.com/u/734593?v=4","gravatar_id":"","url":"https://api.github.com/users/lukaseder","html_url":"https://github.com/lukaseder","followers_url":"https://api.github.com/users/lukaseder/followers","following_url":"https://api.github.com/users/lukaseder/following{/other_user}","gists_url":"https://api.github.com/users/lukaseder/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseder/subscriptions","organizations_url":"https://api.github.com/users/lukaseder/orgs","repos_url":"https://api.github.com/users/lukaseder/repos","events_url":"https://api.github.com/users/lukaseder/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseder/received_events","type":"User","site_admin":false},"labels":[{"id":9935131,"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/C:%20Functionality","name":"C: Functionality","color":"0000aa","default":false},{"id":9935166,"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/P:%20Medium","name":"P: Medium","color":"ffaaaa","default":false},{"id":9935170,"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/R:%20Fixed","name":"R: Fixed","color":"55ff55","default":false},{"id":9935130,"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/T:%20Defect","name":"T: Defect","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/140","html_url":"https://github.com/jOOQ/jOOQ/milestone/140","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/140/labels","id":2289955,"number":140,"title":"Version 3.11.0","description":"","creator":{"login":"lukaseder","id":734593,"avatar_url":"https://avatars2.githubusercontent.com/u/734593?v=4","gravatar_id":"","url":"https://api.github.com/users/lukaseder","html_url":"https://github.com/lukaseder","followers_url":"https://api.github.com/users/lukaseder/followers","following_url":"https://api.github.com/users/lukaseder/following{/other_user}","gists_url":"https://api.github.com/users/lukaseder/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseder/subscriptions","organizations_url":"https://api.github.com/users/lukaseder/orgs","repos_url":"https://api.github.com/users/lukaseder/repos","events_url":"https://api.github.com/users/lukaseder/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseder/received_events","type":"User","site_admin":false},"open_issues":706,"closed_issues":331,"state":"open","created_at":"2017-01-31T16:47:44Z","updated_at":"2018-02-16T10:57:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-16T10:54:43Z","updated_at":"2018-02-16T10:57:44Z","closed_at":"2018-02-16T10:57:44Z","author_association":"OWNER","body":"When using `org.jooq.Meta` to retrieve tables and their indexes, the `MetaTable.getIndexes()` call throws a NPE if the table has a function-based index in PostgreSQL:\r\n\r\n```\r\njava.lang.NullPointerException\r\n\tat org.jooq.impl.MetaImpl$MetaTable.createIndexes(MetaImpl.java:743)\r\n\tat org.jooq.impl.MetaImpl$MetaTable.getIndexes(MetaImpl.java:529)\r\n\tat org.jooq.test.all.testcases.MetaDataTests.testMetaIndexes0(MetaDataTests.java:591)\r\n\tat org.jooq.test.all.testcases.MetaDataTests.testMetaIndexes(MetaDataTests.java:587)\r\n\tat org.jooq.test.jOOQAbstractTest.testMetaIndexes(jOOQAbstractTest.java:2338)\r\n```"}}
{"actor":{"display_login":"lukaseder"}}