{"action":"closed","issue":{"url":"https://api.github.com/repos/junkdog/artemis-odb/issues/231","labels_url":"https://api.github.com/repos/junkdog/artemis-odb/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/junkdog/artemis-odb/issues/231/comments","events_url":"https://api.github.com/repos/junkdog/artemis-odb/issues/231/events","html_url":"https://github.com/junkdog/artemis-odb/issues/231","id":56292204,"number":231,"title":"Problems when using Two instances of World","user":{"login":"jplorandi","id":2391210,"avatar_url":"https://avatars.githubusercontent.com/u/2391210?v=3","gravatar_id":"","url":"https://api.github.com/users/jplorandi","html_url":"https://github.com/jplorandi","followers_url":"https://api.github.com/users/jplorandi/followers","following_url":"https://api.github.com/users/jplorandi/following{/other_user}","gists_url":"https://api.github.com/users/jplorandi/gists{/gist_id}","starred_url":"https://api.github.com/users/jplorandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplorandi/subscriptions","organizations_url":"https://api.github.com/users/jplorandi/orgs","repos_url":"https://api.github.com/users/jplorandi/repos","events_url":"https://api.github.com/users/jplorandi/events{/privacy}","received_events_url":"https://api.github.com/users/jplorandi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-02T20:59:05Z","updated_at":"2015-02-03T02:54:09Z","closed_at":"2015-02-03T02:54:09Z","body":"I'm coding a client/server app with LibGdx and artemis-odb, where both client and server each keep an instance of World which is replicated/reconciliated between clients and server (server is authoritative). I'm completely unable to run an instance of each within the same JVM (for testing purposes) (the server version also runs with gdx-headless-backend). The appropiate stacktrace for trunk:\r\n\r\n```\r\njava.lang.NullPointerException\r\n\tat com.artemis.EntityManager.clean(EntityManager.java:245)\r\n\tat com.artemis.World.process(World.java:567)\r\n``` \r\n\r\nThis worries me to no end since I will want to run many such servers within a single JVM. Is this a known bug? I'll try to create a test case as soon as I can.\r\n\r\nEDIT: basically the EntityManager's recyclingEntityFactory is null somehow."}}