×

Discussion Board

Results 1 to 10 of 10

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Question 6270 "Invalid Application" Error

    I have a J2ME application that I sign with a Verisign Class 3 Digital certificate
    (trusted 3rd party domain) and it installs and works fine on my Nokia 6230i but
    when I install it on my Nokia 6270 and try and execute the application I receive
    an "Invalid Application" error and then it asks me if I want to delete the
    application. I have tried changing the permissions attributes in the jad file with
    no luck. I assume that if there was a problem with the actual signing process
    then the 6270 should not have allowed the installation in the first place. Has
    anyone seen this error on any series 40 3rd edition device? Here is the
    permissions attributes from the jad file:

    MIDlet-Permissions: javax.microedition.io.Connector.http,javax.microedition.io.Connector.datagram,javax.microedition.io.Connector.datagramreceiver,javax.microedition.io.PushRegistry,javax.wireless.messaging.sms.receive,javax.wireless.messaging.sms.send,javax.microedition.io.Connector.sms,javax.microedition.io.Connector.file.read,javax.microedition.io.Connector.file.write
    MIDlet-Permissions-Opt: javax.microedition.pim.ContactList.read

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Re: 6270 "Invalid Application" Error

    I failed to mention in my original post that if I do not sign the application then it installs and starts up fine on the 6270.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: 6270 "Invalid Application" Error

    Hello,

    How are you installing the application?

    Does the jad file has the full certificate chain? I have a signed midlet whose signature chain looks like this:

    MIDlet-Certificate-1-1: MIIE4TCCA8mgAwIBAgIQcYH/ ......
    MIDlet-Certificate-1-2: MIIEvzCCBCigAwIBAgIQQZGhWjl .....

    Daniel

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    5

    Re: 6270 "Invalid Application" Error

    Another 6270 issue... Does anyone have a reset code for this model?

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Re: 6270 "Invalid Application" Error

    I am installing the application via a USB cable and the Nokia PC suite. The certificate chain looks like this:

    MIDlet-Jar-RSA-SHA1: fmSV4RhvnHVmcAnCS6Ej+wBOBEP6endLICX5+YnhJEJadSXtsTbR+pmI/wvYlPhOs1fl5fgnVWfZ5WVjsofPML64vGOxYO/taghi+e+0aOiXxPUBr1qNH2BasdcQoJHxcwxJhfhpP5xFoJEko2NEBIeW2HvJQHoEhGZlij/GGRk=
    MIDlet-Certificate-1-1: MIIE+zCCA+OgAwIBA...
    MIDlet-Certificate-1-2: MIIEvzCCBCigAwIBAgIQV2R...

  6. #6
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: 6270 "Invalid Application" Error

    This is weird. Can you check if your 6270 has the Verisign Class 3 root certificate and it's set to authenticate Java application installations? It should be present in the later firmware versions.

    Daniel

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Re: 6270 "Invalid Application" Error

    I went to settings->security->authority certificates->certificate list and I see the following three certs from VeriSign:

    1. Class 3 Public Primary Certification Authority - G2(c) 1998 VeriSign, Inc.
    2. VeriSign Trust Network(c) 1999 VeriSign, Inc. - For Authorized use only
    3. VeriSign Trust NetworkTerms of use at https://www.verisign.com/rpa (c)01

    They are all enabled for application signing and server authentication but I don't see an option specific to java.

  8. #8
    Registered User
    Join Date
    Jun 2005
    Location
    Iceland
    Posts
    5

    Re: 6270 "Invalid Application" Error

    Make sure the MIDlet-Permissions property in the jad and manifest file are identical.
    I've seen this error a few times when there has been a mismatch there.

  9. #9
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Re: 6270 "Invalid Application" Error

    Well, I checked the permissions attribute in the manifest and the jad and they are identical.

  10. #10
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    Re: 6270 "Invalid Application" Error

    Well, I solved this issue. Heres the deal: I had some user defined attributes in my jad file and manifest file and in two cases they did not match because of an error in my build system (specifically some macros were correctly expanded for the jad creation but not for the manifest creation steps). Once I fixed this then I could successfully sign and install my application. So the 6270 when signed will compare ALL attributes between the jad and manifest (required and user-defined) and if it finds a mismatch will not start the application....weird....

Similar Threads

  1. help !! about SIP errors
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2006-05-17, 05:30
  2. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  3. problem with codewarrior 5.2
    By mayankkedia in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-09-27, 16:08
  4. Cannot compile SDK's examples for 7650 platform...
    By midletsoft in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-08-12, 19:11

Posting Permissions

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