{"action":"created","issue":{"url":"https://api.github.com/repos/protostuff/protostuff/issues/111","labels_url":"https://api.github.com/repos/protostuff/protostuff/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/protostuff/protostuff/issues/111/comments","events_url":"https://api.github.com/repos/protostuff/protostuff/issues/111/events","html_url":"https://github.com/protostuff/protostuff/issues/111","id":62806625,"number":111,"title":"Exception in RuntimeSchema.createFrom(...)","user":{"login":"kshchepanovskyi","id":4040120,"avatar_url":"https://avatars.githubusercontent.com/u/4040120?v=3","gravatar_id":"","url":"https://api.github.com/users/kshchepanovskyi","html_url":"https://github.com/kshchepanovskyi","followers_url":"https://api.github.com/users/kshchepanovskyi/followers","following_url":"https://api.github.com/users/kshchepanovskyi/following{/other_user}","gists_url":"https://api.github.com/users/kshchepanovskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/kshchepanovskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshchepanovskyi/subscriptions","organizations_url":"https://api.github.com/users/kshchepanovskyi/orgs","repos_url":"https://api.github.com/users/kshchepanovskyi/repos","events_url":"https://api.github.com/users/kshchepanovskyi/events{/privacy}","received_events_url":"https://api.github.com/users/kshchepanovskyi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/protostuff/protostuff/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/protostuff/protostuff/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"kshchepanovskyi","id":4040120,"avatar_url":"https://avatars.githubusercontent.com/u/4040120?v=3","gravatar_id":"","url":"https://api.github.com/users/kshchepanovskyi","html_url":"https://github.com/kshchepanovskyi","followers_url":"https://api.github.com/users/kshchepanovskyi/followers","following_url":"https://api.github.com/users/kshchepanovskyi/following{/other_user}","gists_url":"https://api.github.com/users/kshchepanovskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/kshchepanovskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshchepanovskyi/subscriptions","organizations_url":"https://api.github.com/users/kshchepanovskyi/orgs","repos_url":"https://api.github.com/users/kshchepanovskyi/repos","events_url":"https://api.github.com/users/kshchepanovskyi/events{/privacy}","received_events_url":"https://api.github.com/users/kshchepanovskyi/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-18T21:31:35Z","updated_at":"2015-03-19T05:34:17Z","closed_at":null,"body":"We found very weird exception on one of our servers, after server restart it disappear. That server is using protostuff-1.0.8. Need to analyze why it could happen, if possible.  I do not exclude theory that something was deployed in wrong way.\r\n\r\n```\r\nCaused by: java.lang.NullPointerException [oapi-service-thread-3]\r\nE 0317-1547:18,453  at com.dyuproject.protostuff.runtime.RuntimeSchema.createFrom(RuntimeSchema.java:236) [oapi-service-thread-3]\r\nE 0317-1547:18,453  at com.dyuproject.protostuff.runtime.RuntimeSchema.createFrom(RuntimeSchema.java:147) [oapi-service-thread-3]\r\nE 0317-1547:18,453  at com.playtech.openapi.core.frontend.messages.resolver.SchemaCache.createSchema(SchemaCache.java:45) [oapi-service-thread-3]\r\nE 0317-1547:18,453  at com.playtech.openapi.core.frontend.messages.resolver.SchemaCache.getSchema(SchemaCache.java:37) [oapi-service-thread-3]\r\nE 0317-1547:18,453  at com.playtech.openapi.core.frontend.messages.serialization.SerializationHolder.getSchema(SerializationHolder.java:29) [oapi-service-thread-3]\r\nE 0317-1547:18,453  ... 6 more [oapi-service-thread-3]\r\n```"},"comment":{"url":"https://api.github.com/repos/protostuff/protostuff/issues/comments/83337937","html_url":"https://github.com/protostuff/protostuff/issues/111#issuecomment-83337937","issue_url":"https://api.github.com/repos/protostuff/protostuff/issues/111","id":83337937,"user":{"login":"dyu","id":79355,"avatar_url":"https://avatars.githubusercontent.com/u/79355?v=3","gravatar_id":"","url":"https://api.github.com/users/dyu","html_url":"https://github.com/dyu","followers_url":"https://api.github.com/users/dyu/followers","following_url":"https://api.github.com/users/dyu/following{/other_user}","gists_url":"https://api.github.com/users/dyu/gists{/gist_id}","starred_url":"https://api.github.com/users/dyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyu/subscriptions","organizations_url":"https://api.github.com/users/dyu/orgs","repos_url":"https://api.github.com/users/dyu/repos","events_url":"https://api.github.com/users/dyu/events{/privacy}","received_events_url":"https://api.github.com/users/dyu/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T05:34:17Z","updated_at":"2015-03-19T05:34:17Z","body":"Yeah weird indeed.  The error pointing to line 236 indicates that RuntimeFieldFactory.getFieldFactory returned null (if you look at the code, it never returns null).\r\n\r\nMy guess is it could be a classloading issue.  Though I'm not really sure why NPE is thrown.\r\n\r\nBtw, if you guys are using protobuf format, switching to 1.0.9 won't break compat on your side and would make the protobuf serialization more efficient."}}