Results 1 to 10 of 11

Hybrid View

  1. #1
    Senior Member
    Join Date
    Nov 2006
    Location
    Riyadh
    Posts
    33

    java/lang/NoSuchMethodError: No such method getRetryTimeout

    Hi,

    I got this error with the latest J2ME client (MIDP2):

    ALERT: java/lang/NoSuchMethodError: No such method getRetryTimeout.()I.

    It looks like a missing method.
    This error happened when the connection encountered some problems (and it seems tried to reconnet).
    This caused the J2ME application to completely crash and exit.

    Regards,
    A

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    That's pretty strange.

    I have no compiler errors.
    The method is in the right .java file and also in the .class file it is visible.
    Obviously the sources are correct.

    Do you have a bigger stack trace?
    Can you observe the same error on the emulator?
    Could it be a sort of caching problem?

  3. #3
    Senior Member
    Join Date
    Nov 2006
    Location
    Riyadh
    Posts
    33
    Yes, the problem appears in both Nokia and Emulator.
    I cannot get any stacktrace because I cannot catch the exception, it is internal within the MIDP library.
    The problem doesn't show up on an older MIDP library.

    A

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hello,

    I'm really surprised as I have no explanations.

    Would you try with a logging library?

  5. #5
    Senior Member
    Join Date
    Nov 2006
    Location
    Riyadh
    Posts
    33
    I don't have the logging version of the latest J2ME library.

    Regards
    A

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    I'm sending to you via PM a download link for the logging version.

    Thank you.

 

 

Similar Threads

  1. shutdown method of DataProvider?
    By pluczak in forum Adapter SDKs
    Replies: 5
    Last Post: April 16th, 2018, 05:26 PM
  2. form POST method vs GET method
    By chuan_ckc in forum Client SDKs
    Replies: 1
    Last Post: August 20th, 2009, 11:29 AM
  3. Replies: 1
    Last Post: May 21st, 2009, 10:41 AM
  4. Data Provider Protocol Method Tags
    By juls in forum Adapter SDKs
    Replies: 1
    Last Post: March 4th, 2009, 10:00 AM
  5. com.lightstreamer.i.jc cannot be cast to java.lang
    By ddhanis in forum Adapter SDKs
    Replies: 4
    Last Post: March 4th, 2009, 09:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 07:09 PM.