{"action":"created","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/938","labels_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/938/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/938/events","html_url":"https://github.com/FasterXML/jackson-databind/issues/938","id":106945299,"number":938,"title":"Regression: StackOverflowError with with 2.6.x (2.5.4 works fine)","user":{"login":"jloisel","id":3208716,"avatar_url":"https://avatars.githubusercontent.com/u/3208716?v=3","gravatar_id":"","url":"https://api.github.com/users/jloisel","html_url":"https://github.com/jloisel","followers_url":"https://api.github.com/users/jloisel/followers","following_url":"https://api.github.com/users/jloisel/following{/other_user}","gists_url":"https://api.github.com/users/jloisel/gists{/gist_id}","starred_url":"https://api.github.com/users/jloisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jloisel/subscriptions","organizations_url":"https://api.github.com/users/jloisel/orgs","repos_url":"https://api.github.com/users/jloisel/repos","events_url":"https://api.github.com/users/jloisel/events{/privacy}","received_events_url":"https://api.github.com/users/jloisel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T09:29:13Z","updated_at":"2015-09-23T18:08:44Z","closed_at":null,"body":"Hi,\r\n\r\nI encounter the following issue with 2.6.x (works fine with 2.5.4):\r\n> java.lang.StackOverflowError\r\n\tat com.fasterxml.jackson.databind.type.ClassKey.<init>(ClassKey.java:43)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._fromClass(TypeFactory.java:869)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._constructType(TypeFactory.java:480)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings._resolveBindings(TypeBindings.java:314)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings._resolve(TypeBindings.java:212)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings.findType(TypeBindings.java:126)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._fromVariable(TypeFactory.java:1068)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._constructType(TypeFactory.java:493)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(TypeFactory.java:397)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(TypeFactory.java:373)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._fromParamType(TypeFactory.java:1032)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._constructType(TypeFactory.java:484)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings._resolveBindings(TypeBindings.java:267)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings._resolveBindings(TypeBindings.java:328)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings._resolve(TypeBindings.java:212)\r\n\tat com.fasterxml.jackson.databind.type.TypeBindings.findType(TypeBindings.java:126)\r\n\tat com.fasterxml.jackson.databind.type.TypeFactory._fromVariable(TypeFactory.java:1068)\r\n...\r\n\r\nThe JUnit which shows how to reproduce the error:\r\nhttps://gist.github.com/jloisel/1d36c017f5b27617c27b"},"comment":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/comments/142683699","html_url":"https://github.com/FasterXML/jackson-databind/issues/938#issuecomment-142683699","issue_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/938","id":142683699,"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":"2015-09-23T18:08:44Z","updated_at":"2015-09-23T18:08:44Z","body":"@jloisel haven't had time to dig into this yet. It does seem odd that there is discrepancy here.\r\nI am guessing that it should be possible to further isolate the problem wrt datatype on common-lang (as per test project), but simply construct `JavaType` for it, instead of going through serialize or deserialize.\r\nBut I will try to find time to troubleshoot the problem as is; obviously there is something wrong going on."}}