Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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.
Related Discussions
Thread Thread Starter Forum Replies Last Post
App. closed FileManager matteopiccioni Mobile Java General 0 2006-04-05 11:25
how to read attrinbutes from jad funworld_0815 Mobile Java General 2 2002-07-02 12:02
Localication & unicode mcmcdonald Mobile Java General 12 2006-01-11 07:22
Installing midlet over the air in nokia 6620 goutamm Mobile Java General 2 2005-04-01 07:59
invalid file error plz help skeptic9 Mobile Java General 4 2005-05-29 16:23
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX