{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3","id":34734422,"html_url":"https://github.com/eclipse/org.aspectj.shadows/pull/3","diff_url":"https://github.com/eclipse/org.aspectj.shadows/pull/3.diff","patch_url":"https://github.com/eclipse/org.aspectj.shadows/pull/3.patch","issue_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/3","number":3,"state":"open","locked":false,"title":"NPE when call AP TypeElementImpl.getEnclosedElements()","user":{"login":"st0nx","id":11751448,"avatar_url":"https://avatars.githubusercontent.com/u/11751448?v=3","gravatar_id":"","url":"https://api.github.com/users/st0nx","html_url":"https://github.com/st0nx","followers_url":"https://api.github.com/users/st0nx/followers","following_url":"https://api.github.com/users/st0nx/following{/other_user}","gists_url":"https://api.github.com/users/st0nx/gists{/gist_id}","starred_url":"https://api.github.com/users/st0nx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st0nx/subscriptions","organizations_url":"https://api.github.com/users/st0nx/orgs","repos_url":"https://api.github.com/users/st0nx/repos","events_url":"https://api.github.com/users/st0nx/events{/privacy}","received_events_url":"https://api.github.com/users/st0nx/received_events","type":"User","site_admin":false},"body":"Example stacktrace using a QuerydslProcessor:\r\n\r\n[ant:iajc] java.lang.NullPointerException         \r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.sourceStart(SourceTypeBinding.java:2454)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding.sourceStart(MethodBinding.java:1267)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl$SourceLocationComparator.determineSourceStart(TypeElementImpl.java:99)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl$SourceLocationComparator.getSourceStart(TypeElementImpl.java:72)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl$SourceLocationComparator.compare(TypeElementImpl.java:65)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl$SourceLocationComparator.compare(TypeElementImpl.java:1)\r\n[ant:iajc]      at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)\r\n[ant:iajc]      at java.util.TimSort.sort(TimSort.java:216)\r\n[ant:iajc]      at java.util.Arrays.sort(Arrays.java:1435)\r\n[ant:iajc]      at java.util.Collections.sort(Collections.java:230)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl.getEnclosedElements(TypeElementImpl.java:167)\r\n[ant:iajc]      at com.mysema.query.apt.AbstractQuerydslProcessor.collectElements(AbstractQuerydslProcessor.java:249)\r\n[ant:iajc]      at com.mysema.query.apt.AbstractQuerydslProcessor.processAnnotations(AbstractQuerydslProcessor.java:110)\r\n[ant:iajc]      at com.mysema.query.apt.AbstractQuerydslProcessor.process(AbstractQuerydslProcessor.java:97)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.handleProcessor(RoundDispatcher.java:140)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.round(RoundDispatcher.java:122)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager.processAnnotations(BaseAnnotationProcessorManager.java:160)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:844)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:439)\r\n[ant:iajc]      at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)\r\n[ant:iajc]      at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:1036)\r\n[ant:iajc]      at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:272)\r\n[ant:iajc]      at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:185)\r\n[ant:iajc]      at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)\r\n[ant:iajc]      at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)\r\n[ant:iajc]      at org.aspectj.tools.ajc.Main.run(Main.java:371)\r\n[ant:iajc]      at org.aspectj.tools.ajc.Main.runMain(Main.java:248)\r\n[ant:iajc]      at org.aspectj.tools.ajc.Main.main(Main.java:84)\r\n\r\nRather, the main problem in the architecture of my solution looks like quick fix.","created_at":"2015-05-05T15:14:19Z","updated_at":"2015-05-05T15:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3/commits","review_comments_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3/comments","review_comment_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/3/comments","statuses_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/statuses/fb082d3198541bcb865e0fe37f3fa6ea3eb15f1c","head":{"label":"st0nx:aj_2b07958_with_j9_ap","ref":"aj_2b07958_with_j9_ap","sha":"fb082d3198541bcb865e0fe37f3fa6ea3eb15f1c","user":{"login":"st0nx","id":11751448,"avatar_url":"https://avatars.githubusercontent.com/u/11751448?v=3","gravatar_id":"","url":"https://api.github.com/users/st0nx","html_url":"https://github.com/st0nx","followers_url":"https://api.github.com/users/st0nx/followers","following_url":"https://api.github.com/users/st0nx/following{/other_user}","gists_url":"https://api.github.com/users/st0nx/gists{/gist_id}","starred_url":"https://api.github.com/users/st0nx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st0nx/subscriptions","organizations_url":"https://api.github.com/users/st0nx/orgs","repos_url":"https://api.github.com/users/st0nx/repos","events_url":"https://api.github.com/users/st0nx/events{/privacy}","received_events_url":"https://api.github.com/users/st0nx/received_events","type":"User","site_admin":false},"repo":{"id":35100677,"name":"org.aspectj.shadows","full_name":"st0nx/org.aspectj.shadows","owner":{"login":"st0nx","id":11751448,"avatar_url":"https://avatars.githubusercontent.com/u/11751448?v=3","gravatar_id":"","url":"https://api.github.com/users/st0nx","html_url":"https://github.com/st0nx","followers_url":"https://api.github.com/users/st0nx/followers","following_url":"https://api.github.com/users/st0nx/following{/other_user}","gists_url":"https://api.github.com/users/st0nx/gists{/gist_id}","starred_url":"https://api.github.com/users/st0nx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st0nx/subscriptions","organizations_url":"https://api.github.com/users/st0nx/orgs","repos_url":"https://api.github.com/users/st0nx/repos","events_url":"https://api.github.com/users/st0nx/events{/privacy}","received_events_url":"https://api.github.com/users/st0nx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/st0nx/org.aspectj.shadows","description":"AspectJ project repository (org.aspectj.shadows)","fork":true,"url":"https://api.github.com/repos/st0nx/org.aspectj.shadows","forks_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/forks","keys_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/teams","hooks_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/hooks","issue_events_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/issues/events{/number}","events_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/events","assignees_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/assignees{/user}","branches_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/branches{/branch}","tags_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/tags","blobs_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/git/refs{/sha}","trees_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/statuses/{sha}","languages_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/languages","stargazers_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/stargazers","contributors_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/contributors","subscribers_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/subscribers","subscription_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/subscription","commits_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/commits{/sha}","git_commits_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/git/commits{/sha}","comments_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/comments{/number}","issue_comment_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/issues/comments{/number}","contents_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/contents/{+path}","compare_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/merges","archive_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/downloads","issues_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/issues{/number}","pulls_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/pulls{/number}","milestones_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/milestones{/number}","notifications_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/labels{/name}","releases_url":"https://api.github.com/repos/st0nx/org.aspectj.shadows/releases{/id}","created_at":"2015-05-05T13:17:28Z","updated_at":"2015-05-05T13:17:33Z","pushed_at":"2015-05-05T13:25:07Z","git_url":"git://github.com/st0nx/org.aspectj.shadows.git","ssh_url":"git@github.com:st0nx/org.aspectj.shadows.git","clone_url":"https://github.com/st0nx/org.aspectj.shadows.git","svn_url":"https://github.com/st0nx/org.aspectj.shadows","homepage":"","size":46758,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:aj_2b07958_with_j9","ref":"aj_2b07958_with_j9","sha":"710e6930cf867a408008f9219eb8bc5fa8f31524","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":3604572,"name":"org.aspectj.shadows","full_name":"eclipse/org.aspectj.shadows","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/org.aspectj.shadows","description":"AspectJ project repository (org.aspectj.shadows)","fork":false,"url":"https://api.github.com/repos/eclipse/org.aspectj.shadows","forks_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/forks","keys_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/teams","hooks_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/hooks","issue_events_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/events","assignees_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/tags","blobs_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/languages","stargazers_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/stargazers","contributors_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/contributors","subscribers_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/subscribers","subscription_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/subscription","commits_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/merges","archive_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/downloads","issues_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/org.aspectj.shadows/releases{/id}","created_at":"2012-03-02T17:54:32Z","updated_at":"2014-06-12T20:20:17Z","pushed_at":"2015-04-23T18:21:08Z","git_url":"git://github.com/eclipse/org.aspectj.shadows.git","ssh_url":"git@github.com:eclipse/org.aspectj.shadows.git","clone_url":"https://github.com/eclipse/org.aspectj.shadows.git","svn_url":"https://github.com/eclipse/org.aspectj.shadows","homepage":"","size":46876,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":"git://git.eclipse.org/gitroot/aspectj/org.aspectj.shadows.git","open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3"},"html":{"href":"https://github.com/eclipse/org.aspectj.shadows/pull/3"},"issue":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/3"},"comments":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/org.aspectj.shadows/statuses/fb082d3198541bcb865e0fe37f3fa6ea3eb15f1c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":0,"changed_files":2}}