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
Visitor
Alawaiapps
Posts: 1
Registered: ‎03-26-2011
My Device: iPhone
My Carrier: AT&T

Re: PlayBook Error - Web Packager Exception Occured

I'm running Win7 x64 physical machine and get the same error.  I have downloaded everything listed on the WebWorks howto guide.

 

I've copied MSVCR71.dll to c:\Windows\System32 and still get the error.

 

What else am I missing?

Please use plain text.
New Contributor
hiSunil
Posts: 4
Registered: ‎04-28-2011
My Device: Playbook, Curve, Torch
My Carrier: Airtel

Re: PlayBook Error - Web Packager Exception Occured

I had the same issue and my windows was installed in e: the dll file was found in e:\windows\ystem32 dir.
The issue got resolved after copying the .dll file to bbwp dir

Thanks,
Sunil
Please use plain text.
New Contributor
sproutsoft
Posts: 2
Registered: ‎03-31-2011
My Device: Developer
My Carrier: Sprint

Re: PlayBook Error - Web Packager Exception Occured

running Win 7 x64 clean install under Virtual Box, copying the dll to system32 DID NOT work for me, but copying it to the bbwp directory DID finally work. this is with webworks sdk 2.0.0.4.
Please use plain text.
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: PlayBook Error - Web Packager Exception Occured

Share my tip to others for Webworks Package.

7.Package application for Smartphone Webworks
cd C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk
bbwp "C:\Users\test.zip" -o "C:\Users"
a. See Failed to find a <feature> element. --> The <feature> element is not a required field, so this warning message should not be considered an error.


b.Solve jvml.dll issue by reinstall jdk 32 bit and blackberry applications to the same directory under Program Files (x86).
[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\Java\jdk1.6.0_18\jre\bin\server\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Admin\AppData\Local\Temp\widgetGen.18064
135761294971417022.tmp\test.swf (The system cannot find the file sp
ecified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.rim.tumbler.file.FileManager.copyFile(FileManager.java:473)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:126)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:154)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:80)
[ERROR] Air Packager exception occurred

 

c.solve the issue by Airsdk installation for Smartphone Webworks package.
How to install airsdk-->a.extract into program files (x86).
 b.change My Computer\Properties\Advanced\Environment Variables\System Variables\
            Select New, enter adl in the variable name. and c:\Program Files\airsdk\bin\adl.exe
    adt and C:\Program Files\airsdk\bin\adt.exe
  c.Restart computer.
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5>bbwp "
C:\Users\test.zip" -o "C:\Users"
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating application archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling BlackBerry WebWorks application
[INFO] Generating output files
[WARNING] Attempt to make directory failed(C:\Users\StandardInstal
l)
[WARNING] Attempt to make directory failed(C:\Users\OTAInstall)
[ERROR] C:\Users\StandardInstall\test.cod (The system cannot fin
d the path specified)


d.After package Tablet Webworks, get jvm.dll issue.
Solve it by add javac path under
   a.change My Computer\Properties\Advanced\Environment Variables\System Variables\
   b.Insert javac path under "Path" ;C:\Program Files (x86)\Java\jdk1.6.0_32\bin
   c.Restart computer.

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.2.0.5\bbwp>bbwp "C:\Users\Webworks\test.zip" -o "C:\Users"
[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 (x86)\Research In Motion\BlackBerry WebWorks SDK
for TabletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Admin\AppData\Local\Temp\widgetGen.42142
87251338478809121.tmp\test.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

-Fight with BB10
Please use plain text.
Contributor
GigaDon
Posts: 13
Registered: ‎11-13-2012
My Device: BlackBerry PlayBook 1, Curve 2, Bold 5 and Storm 2
My Carrier: Airtel Nigeria

Re: PlayBook Error - Web Packager Exception Occured

I have this file MSVCR71.dll already in my System32 folder but I am still getting the error, this time:

 

Error: could not find a JVM.
[INFO] java.io.FleNotFoundException: C:\Users\Seun\AppData\Local\Temp\widgetGen.406375301358269193715.tmp\SampleApp.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

 

Please your help will be much appreciated. Thanks in advance!

 

Please use plain text.