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
New Contributor
pratiksharma
Posts: 5
Registered: ‎04-13-2011
My Device: Blackberry curve
My Carrier: development

Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

Hi,

 

I am getting this response "Error starting XYZ: Module 'XYZ-2' attempts to access a secure API" from the appworld after submitting my application for the review.

After that I have take all 3 required keys to get my code files signed.

 

And I have successfully get all code files signed and submit my application again to the appworld.

But again I am getting the same error from the appworld.

 

So what should I do now to resolve this issue.

Please help me out anyone from this issue.

 

Thanks.

Please use plain text.
Developer
simon_hain
Posts: 15,947
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

clean your project, rebuild, sign and submit.

check if the resulting cod file is really signed before submitting by opening it with the signature tool manually

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
Pascal_Bourque
Posts: 149
Registered: ‎03-09-2009
My Device: Not Specified

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

Maybe your .jad is not correct, sometime it compile and want to split que COD in to but in real life it doesn't so what you have to do is to remove the line that talk about the COD-2.

 

Hope it wil help you...

Pascal Bourque, Analyste-Programmeur : "je pense donc je programme"
Really want to thank a user? Click the Kudos! badge on right side of the message. When you do so, you are offering a thumbs up for good content and a pat on the back to its author.
Accepted Solutions is a way for you to choose the reply that best answers a thread that you've started. To mark a message as a solution: Click the Solution? icon on the reply.
Please use plain text.
Developer
simon_hain
Posts: 15,947
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

 


Pascal_Bourque wrote:

Maybe your .jad is not correct, sometime it compile and want to split que COD in to but in real life it doesn't so what you have to do is to remove the line that talk about the COD-2.

 

Hope it wil help you...


 

this advise is wrong, don't do something like this.

it may be possible that the jad file is incorrect though, delete it and rebuild the application.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
Pascal_Bourque
Posts: 149
Registered: ‎03-09-2009
My Device: Not Specified

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

@Simon_hain

 

It's not because you never do that it's a wrong answer. Some case, espacially if you rename the projet during the developement you need to do this, because the clean, rebuild is not enough. I try it, and work perfectly.

 

Sometimes we need some alternative ways...

Pascal Bourque, Analyste-Programmeur : "je pense donc je programme"
Really want to thank a user? Click the Kudos! badge on right side of the message. When you do so, you are offering a thumbs up for good content and a pat on the back to its author.
Accepted Solutions is a way for you to choose the reply that best answers a thread that you've started. To mark a message as a solution: Click the Solution? icon on the reply.
Please use plain text.
New Contributor
pratiksharma
Posts: 5
Registered: ‎04-13-2011
My Device: Blackberry curve
My Carrier: development

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

thanks.

I had done clean project, rebuild ,sign and submit again.

Let's see what I get from the appworld.

 

I just want to know that how to opening the cod file with the signature tool manually?

In case it its rejected again from appworld then this would be my last try to do.

Please use plain text.
Developer
simon_hain
Posts: 15,947
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Error starting XYZ: Module 'XYZ-2' attempts to access a secure API

you can start the signing tool by executing SignatureTool.jar (either it is correctly mapped, or you can use the command line with java -jar). It displays a dialog to open a file, then.

you can also assign the tool as the default app for cod files, this allows you to doubeclick the cod file to sign it.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.