{"action":"created","issue":{"url":"https://api.github.com/repos/bndtools/bndtools/issues/1108","labels_url":"https://api.github.com/repos/bndtools/bndtools/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/bndtools/bndtools/issues/1108/comments","events_url":"https://api.github.com/repos/bndtools/bndtools/issues/1108/events","html_url":"https://github.com/bndtools/bndtools/issues/1108","id":71596250,"number":1108,"title":"Eclipse throws ArrayIndexOutOfBoundsException due to invalid AccessRules","user":{"login":"marcdejonge","id":354901,"avatar_url":"https://avatars.githubusercontent.com/u/354901?v=3","gravatar_id":"","url":"https://api.github.com/users/marcdejonge","html_url":"https://github.com/marcdejonge","followers_url":"https://api.github.com/users/marcdejonge/followers","following_url":"https://api.github.com/users/marcdejonge/following{/other_user}","gists_url":"https://api.github.com/users/marcdejonge/gists{/gist_id}","starred_url":"https://api.github.com/users/marcdejonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcdejonge/subscriptions","organizations_url":"https://api.github.com/users/marcdejonge/orgs","repos_url":"https://api.github.com/users/marcdejonge/repos","events_url":"https://api.github.com/users/marcdejonge/events{/privacy}","received_events_url":"https://api.github.com/users/marcdejonge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T13:53:14Z","updated_at":"2015-04-28T15:53:13Z","closed_at":"2015-04-28T15:46:01Z","body":"See https://bugs.eclipse.org/bugs/show_bug.cgi?id=465640\r\n\r\nSee this piece of code: https://github.com/bndtools/bndtools/blob/master/bndtools.builder/src/org/bndtools/builder/classpath/BndContainerInitializer.java#L529\r\n\r\nI've found out that when I use a project dependency (version=project) that it adds an AccessRule to the JDT with an empty path. This causes exceptions in eclipse, so it is very annoying. Since I've no idea what this code should do, I've got no idea how it should be fixed.\r\n\r\nWhat I do see when debugging to that line that oldAccessPattern is empty and thus it will translate into a list of a single empty string, which will be added as an AccessRule.\r\n"},"comment":{"url":"https://api.github.com/repos/bndtools/bndtools/issues/comments/97113962","html_url":"https://github.com/bndtools/bndtools/issues/1108#issuecomment-97113962","issue_url":"https://api.github.com/repos/bndtools/bndtools/issues/1108","id":97113962,"user":{"login":"bjhargrave","id":277682,"avatar_url":"https://avatars.githubusercontent.com/u/277682?v=3","gravatar_id":"","url":"https://api.github.com/users/bjhargrave","html_url":"https://github.com/bjhargrave","followers_url":"https://api.github.com/users/bjhargrave/followers","following_url":"https://api.github.com/users/bjhargrave/following{/other_user}","gists_url":"https://api.github.com/users/bjhargrave/gists{/gist_id}","starred_url":"https://api.github.com/users/bjhargrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjhargrave/subscriptions","organizations_url":"https://api.github.com/users/bjhargrave/orgs","repos_url":"https://api.github.com/users/bjhargrave/repos","events_url":"https://api.github.com/users/bjhargrave/events{/privacy}","received_events_url":"https://api.github.com/users/bjhargrave/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T15:53:13Z","updated_at":"2015-04-28T15:53:13Z","body":"BTW, Thanks for debugging this down to the root problem! That really made is easy for me to fix."}}