-
February 21st, 2008, 05:41 PM
#1
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
-
February 22nd, 2008, 11:22 AM
#2
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?
-
February 23rd, 2008, 01:28 PM
#3
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
-
February 25th, 2008, 02:53 PM
#4
Hello,
I'm really surprised as I have no explanations.
Would you try with a logging library?
-
March 4th, 2008, 12:51 PM
#5
I don't have the logging version of the latest J2ME library.
Regards
A
-
March 4th, 2008, 01:25 PM
#6
Hi,
I'm sending to you via PM a download link for the logging version.
Thank you.
-
July 14th, 2009, 11:58 AM
#7
hi all, i have the same problem, when i run my midlet on the emulator, i encuntred this message error:
ALERT: java/lang/NoSuchMethodError: No such method getRetryTimeout.()I.
Execution stack contains 96 items:
.
.
.
.
Execution completed...
976 thread switches
ALERT: java/lang/NoSuchMethodError: No such method nextTag.()I.
what happens???
thanks in advanced...
missm
-
July 14th, 2009, 04:33 PM
#8
Hi,
I still have no clue on how this could happen. As previously said the method is in its place so that I see no reason why it could not be found. Moreover both the caller and the method are in the same jar.
Did it happen with both MIDP1 and MIDP2 libraries?
would you like to try the debug library?
Note that nextTag method is not from our library, is it used in your code? Did you expect such error?
Maybe the cause is the same.
Since you got the error on the emulator, if possible, can you send me your project and/or the resulting jar that gave the error?
-
July 15th, 2009, 09:07 AM
#9
java/lang/NoSuchMethodError
Hi Mone, thanks for your replay...
Where i can send you my project?
Regards, missmè
-
July 15th, 2009, 09:26 AM
#10
if possible just attach it here on the forum, otherwise you can send it by email at support@lightstreamer.com (I'll take care of it admitted that it is accepted by our mail server) or you could use some sharing service like drop.io and then send me just the link through support@lightstreamer.com
Similar Threads
-
By pluczak in forum Adapter SDKs
Replies: 5
Last Post: April 16th, 2018, 04:26 PM
-
By chuan_ckc in forum Client SDKs
Replies: 1
Last Post: August 20th, 2009, 10:29 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
-
By juls in forum Adapter SDKs
Replies: 1
Last Post: March 4th, 2009, 09:00 AM
-
By ddhanis in forum Adapter SDKs
Replies: 4
Last Post: March 4th, 2009, 08:19 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:25 AM.
Bookmarks