com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
This is how I fixed the problem:
In your problematic Netbeans Mobility Project go to /nbproject/project.properties
Search for the property "manifest.midlets". In my case, this property had no value and so I had to add one like this
manifest.midlets=MIDlet-1:
Put a new line feed "\n" if using Notepad in Windows. and include the space between the two commas above.
So for example:
manifest.midlets=MIDlet-1: HelloMidlet, , com.midlet.HelloMidlet
If there are other reasons/solutions to this above problems, please drop a line