Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 3
Registered: ‎02-25-2012
My Device: Curve 8520
My Carrier: Orange Romania

[ERROR] Air Packager exception occurred - Tablet

[ Edited ]


C:\Users\Mihai>cd C:\Program Files\Research In Motion\BlackBerry WebWorks SDK fo
r TabletOS 2.2.0.5\bbwp

C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5
\bbwp>bbwp.exe Trigonometry.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
Error loading: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for T
abletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Mihai\AppData\Local\Temp\widgetGen.71379
26911330635329392.tmp\Trigonometry.swf (The system cannot find the file specifie
d)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.rim.tumbler.file.FileManager.copyFile(FileManager.java:481)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:232)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred

 

I managed to package and convert an application once..I've reinstalled my windows since then (lost everything because of my hard disk dieing on me)...Now I can't seem to be able to package anything

 

Using windows 7 ultimate 32-bit

 

 

PS: There is something wrong with my sdk,adobeair/jdk since I  can't even package the sample apps I downloaded

 


C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5
\bbwp>bbwp.exe UIExamples.zip
[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 loading: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for T
abletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Mihai\AppData\Local\Temp\widgetGen.14126
719751330635603512.tmp\UIExamples.swf (The system cannot find the file specified
)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.rim.tumbler.file.FileManager.copyFile(FileManager.java:481)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:232)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred

C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5
\bbwp>

 

 

..Is there any order in which I have to install those tools?

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: [ERROR] Air Packager exception occurred - Tablet

I suspect this is the root of the issue:

 

Error loading: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for T
abletOS 2.2.0.5\jre\bin\client\jvm.dll

 

What this tells me is that the Java executable is being blocked - maybe by Windows user authentication control (UAC)?

 

Can you check and confirm that both bbwp.exe and java.exe are running as administrator?

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Contributor
Posts: 3
Registered: ‎02-25-2012
My Device: Curve 8520
My Carrier: Orange Romania

Re: [ERROR] Air Packager exception occurred - Tablet

Thanks for your answer...

I tried to move everything on another PC (got new signing keys...) and it worked there...That one is using windows XP..No idea why it didn't want to work on this one(W7 32bit)
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: [ERROR] Air Packager exception occurred - Tablet

UAC on Win7 (and Vista) interferes a lot.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Contributor
Posts: 3
Registered: ‎02-25-2012
My Device: Curve 8520
My Carrier: Orange Romania

Re: [ERROR] Air Packager exception occurred - Tablet

Had it deactivated so that shouldn't be the problem...Unless it still interfered somehow
Highlighted
Contributor
Posts: 18
Registered: ‎03-22-2013
My Device: Playbook
My Carrier: N/A

Re: [ERROR] Air Packager exception occurred - Tablet

I've been able to solve this by changing the value to the variable JAVA_HOME, since I had Windows 7 64-bit, the value of that variable pointing to the installation of java in C: \ Program Files \ Java \ jdk1.7.0_04, simply I changed by installing 32-bit Java, ie C: \ Program Files (x86) \ Java \ jdk1.7.0_04 and it works correctly.