{"action":"created","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1292","repository_url":"https://api.github.com/repos/FasterXML/jackson-databind","labels_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1292/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1292/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1292/events","html_url":"https://github.com/FasterXML/jackson-databind/pull/1292","id":164446095,"number":1292,"title":"Null-safe equality check","user":{"login":"hipatel7","id":901750,"avatar_url":"https://avatars.githubusercontent.com/u/901750?v=3","gravatar_id":"","url":"https://api.github.com/users/hipatel7","html_url":"https://github.com/hipatel7","followers_url":"https://api.github.com/users/hipatel7/followers","following_url":"https://api.github.com/users/hipatel7/following{/other_user}","gists_url":"https://api.github.com/users/hipatel7/gists{/gist_id}","starred_url":"https://api.github.com/users/hipatel7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipatel7/subscriptions","organizations_url":"https://api.github.com/users/hipatel7/orgs","repos_url":"https://api.github.com/users/hipatel7/repos","events_url":"https://api.github.com/users/hipatel7/events{/privacy}","received_events_url":"https://api.github.com/users/hipatel7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-08T02:14:17Z","updated_at":"2016-07-13T05:05:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/pulls/1292","html_url":"https://github.com/FasterXML/jackson-databind/pull/1292","diff_url":"https://github.com/FasterXML/jackson-databind/pull/1292.diff","patch_url":"https://github.com/FasterXML/jackson-databind/pull/1292.patch"},"body":"This equality check needs to be null-safe. It appears that getSelfReferencedType() may not be always non-null. Due to this, I have seen null pointer exceptions thrown from ResolvedRecursiveType.equals() . \r\n\r\nHere's one example where object of type ResolvedRecursiveType is created which could return null  for getSelfReferencedType() calls. :\r\n\r\n```java\r\n                // In TypeFactory.java\r\n                // Self-reference: needs special handling, then...\r\n                ResolvedRecursiveType selfRef = new ResolvedRecursiveType(rawType, EMPTY_BINDINGS);\r\n                prev.addSelfReference(selfRef);\r\n                return selfRef;\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/comments/232257369","html_url":"https://github.com/FasterXML/jackson-databind/pull/1292#issuecomment-232257369","issue_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1292","id":232257369,"user":{"login":"cowtowncoder","id":55065,"avatar_url":"https://avatars.githubusercontent.com/u/55065?v=3","gravatar_id":"","url":"https://api.github.com/users/cowtowncoder","html_url":"https://github.com/cowtowncoder","followers_url":"https://api.github.com/users/cowtowncoder/followers","following_url":"https://api.github.com/users/cowtowncoder/following{/other_user}","gists_url":"https://api.github.com/users/cowtowncoder/gists{/gist_id}","starred_url":"https://api.github.com/users/cowtowncoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowtowncoder/subscriptions","organizations_url":"https://api.github.com/users/cowtowncoder/orgs","repos_url":"https://api.github.com/users/cowtowncoder/repos","events_url":"https://api.github.com/users/cowtowncoder/events{/privacy}","received_events_url":"https://api.github.com/users/cowtowncoder/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T05:05:37Z","updated_at":"2016-07-13T05:05:37Z","body":"@hipatel7 Ok. The reason I asked about concurrency was since I was guessing this might be related to caching. It may still be -- there is one specific change to caching that is included in 2.8.0, but not in 2.7.x -- but fortunately it should be easier to reproduce."}}
{"actor":{"display_login":"cowtowncoder"}}