You Are Here:

Community: Developer Discussion Boards

#1 Old Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2008-10-06, 11:00

Join Date: Nov 2004
Posts: 9
enxebreman
Offline
Registered User
Hi folks.

I'm testing my application in several phones using OTA provisioning. One of them is Nokia N78.

This strange issue happens when I try to download the application using the JAD file. After downloading the JAD file and start the download of the corresponding JAR file, it is shown the "JAR doesn't match the byte size in the JAD" message.

I know that this happens when the field "MIDlet-Jar-Size" in the JAD file has a different value from the real JAR size in bytes. I've checked the real size of the JAR file and is exactly the one specified in the JAD file.

I know as well that the web browser can use cache to store JAD files, and because of that I cleaned the web browser cache. But it didn't worked and now I'm wondering if it is a bug in that Nokia model software.

Any ideas?

Thanks in advance
Reply With Quote

#2 Old Re: Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2008-10-06, 11:47

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
I have not heard of such problem before.

Does this problem happen only on N78 phone? If yes, which other phones have you tried?
Is the JAR size in the JAD inserted by an IDE, or have you manually edited that?
Also are you sure that you have an older copy of the JAR file in the server for some reason...

Hartti
Reply With Quote

#3 Old Re: Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2008-10-06, 11:59

Join Date: Nov 2004
Posts: 9
enxebreman
Offline
Registered User
Thank you for the fast response.

>Is the JAR size in the JAD inserted by an IDE, or have you manually edited that?

I generate the JAD file using a custom tool that retrieves the size of a pregenerated JAR file that we have in our server. So the file size is exactly the same of the JAR file to download.

> Also are you sure that you have an older copy of the JAR file in the server for some reason...

I've checked if we had any old version of the JAR file in the server and there wasn't any.

> Does this problem happen only on N78 phone? If yes, which other phones have you tried?

We have the same problem using Nokia 6124 model. But we have tried using Nokia N70 and other brands' models and didn't have any problem


Thanks
Reply With Quote

#4 Old Re: Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2008-10-06, 12:03

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Do the problematic phones have any older version of the MIDlet on them? (like on N78 in the inbox)

Hartti
Reply With Quote

#5 Old Re: Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2008-10-06, 12:55

Join Date: Nov 2004
Posts: 9
enxebreman
Offline
Registered User
Thank you dude!

It worked but the fact was that in the inbox there was a JAR that had the same MIDlet name as the one I was trying to download but different JAR file name.

So I still don't know why, if the JAR file names where different, how did the phone managed to try to use the old JAR file.


Best regards
Reply With Quote

#6 Old Re: Strange issue using OTA provisioning in N78 - JAR size doesn't match JAD file - 2009-07-06, 11:17

Join Date: Mar 2009
Posts: 1
Pash237
Offline
Registered User
"Jad and jar size dont match" error could happen not only if MIDlet-Jar-Size value is wrong.
I got the same error when i have different MIDlet-Permissions in jad and MANIFEST.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
[moved] Theme Studio Error TalJ Themes/Carbide.ui 2 2009-09-06 04:39
Theme Studio 3.1 not creating themes zemm Themes/Carbide.ui 11 2008-10-18 09:41
[announce] PyUIQ. Python for UIQ 2.1 and 3.x OscarBernabeu Python 35 2008-01-17 10:12
Help needed with a 3gp file... joedoe_1981 Streaming and Video 0 2007-07-18 19:58
What is the error in my code here? Unable to Save document to file yuva69 General Symbian C++ 1 2005-05-26 15:22

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia