{"action":"closed","issue":{"url":"https://api.github.com/repos/jcbrand/converse.js/issues/395","labels_url":"https://api.github.com/repos/jcbrand/converse.js/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/jcbrand/converse.js/issues/395/comments","events_url":"https://api.github.com/repos/jcbrand/converse.js/issues/395/events","html_url":"https://github.com/jcbrand/converse.js/issues/395","id":75578627,"number":395,"title":"TypeError: bare is null","user":{"login":"xDaizu","id":7584835,"avatar_url":"https://avatars.githubusercontent.com/u/7584835?v=3","gravatar_id":"","url":"https://api.github.com/users/xDaizu","html_url":"https://github.com/xDaizu","followers_url":"https://api.github.com/users/xDaizu/followers","following_url":"https://api.github.com/users/xDaizu/following{/other_user}","gists_url":"https://api.github.com/users/xDaizu/gists{/gist_id}","starred_url":"https://api.github.com/users/xDaizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xDaizu/subscriptions","organizations_url":"https://api.github.com/users/xDaizu/orgs","repos_url":"https://api.github.com/users/xDaizu/repos","events_url":"https://api.github.com/users/xDaizu/events{/privacy}","received_events_url":"https://api.github.com/users/xDaizu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T12:06:38Z","updated_at":"2015-05-15T11:27:21Z","closed_at":"2015-05-15T11:27:21Z","body":"Using the index.html that you provide, and the example provided in https://conversejs.org/docs/html/configuration.html#id10 I have the following code\r\n\r\n converse.initialize({\r\n\r\n            bosh_service_url: 'http://localhost/http-bind', // Please use this connection manager only for testing purposes\r\n            i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported\r\n            keepalive: true,\r\n            jid: 'test@localhost',\r\n            authentication: 'prebind',\r\n            prebind_url: 'http://localhost/web/js/converse.js/xmpp-prebind-php-master/prebind.php',\r\n            allow_logout: false,\r\n            debug: true,\r\n\r\n            expose_rid_and_sid: true,\r\n            message_carbons: true,\r\n            play_sounds: true,\r\n            roster_groups: true,\r\n            show_controlbox_by_default: true,\r\n            xhr_user_search: false\r\n        });\r\n\r\nand it throws a strange error:\r\n\r\n    **TypeError: bare is null**\r\n\r\non converse.js (line 26844) \r\n\r\n'prebind.php' example output:\r\n\r\n    {\"jid\":\"test@localhost\",\"sid\":\"29d54a5b806d9f8b495bc4d2acc41e83bfc16fdd\",\"rid\":1331461282}\r\n\r\nNote: this output is an echo of a json_encode($sessionInfo) array. The documentation [here](https://conversejs.org/docs/html/configuration.html#id35) isn't more specific\r\n\r\nThe reason of me posting this issue here is that I'm using everything \"out-of-the-box\", using the examples provided. These examples should work, and they aren't. For me, at least :S"}}