You Are Here:

Community: Wiki

This page was last modified on 12 June 2009, at 08:28.

KIJ001372 - MIDlet cannot be installed with extra whitespace characters in JAD file

From Forum Nokia Wiki



ID KIJ001372 Creation date June 12, 2009
Platform S60 3rd Edition, FP1 + FP2, S60 5th Edition Devices Nokia E71, Nokia N79, Nokia N96, Nokia 5800 XpressMusic
Category Java ME Subcategory Installation


Keywords (APIs, classes, methods, functions):

Description

According to MIDP specifications, whitespace characters are ignored before and after the JAD attribute value.

If the user tries to install a MIDlet where the JAD file has extra whitespace characters after the last JAD attribute/value pair, the installation fails with the prompt Compulsory attributes missing.

How to reproduce

1. Take the JAD file of any MIDlet and add whitespace characters after the last JAD attribute/value pair.

2. Try to install the MIDlet with the modified JAD file. For the affected devices, the installation fails with Compulsory attributes missing.

Solution

Remove extra whitespace characters from JAD files.

This issue is expected to be fixed in future software versions, starting with S60 5th Edition.

Related Wiki Articles

No related wiki articles found

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