This page was last modified 11:55, 23 August 2007.
KIJ000524 - MIDlet attributes on JAD and manifest files have to match
From Forum Nokia Wiki
MIDlet attributes on JAD and manifest files have to match
|
KIJ000524
|
Overview
| -
|
Reported against
| S60 3rd Edition
|
Date identified
| December 19, 2006
|
Symptoms
| -
|
Detailed description
| The MIDP specification states that: "If the MIDlet suite is trusted then the values in the application descriptor MUST be identical to the corresponding attribute values in the Manifest." It also states about JAD and manifest attributes: "Leading and trailing spaces in name, icon and class are ignored." However, when installing a signed MIDlet on an S60 3rd Edition device, the installation fails with an error stating that the JAD and manifest attributes do not match if there are extra spaces around the MIDlet-<n> attributes in one of the files and no extra spaces in the other file. For example, if the MIDlet is signed and if the manifest file contains the following entry (note that there is one extra space character after the colon) MIDlet-1: HelloWorld, , com.nokia.fn.HelloWorld and the JAD file contains the following entry MIDlet-1: HelloWorld, , com.nokia.fn.HelloWorld the installation will fail.
|
How to reproduce
| -
|
Solution
| The workaround is to make sure that the manifest and JAD attributes match exactly and that there are no extra spaces.
|