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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel
Accepted Solution

I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

[ Edited ]

C:\Program Files\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5>bbwp
C:\apps\sampleapp.zip -o C:\apps\Output2
[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
I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210
.tmp\sampleapp (The system cannot find the file specified)
[ERROR] RAPC exception occurred

 

 

 

How to fix this issue   

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

Can you please confirm that you have JDK6 installed and that it is 32-bit?

Also, can you confirm whether you have any subfolder named 'src' in your project / ZIP folder?

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

java version

 

 

 

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)

 

 

and            In my zip file of application I have the follwoing folders

 

images

 

 

js

 

realtime-notifications

 

s40-theme

 

config.xml

 

 

index.html

 

 

4 PNG images

 

 

 

The folder realtime-nitifications        consist of   folders  "examples" and "src"    and ReadMe .md file same as   the

 

original  "pusher-html5-realtime-push-notifications-c61b0e1" folder from github

 

 

 

 

Highlighted
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

waiting for your quick reply

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

The tools are not compatible with JDK7. You will need to install JDK6 and it must be the 32-bit version.

 

If you have multiple versions of the JDK, you can modify bbwp.properties in the bin subfolder of your WebWorks SDK to include the following:

<java>C:\Program Files (x86)\Java\jdk1.6.0_31</java>

 


You would update the JDK version to match your own, but note that it is referencing Program Files (x86); the 32-bit installations path. This way you can have multiple JDKs if you require, but the bbwp command should reference the appropriate JDK.

 

In short, it must be JDK6 and it must be 32-bit.


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

Regarding the JDK, please see this thread for a bit more detail that I've come across today as well:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/BlackBerry-WebWorks-SDK-2-3-1-5-...


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I/O Error: C:\Users\Shravan\AppData\Local\Temp\widgetGen.13585025011375276733210 .tmp\sampleapp (The system cannot find the file specified) [ERROR] RAPC exception occurred

Thank You Orso Now my problem  got fixed after  making the changes as said by you.

 

 

 

Now Iam able to build and package and sign the application too.