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
patavarini
Posts: 35
Registered: ‎12-01-2011
My Device: BlackBerry 8520

Invalid value for RIM-COD-Selection header: null

For my client, i'm loading the deliverables files on a private site. always worked like a champ but now, im getting an error when i try to dowload .cod file from my BlackBerry.

 

Error: HTTP Error 500.

 

Detail:

Net.rim.protocol.http.content.transcoder.HttpContentTranscoder

Exception: Invalid value for RIM-COD-Selection header: null

 

I have no idea why is this happening now.

 

What caught my attention is that when i bild the proyect, a xxx-1.debug file was created and i never saw it before. Is this causing the problem??

 

Regards.

Please use plain text.
Developer
peter_strange
Posts: 19,607
Registered: ‎07-14-2008
My Device: Not Specified

Re: Invalid value for RIM-COD-Selection header: null

What I suspect has happened here is that your cod file has got too big and you are now generating a sibling cod file.  So your cod file is now actually a zip file and contains two cod files.  To test this, change the file extension from .cod to .zip and type to open the zip file.  If you find it is a zip file, then extract the two cod files, and the two cod files, plus the jad are what you need to put up on  the private site. 

Please use plain text.