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
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: PlayBook Error - Web Packager Exception Occured

 

Hey Ryan

 

Which example are you trying to build  ?

Have you got a link ?

 

Are you building  for AdobeAir, or for WebWorks ?

Can you show what you typed at the command line, or which batch you used (if you setup a batch file)

 

You're not somehow packaging the wrong sample, or using the wrong packager ?

 

Regards, H.

Please use plain text.
New Contributor
ericleili
Posts: 2
Registered: ‎02-07-2011
My Device: Not Specified

Re: PlayBook Error - Web Packager Exception Occured

Try build a simple application first. LOL.

Please use plain text.
Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl
My Carrier: Telecom NZ

Re: PlayBook Error - Web Packager Exception Occured

Cheers for responding,

 

So for my latest attempt I started off with a fresh install of Windows 7 32 in VMWare player.

 

I downloaded a fresh copy of the webworks SDK from here:

http://us.blackberry.com/developers/tablet/webworks.jsp

 

I also downloaded a fresh copy of the air SDK from here:

http://www.adobe.com/products/air/sdk/

 

I decompressed the AdobeSDK and then installed the WebWorks sdk with no errors.

 

I made sure that the paths in the bbwp.properties file are correct.

 

I donwloaded the sketchpad_simple application from here: http://supportforums.blackberry.com/t5/Web-Development/Sample-Code-SketchPad-Application/ta-p/614077

 

I navigated in the command prompt to the bbwp directory and ran the following command:  

bbwp c:\projects\sketchPad_Standard.zip

 

I also tried it with another .zip file that amounted to a config.xml file and an html file

 

I really don't see where i'm missing a step. I know that the packager is working for the most part because if I do something like remove the config.xml file from the archive I get an error saying that. It just appears to have a problem with linking to the JRE. My WebWorksSDK installer has a file version of 11.5.0.0, perhaps someone has an older version that I can try?

 

Thanks

 

- Ryan

 

 

 

Please use plain text.
Contributor
vinu76jsr
Posts: 10
Registered: ‎02-08-2011
My Device: Not Specified

Re: PlayBook Error - Web Packager Exception Occured

I am also having this problem, tried everything, read in some forums that this is related to the fact that your jvm is 64 bit (mine is not) basically it seems some people have this issue for no apparent reason, I am using

Windows XP sp3 inside sun virtualbox , installed jvm 1.6.23, everything is updated,

there is also another jre which is inside blackberry install folder.

 

any suggestion?

Please use plain text.
Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl
My Carrier: Telecom NZ

Re: PlayBook Error - Web Packager Exception Occured

Yes thats the jre that the packager uses - you can see that the bbwp.properties file points to it, I've also tried pointing it to a new download of the sun JRE without any success, I don't think its a problem with the JRE but with the linker.

 

 

Please use plain text.
Contributor
vinu76jsr
Posts: 10
Registered: ‎02-08-2011
My Device: Not Specified

Re: PlayBook Error - Web Packager Exception Occured

just tried doing with nascent Windows 7 installation and setting environment variable to jre installed with RIM(there is no jdk or any other jre in system.) but no luck , same error, so it must be something to do with current sdk, I am at loss here, #newdeveloperanddesperate

Please use plain text.
Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl
My Carrier: Telecom NZ

Re: PlayBook Error - Web Packager Exception Occured

Yeah, thats why I'm wondering if anyone has an older version that I can try out - I"m guessing that everyone here has an older version that works. Unfortunately BlackBerry are kind of hard to get hold of, I have created a support ticket but no interest yet.

Please use plain text.
Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl
My Carrier: Telecom NZ

Re: PlayBook Error - Web Packager Exception Occured

Ok so one thing I noticed was that both you and I were running the packager on either 64bit OS's or on a virtualised OS, so I whent and grabbed an old P4, set up Windows XP sp2, spent an hour trying to find the right drivers, downloaded the SDK, AIR, and the example application - but still had no luck.

 

It has to be a problem with the current version of the SDK as I have run it now on several different platforms with exactly the same problem each time. I'm kind of fuming as I've wasted several hours on this when I should be developing.

 

Hopefully someone from RIM gets back to us soon.

Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: PlayBook Error - Web Packager Exception Occured

 

 

FYI: I'm running on 64-bit Win 7, and no problems. Also got latest SDK installed (11.5.0.0).

 

Will try and install via your instructions on another VPC.

 

.H

Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: PlayBook Error - Web Packager Exception Occured

 

Excellent .. :smileyhappy: I can recreate the error .... now the question is just why ?

 

Dowloaded the latest SDKs and installed on WinXP VPC and also get the error:

 

 

java.io.FileNotFoundException: C:\DOCUME~1\Heiko\LOCALS~1\Temp\widgetGen.15788033641297229558195.tmp\sketchPadStandard.swf

 

Now lets see if we can drill down a bit more :smileyhappy:

 

 As mentioned runs fine on my 64-bit Win 7 dev system. (not using the latest SDKs)

Please use plain text.