{ "id": "110253", "key": "TIMOB-12859", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-02-26T19:34:20.000+0000", "created": "2013-02-26T19:07:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:56.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create a default app for BB in studio\r\n2. Run it on BB device\r\n3. Notice the messages in the console\r\n\r\nActual Result:\r\n1. We are getting Java.null.pointer.exception in the console.\r\n{code}\r\n[INFO] Command: blackberry-nativepackager.bat -package C:\\Users\\tester\\Desktop\\BBTiStud\\BB_Workspace\\window\\build\\blackberry\\arm\\o.le-v7-g\\window.bar bar-descriptor.xml -e C:\\Users\\tester\\Desktop\\BBTiStud\\BB_Workspace\\window\\build\\blackberry\\arm\\o.le-v7-g\\window window -buildID 1 assets framework -devMode -debugToken C:\\Users\\tester\\Desktop\\BBTiStud\\debugtoken.bar\r\njava.lang.NullPointerException\r\n\tat com.qnx.bbt.bar.BARManifest.loadDebugTokenInfo(BARManifest.java:819)\r\n\tat com.qnx.bbt.bar.BARManifest.updateAuthor(BARManifest.java:802)\r\n\tat com.qnx.bbt.bar.BARManifest.generateManifestAttributes(BARManifest.java:279)\r\n\tat com.qnx.bbt.bar.BARManifest.generate(BARManifest.java:205)\r\n\tat com.qnx.bbt.bar.BAROutputStream.addBarManifest(BAROutputStream.java:87)\r\n\tat com.qnx.bbt.bar.BAROutputStream.generateManifest(BAROutputStream.java:66)\r\n\tat com.qnx.bbt.bar.BARPackager.addSpecialFiles(BARPackager.java:83)\r\n\tat com.qnx.bbt.bar.BARPackager.doCreatePackage(BARPackager.java:316)\r\n\tat com.qnx.bbt.bar.BARPackager.createPackage(BARPackager.java:303)\r\n\tat com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:599)\r\n\tat com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)\r\n\tat com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)\r\n\tat com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)\r\nError: null\r\nCommand '['blackberry-nativepackager.bat', '-package', u'C:\\\\Users\\\\tester\\\\Desktop\\\\BBTiStud\\\\BB_Workspace\\\\window\\\\build\\\\blackberry\\\\arm\\\\o.le-v7-g\\\\window.bar', 'bar-descriptor.xml', '-e', u'C:\\\\Users\\\\tester\\\\Desktop\\\\BBTiStud\\\\BB_Workspace\\\\window\\\\build\\\\blackberry\\\\arm\\\\o.le-v7-g\\\\window', u'window', '-buildID', '1', 'assets', 'framework', '-devMode', '-debugToken', u'C:\\\\Users\\\\tester\\\\Desktop\\\\BBTiStud\\\\debugtoken.bar']' returned non-zero exit status 1 None\r\n{code}\r\n\r\nExpected result:\r\n1.The app should run on BB device", "attachment": [], "flagged": false, "summary": "Blackberry : Getting java null point exception error while trying to run BlackBerry app on device in windows 7", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201302221817\r\nTi BB SDK : 3.1.0.v20130225112338\r\nMac OSX : 10.8.2\r\nwin 7 ", "comment": { "comments": [ { "id": "239831", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "It might be a debug token issue on the win 7 machine but verifying to make it clear", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T19:10:24.000+0000", "updated": "2013-02-26T19:10:24.000+0000" }, { "id": "239839", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "So it was the issue with the debug token (user error).I copied my author.p12, barsigner.csk and barsigner.db from my mac to windows 7 (as its mentioned in one of the Bb support forums) & then created a bar file & put it on device & everything is working fine again.\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T19:31:27.000+0000", "updated": "2013-02-26T19:31:27.000+0000" }, { "id": "239840", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "So it was the issue with the debug token (user error).I copied my author.p12, barsigner.csk and barsigner.db from my mac to windows 7 (as its mentioned in one of the BB support forums) & then created a bar file & put it on device & everything is working fine again.\r\nThus closing as invalid.\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T19:34:20.000+0000", "updated": "2013-02-26T19:34:20.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }