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

Reply
Contributor
Posts: 41
Registered: ‎07-20-2011
My Device: BlackBeery 9800
My Carrier: Blackberry
Accepted Solution

Cod file not generated

Hi,

 

I am not able to generate the cod file after doing some modifications to the code. I didnt add any new class or method to the code. I just had a 2 lines of code and generated my cod file, but due to some problem i get null pointer error.I tried almost everything that the forum suggested.The following are what i did

 

1. Clear the project folder and build again

2. Clear the simulator

3. Deleted the unwanted files

 

Please give some other ways to do this.

 

Thanks & Regards,
Paabs
Trusted Contributor
Posts: 151
Registered: ‎06-17-2010
My Device: Curve 8900
My Carrier: Vodafone

Re: Cod file not generated

delete bin folder from your application location and then build your project again.
--------------------------------------------------------------------
Please mark posts as solved if you found a solution.
Feel free to press the kudos button to thank the user that helped you.
Contributor
Posts: 41
Registered: ‎07-20-2011
My Device: BlackBeery 9800
My Carrier: Blackberry

Re: Cod file not generated

[ Edited ]

Thanks Albert, but your method doesn't work for me. When I delete the bin folder execute the program, I got an error message like

 

D:\Programfiles\Eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\6.0.0\MYProject deliverables\Standard\6.0.0\MYProject.rapc -sourceroot=D:\Workspace\MYProject\src;D:\Workspace\MYProject\res -import=D:\Programfiles\Eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\lib\net_rim_api.jar D:\Workspace\KSoapLibrary\Lib\ksoap2-j2me-core-prev-2.1.2.jar D:\Workspace\MYProject\bin
Error: D:\Workspace\MYProject\bin (The system cannot find the file specified)
Packaging project MYProject failed (took 0.264 seconds)

 

 

I'll make my problem clear.

My project was creating cod file till yesterday. After modifying some of the code, when i tried to generate the cod file and executing the project I am getting a result that was not used in the code. I mean I'm getting an alert message that already commented in my code.

 

Anyone please help me to sort out this issue. I'm almost at the end of this project and my client need a demo today.

 

Thanks & Regards,
Paabs
Contributor
Posts: 41
Registered: ‎07-20-2011
My Device: BlackBeery 9800
My Carrier: Blackberry

Re: Cod file not generated

Thanks for you time.

 

I solved my issue myself

 

Thanks & Regards,
Paabs
Highlighted
Trusted Contributor
Posts: 184
Registered: ‎11-26-2010
My Device: Not Specified

Re: Cod file not generated

paabs, can you share how you solved it?

 

A Y.