07-25-2012 04:28 AM
After having not packaged anything for about 3 weeks, I went to do some updates to my app (let's see if the store can keep versions correct now?), but I can't get it packaged and loaded. Nothing has changed about my Tablet SDK or my Java install.
F:\src\gvoice\blackberry\app>"c:\program files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 188.8.131.52-2\bbwp\bbwp" f:\src\gvoice\bin\blackberry\gvbb.zip -o f:\src\gvoice\bin\blackberry\tablet -d
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling WebWorks application Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
[INFO] Packaging the bar file java.io.FileNotFoundException: C:\Users\Eric\AppData\Local\Temp\widgetGen.1435599
8981343204550323.tmp\gvbb.swf (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(Unknown Source) at net.rim.tumbler.file.FileManager.copyFile(FileMana ger.java:481) at net.rim.tumbler.airpackager.AirPackager.run(AirPac kager.java:232) at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j ava:152) at net.rim.tumbler.WidgetPackager.main(WidgetPackager .java:77)
[ERROR] Air Packager exception occurred
No idea what's going on.
Help? I tried each of my 7 different regular Java installs as well as the one that came with the SDK. (yay mobile development *grr) .. and I tried installing a fresh copy of the SDK, as well as the AIR SDK. No love from any of them, and the only change is if I specify a 64-bit Java, then it crashes out earlier. Using a 32-bit Java, it crashes at the same point all the time.
07-25-2012 03:27 PM
Did the location of the Adobe AIR folder change?
Did you recently upgrade Java on your machine - curious if you have Windows UAC causing problems? If so, can you make sure that java.exe is running with the right priveledges ("run as administrator") ?
07-25-2012 05:41 PM
I made no changes to Java or AIR. The WebWorks installer makes it's own copy of both Java and the AIR SDK, and neither of them have changed. I did fresh install WebWorks into a new folder, again with it's own copy of AIR and Java, and it does the same thing. Unless the AIR SDK auto updated itself, somehow or other, then i have no idea .. perhaps i've updated my AIR runtime. and I have upgraded my Java runtime, but WebWorks should be using it's own copies, and I haven't changed the SDKs at all.
07-26-2012 08:54 PM
07-27-2012 10:01 AM
Make sure that bbwp.exe is running with admin priveledges. Looking at the error closely, it seems that it cannot find a generated file. This could be the case if Windows has blocked bbwp from creating its temp data files.
Otherwise, can you confirm that any of the file references declared inside your config.xml file are all correct? Have the targets for the icon, loadingScreen or content elements changed even in the slightest?
07-27-2012 11:16 AM
07-27-2012 11:18 AM
07-27-2012 01:39 PM
Ok, from a command prompt, can you type "java -version"? It should display "java version '1.6.0_29' " (or something similar).
Can you confirm that the version being recognized is 32-bit java, not 64 ? If it is 64, you need to have the 32 bit installed, and make sure the PATH variable points to that.
Make sure that java.exe can run with admin permissions. bbwp.exe calls java.exe so both need to execute with the right priveledges otherwise failures may happen.
Don't give up! Environmental problems like this are tough to explain because everyone's machine is different, but we'll figure it out ...
07-27-2012 04:19 PM
07-27-2012 06:20 PM - edited 07-27-2012 06:21 PM