| Reply | « Previous Thread | Next Thread » |
|
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 |
| enxebreman |
| View Public Profile |
| Find all posts by enxebreman |
|
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 |
|
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 |
| enxebreman |
| View Public Profile |
| Find all posts by enxebreman |
|
Do the problematic phones have any older version of the MIDlet on them? (like on N78 in the inbox)
Hartti |
|
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 |
| enxebreman |
| View Public Profile |
| Find all posts by enxebreman |
|
"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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |