{"action":"closed","issue":{"url":"https://api.github.com/repos/Netcentric/accesscontroltool/issues/4","labels_url":"https://api.github.com/repos/Netcentric/accesscontroltool/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Netcentric/accesscontroltool/issues/4/comments","events_url":"https://api.github.com/repos/Netcentric/accesscontroltool/issues/4/events","html_url":"https://github.com/Netcentric/accesscontroltool/issues/4","id":54221009,"number":4,"title":"NPE during the installation of a config containing a nested loop","user":{"login":"jochenkoschorke","id":10447668,"avatar_url":"https://avatars.githubusercontent.com/u/10447668?v=3","gravatar_id":"","url":"https://api.github.com/users/jochenkoschorke","html_url":"https://github.com/jochenkoschorke","followers_url":"https://api.github.com/users/jochenkoschorke/followers","following_url":"https://api.github.com/users/jochenkoschorke/following{/other_user}","gists_url":"https://api.github.com/users/jochenkoschorke/gists{/gist_id}","starred_url":"https://api.github.com/users/jochenkoschorke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochenkoschorke/subscriptions","organizations_url":"https://api.github.com/users/jochenkoschorke/orgs","repos_url":"https://api.github.com/users/jochenkoschorke/repos","events_url":"https://api.github.com/users/jochenkoschorke/events{/privacy}","received_events_url":"https://api.github.com/users/jochenkoschorke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Netcentric/accesscontroltool/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ugocei","id":516480,"avatar_url":"https://avatars.githubusercontent.com/u/516480?v=3","gravatar_id":"","url":"https://api.github.com/users/ugocei","html_url":"https://github.com/ugocei","followers_url":"https://api.github.com/users/ugocei/followers","following_url":"https://api.github.com/users/ugocei/following{/other_user}","gists_url":"https://api.github.com/users/ugocei/gists{/gist_id}","starred_url":"https://api.github.com/users/ugocei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugocei/subscriptions","organizations_url":"https://api.github.com/users/ugocei/orgs","repos_url":"https://api.github.com/users/ugocei/repos","events_url":"https://api.github.com/users/ugocei/events{/privacy}","received_events_url":"https://api.github.com/users/ugocei/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-13T17:21:18Z","updated_at":"2015-01-14T10:29:15Z","closed_at":"2015-01-14T10:29:15Z","body":"when trying to install the following test config:\r\n\r\n- group_config:\r\n\r\n\r\n   - for mpc IN [ hq, germany, france ]:\r\n\r\n       - for lang IN [ de, en ]:\r\n\r\n         - fragment-${mpc}-${lang}-section1-edit:\r\n\r\n           - name:\r\n             memberOf: \r\n             path: /dai/groups/f\r\n\r\n         - fragment-${mpc}-${lang}-section2-edit:\r\n\r\n           - name:\r\n             memberOf: \r\n             path: /dai/groups/f\r\n\r\n         - fragment-${mpc}-${lang}-section3-edit:\r\n\r\n           - name:\r\n             memberOf: \r\n             path: /dai/groups/f\r\n\r\n\r\n- ace_config:\r\n\r\n    - for mpc IN [ hq, germany, france ]:\r\n\r\n       - for lang IN [ de, en ]:\r\n\r\n         - fragment-${mpc}-${lang}-section1-edit:\r\n\r\n           - path: /content/${mpc}/${lang}/passengercars\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/${mpc}/${lang}/content-pool/marketing-pool/passengercars\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/dam/hq/passengercars\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n         - fragment-${mpc}-${lang}-section2-edit:\r\n\r\n           - path: /content/${mpc}/${lang}/transporters\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/${mpc}/${lang}/content-pool/marketing-pool/transporters\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/dam/hq/transporters\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n         - fragment-${mpc}-${lang}-section3-edit:\r\n\r\n           - path: /content/${mpc}/${lang}/busses\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/${mpc}/${lang}/content-pool/marketing-pool/busses\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n           - path: /content/dam/hq/busses\r\n             permission: allow\r\n             actions: acl_read,acl_edit,delete,modify,read,create,replicate\r\n             privileges: \r\n             repGlob:\r\n\r\n\r\nI get the following NPE:\r\n\r\n13.01.2015 17:42:48.272 *ERROR* [qtp123659800-19062] biz.netcentric.cq.tools.actool.aceservice.impl.AceServiceImpl Exception in AceServiceImpl: {}\r\njava.lang.NullPointerException: null\r\n\tat biz.netcentric.cq.tools.actool.helper.AccessControlUtils.getPrivilegeSet(AccessControlUtils.java:407)\r\n\tat biz.netcentric.cq.tools.actool.helper.AccessControlUtils.installPermissions(AccessControlUtils.java:495)\r\n\tat biz.netcentric.cq.tools.actool.helper.AcHelper.installBean(AcHelper.java:322)\r\n\tat biz.netcentric.cq.tools.actool.helper.AcHelper.resetAclInRepository(AcHelper.java:208)\r\n\tat biz.netcentric.cq.tools.actool.helper.AcHelper.installPathBasedACEs(AcHelper.java:147)\r\n..."}}