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

Java 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
Contributor
Posts: 13
Registered: ‎04-01-2012
My Device: blackberry torch 2
My Carrier: at&t

Jar Error

Hello, 

 

for some reason i just began getting this error everytime i try to run my app.

 

C:\Eclipse\blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\6.0.0\ProjectName deliverables\Standard\6.0.0\ProjectName.rapc -sourceroot=C:\Users\Sam\workspace1\ProjectName\src;C:\Users\Sam\workspace1\ProjectName\res;

C:\Users\Sam\workspace1\ProjectName -import=C:\Eclipse\blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\lib\net_rim_api.jar C:\Users\Sam\workspace1\BlackBerry_Advertising_Service_SDK_MR3__B124\For_Post6.0.0\net_rim_bbapi_adv_app.jar C:\Users\Sam\workspace1\ProjectName\bin\deliverables\Standard\6.0.0\ProjectName.jad C:\Users\Sam\workspace1\ProjectName\bin
JAR file creation failed with error -1
The preverified classes if any are in tmp11479. See jar log of errors in C:\Users\Sam\AppData\Local\Temp\rapc_75b6c29c.dir\jarlog.txt
Error!: Error: preverifier failed: C:\Eclipse\blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\bin\preverify.exe

 

and whats confusing me about this is that i don't always get the error, the error only comes out every other time i try to run my app, so if I run and the above error gets throws, and i click run again the error goes away, and then comes back when i run again. and if i try to run it on an actual device it wont work 

 

Has anyone else seen this before? any help would be appreciated.

 

Thank You

Sam

 

Developer
Posts: 228
Registered: ‎10-01-2011
My Device: Passport

Re: Jar Error

Try turningoff "Build Automatically" I find it causes a lot of issues for me on Win 7 64.

Contributor
Posts: 13
Registered: ‎04-01-2012
My Device: blackberry torch 2
My Carrier: at&t

Re: Jar Error

no, unfortunately that didn't really help.

Developer
Posts: 228
Registered: ‎10-01-2011
My Device: Passport

Re: Jar Error

What is in the log file?

 

C:\Users\Sam\AppData\Local\Temp\rapc_75b6c29c.dir\jarlog.txt 

 

The fact that it works the second time suggests to me the issue is in the order in which things are being built,  have you tried reordering your build?

 

The other thing I would try is create a new project directory and import this project into this workspace and see if the issue goes away.   You can try also eclipse -clean  in case it is a cache issue.

 

Eclipse can be fussy sometimes, I want my JBuilder back!