This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240259 - Cannot run generated JAR: Invalid manifest file
Summary: Cannot run generated JAR: Invalid manifest file
Status: CLOSED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 01:50 UTC by alexander.burdukov
Modified: 2014-01-15 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexander.burdukov 2014-01-11 01:50:34 UTC
Try to run generated JAR by Mobility plugin file instead of JAD file.
As the result application is not started and the following error message is printed by ME SDK 8:

"Application cannot be installed because MicroEdition-Profile attribute is missing from the application descriptor file (.jad)"

The reason is in typo in manifest file. Manifest contains "Microedition-Profile" attribute instead of "MicroEdition-Profile" (one letter has wrong case).
Comment 1 Roman Svitanic 2014-01-11 15:09:25 UTC
fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/b86ce2e1c50c

(root cause of this issue was probably in enhancement request bug #230689, where it was written with small "e" and I've copied that string from there)
Comment 2 alexander.burdukov 2014-01-15 13:50:27 UTC
Verified on 201401150002 build.