×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2004
    Location
    Israel
    Posts
    8

    NoSuchMethodError

    Hello everyone,

    I'm trying to install an application on my 6288. it uses the JSR75.
    after I lunch the application (installation was successful), it propts with the message:
    java/lang/NoSuchMethodErro: No such method run.()V.

    I'm using NetBeans 6 as an IDE and the mobility plug in to build the Jar and Jad.

    I'm not using obfuscation and the app works fine on the SonyEricsson device and also on N73.

    I've double check and all my used classes and imports are ok.

    does anyone has a clue how to solve this thing?

    thank you,
    Yanir

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: NoSuchMethodError

    Do you have any gueses which part of thecode causes that exception. If yes, can you share the code?

    Hartti

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: NoSuchMethodError

    Hi,
    Read the java docs explanation about the same -
    Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

    Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
    Therefor have you define the run(), method inside your code..Have you extends your class from Thread itself or have you implemented the Runnable interface..

    Provide the more information about the code...How you are working with it..and what you have done..

    Hope these line can help you..
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Posting Permissions

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