×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    102

    Red face compulsary attribute missing error

    Hi,
    I get a compulsary attribute missing error when i try to install my app on 5320 and some 5800(installed on mine but same error comes in my friend's). App also installed properly on 5310.
    My app is signed by thawte certificate
    My jad attached :-(
    Please help

    Code:
    MIDlet-1: Tranz,/ti.png,Tranz
    MIDlet-Certificate-1-1: MIIDRjCCAq+gAwIBAgIQbnDAoVekzuvUezhP2TAi/zANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEfMB0GA1UEAxMWVGhhd3RlIENvZGUgU2lnbmluZyBDQTAeFw0wOTEyMDEwMDAwMDBaFw0xMTEyMDEyMzU5NTlaMIGSMQswCQYDVQQGEwJJTjEPMA0GA1UECBMGS2VyYWxhMRMwEQYDVQQHEwpUcml2YW
    MIDlet-Certificate-1-2: MIIDTjCCAregAwIBAgIBCjANBgkqhkiG9w0BAQUFADCBzjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA
    MIDlet-Certificate-1-3: MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNl
    MIDlet-Jar-RSA-SHA1: IikdqNJJoA/FSROo6mZVAg64tMcIfjoIJIfPcLWvJG0SAp32Drv
    MIDlet-Jar-Size: 173413
    MIDlet-Jar-URL: Tranz_1.jar
    MIDlet-Name: Tranz-BETA
    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.pim.ContactList.read, javax.microedition.io.Connector.file.read
    MIDlet-Permissions-Opt: javax.microedition.io.Connector.file.write, javax.microedition.pim.ContactList.write
    MIDlet-Vendor: Innoz Technologies Pvt Ltd
    MIDlet-Version: 1.9.3
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    Nokia-MIDlet-On-Screen-Keypad: no

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: compulsary attribute missing error

    Are you sure it's the JAD that's the problem? What's in the MANIFEST?

    I can't see anything missing, unless it's related to the signature. Traud might have an idea. Do you get the same problem if the app is not signed?

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    102

    Red face Re: compulsary attribute missing error

    Unsigned too cause the problem :-(

    jad

    Code:
    MIDlet-1: Tranz,/ti.png,Tranz
    MIDlet-Jar-Size: 168416
    MIDlet-Jar-URL: Tranz_1.jar
    MIDlet-Name: Tranz-BETA
    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.pim.ContactList.read, javax.microedition.io.Connector.file.read
    MIDlet-Permissions-Opt: javax.microedition.io.Connector.file.write, javax.microedition.pim.ContactList.write
    MIDlet-Vendor: Innoz Technologies Pvt Ltd
    MIDlet-Version: 1.9.3
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    Nokia-MIDlet-On-Screen-Keypad: no
    and manifest is

    Code:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 14.2-b01 (Sun Microsystems Inc.)
    MIDlet-1: Tranz,/ti.png,Tranz
    MIDlet-Permissions-Opt: javax.microedition.io.Connector.file.write, ja
     vax.microedition.pim.ContactList.write
    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microe
     dition.pim.ContactList.read, javax.microedition.io.Connector.file.rea
     d
    MIDlet-Vendor: Innoz Technologies Pvt Ltd
    Nokia-MIDlet-On-Screen-Keypad: no
    MIDlet-Name: Tranz-BETA
    MIDlet-Version: 1.9.3
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    Manifest seems to be word-wrapped :P could this be the problem?

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: compulsary attribute missing error

    MANIFEST's are always wrapped like that, it's a requirement. They have a line-length limit. The continuation line always starts with a space.

    Unless I'm going blind, I can't see anything missing.

    Your icon "/ti.png"... is the name in lower-case like that? If the file is actually "/Ti.png", that might be enough to cause a problem.

    Why is the signed version so much bigger (173413 rather than 168416)? What's missing?

    If you install this OTA (over the air), does the JAR download?

    I think the next step is to make this simpler and simpler, until it works (or the problem becomes obvious). With JAD/MANIFEST problems, it's often a good idea to pare them back to the simplest you can. Remove the MIDlet-Permissions(-Opt) and the Nokia-MIDlet-On-Screen-Keypad attributes from both files.

    Graham.

  5. #5
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    102

    Red face Re: compulsary attribute missing error

    Quote Originally Posted by grahamhughes View Post
    Your icon "/ti.png"... is the name in lower-case like that? If the file is actually "/Ti.png", that might be enough to cause a problem.
    The filename is in lowercase.

    Quote Originally Posted by grahamhughes View Post
    Why is the signed version so much bigger (173413 rather than 168416)? What's missing?
    Those were different builds actually I made some changes to app in between :-) anyways both dont work.


    Quote Originally Posted by grahamhughes View Post
    If you install this OTA (over the air), does the JAR download?
    yes jar does download. then upon installation throws error.

  6. #6
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: compulsary attribute missing error

    Quote Originally Posted by ashwin.nath.m View Post
    Those were different builds actually I made some changes to app in between :-) anyways both dont work.
    OK, just checking.

    Quote Originally Posted by ashwin.nath.m View Post
    yes jar does download. then upon installation throws error.
    OK, then it could relate either to the JAD or MANIFEST.

    Quote Originally Posted by grahamhughes View Post
    I think the next step is to make this simpler and simpler, until it works (or the problem becomes obvious). With JAD/MANIFEST problems, it's often a good idea to pare them back to the simplest you can. Remove the MIDlet-Permissions(-Opt) and the Nokia-MIDlet-On-Screen-Keypad attributes from both files.
    Any joy with this?

    Also, try removing "-BETA" from the MIDlet-Name. You might guess that I'm running out of ideas.

    Graham.

Similar Threads

  1. Problem occured when run the project
    By d.devendran in forum Symbian
    Replies: 72
    Last Post: 2009-09-02, 06:15
  2. compilation error: identifier redeclared
    By netra in forum Symbian
    Replies: 2
    Last Post: 2007-06-22, 10:42
  3. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  4. [newbie here] Link error
    By xitpu in forum Symbian
    Replies: 3
    Last Post: 2007-01-24, 16:53
  5. how to avoid linking error
    By skdas in forum Symbian
    Replies: 6
    Last Post: 2003-07-07, 07:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×