Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12859] Blackberry : Getting java null point exception error while trying to run BlackBerry app on device in windows 7

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-02-26T19:34:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeJosh Roesslein
Created2013-02-26T19:07:44.000+0000
Updated2014-06-19T12:42:56.000+0000

Description

Description: 1. Create a default app for BB in studio 2. Run it on BB device 3. Notice the messages in the console Actual Result: 1. We are getting Java.null.pointer.exception in the console.
[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
java.lang.NullPointerException
	at com.qnx.bbt.bar.BARManifest.loadDebugTokenInfo(BARManifest.java:819)
	at com.qnx.bbt.bar.BARManifest.updateAuthor(BARManifest.java:802)
	at com.qnx.bbt.bar.BARManifest.generateManifestAttributes(BARManifest.java:279)
	at com.qnx.bbt.bar.BARManifest.generate(BARManifest.java:205)
	at com.qnx.bbt.bar.BAROutputStream.addBarManifest(BAROutputStream.java:87)
	at com.qnx.bbt.bar.BAROutputStream.generateManifest(BAROutputStream.java:66)
	at com.qnx.bbt.bar.BARPackager.addSpecialFiles(BARPackager.java:83)
	at com.qnx.bbt.bar.BARPackager.doCreatePackage(BARPackager.java:316)
	at com.qnx.bbt.bar.BARPackager.createPackage(BARPackager.java:303)
	at com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:599)
	at com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)
	at com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)
	at com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)
Error: null
Command '['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
Expected result: 1.The app should run on BB device

Comments

  1. Lokesh Choudhary 2013-02-26

    It might be a debug token issue on the win 7 machine but verifying to make it clear
  2. Lokesh Choudhary 2013-02-26

    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.
  3. Lokesh Choudhary 2013-02-26

    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. Thus closing as invalid.

JSON Source