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

Summary: Cannot run generated JAR: Invalid manifest file
Product: javame Reporter: alexander.burdukov
Component: ProjectAssignee: Roman Svitanic <rsvitanic>
Status: CLOSED FIXED    
Severity: normal    
Priority: P1    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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.