{"action":"created","issue":{"url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/4","labels_url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/4/comments","events_url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/4/events","html_url":"https://github.com/myflashlab/barcode-ANE/issues/4","id":101027025,"number":4,"title":"Can't instantiate Barcode","user":{"login":"Kodiakkb","id":3121549,"avatar_url":"https://avatars.githubusercontent.com/u/3121549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kodiakkb","html_url":"https://github.com/Kodiakkb","followers_url":"https://api.github.com/users/Kodiakkb/followers","following_url":"https://api.github.com/users/Kodiakkb/following{/other_user}","gists_url":"https://api.github.com/users/Kodiakkb/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiakkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiakkb/subscriptions","organizations_url":"https://api.github.com/users/Kodiakkb/orgs","repos_url":"https://api.github.com/users/Kodiakkb/repos","events_url":"https://api.github.com/users/Kodiakkb/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiakkb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-14T14:52:18Z","updated_at":"2015-08-14T15:54:28Z","closed_at":null,"body":"I'd love to buy your extension but I can get it to work in my project.\r\n\r\nI copied as much as I could form the exBarcode to my project (code, manifest) and I get this error when I instantiate a new Barcode() on Android 4.1.1:\r\n `Error #1009: Cannot access a property or method of a null object reference.`\r\nI am able to compile, launch and use exBarcode on the same environment.\r\n\r\nSince the ANE is not in debug mode I can hardly give you more details about it. I compile with AIR16 (but I use the same to compile exBarcode).\r\nHere is the only visible object I have when my debugger stops on `new Barcode()`\r\n\r\n    this : com.doitflash.air.extensions.barcode.android.Android {\r\n\t_cancel : \"CANCEL\" \r\n\tcloseOnResultFounded : true \r\n\t_closeOnResultFounded : true \r\n\t_context : null \r\n\t_detectTypes : Array \r\n\t_isSupported : false \r\n\t_label : \"\" \r\n\t_main : com.doitflash.air.extensions.barcode.Barcode {\r\n\t\tcloseOnResultFounded : \"TypeError: Error #1010: A term is undefined and has no properties.\" \r\n\t\tcontext : null \r\n\t\t_context : null \r\n\t\t_launcher :  \r\n\t\tos : \"android\" \r\n\t\t_os : \"android\" \r\n\t}\r\n\t_ok : \"OK\" \r\n\t_rescan : \"RESCAN\" \r\n    }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/comments/131159134","html_url":"https://github.com/myflashlab/barcode-ANE/issues/4#issuecomment-131159134","issue_url":"https://api.github.com/repos/myflashlab/barcode-ANE/issues/4","id":131159134,"user":{"login":"myflashlab","id":1692948,"avatar_url":"https://avatars.githubusercontent.com/u/1692948?v=3","gravatar_id":"","url":"https://api.github.com/users/myflashlab","html_url":"https://github.com/myflashlab","followers_url":"https://api.github.com/users/myflashlab/followers","following_url":"https://api.github.com/users/myflashlab/following{/other_user}","gists_url":"https://api.github.com/users/myflashlab/gists{/gist_id}","starred_url":"https://api.github.com/users/myflashlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myflashlab/subscriptions","organizations_url":"https://api.github.com/users/myflashlab/orgs","repos_url":"https://api.github.com/users/myflashlab/repos","events_url":"https://api.github.com/users/myflashlab/events{/privacy}","received_events_url":"https://api.github.com/users/myflashlab/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T15:54:28Z","updated_at":"2015-08-14T15:54:28Z","body":"You just beed to replace any \"air.com.doitflash.exBarcode\" with \"air.toto\".\n\nOn Friday, August 14, 2015, Kodiakkb <notifications@github.com> wrote:\n\n> OK, I'm sorry, the mistake must be here but I don't get exactly what you\n> mean.\n> Suppose my app id is \"toto\". What should I write instead of\n>\n> android:name=\"air.com.doitflash.exBarcode\"\n> android:name=\"com.doitflash.barcode.MainActivity\"\n> <extensionID>com.doitflash.air.extensions.barcode</extensionID>\n>\n> ?\n> Thank you again\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/myflashlab/barcode-ANE/issues/4#issuecomment-131157689>\n> .\n>\n\n\n-- \nSent from iPhone\n"}}