You Are Here:

Community: Developer Discussion Boards

#1 Old Question Midlet suddently stopped working - 2006-05-25, 01:41

Join Date: Nov 2003
Posts: 6
Location: Denmark
kfonager
Offline
Registered User
Hi fellow developers

I'm working on a Midlet app, developing it with WTK2.3 ... the app runs fine on the emulator and for a long time it worked fine on my Nokia 6600 as well ... I install it OTA from my webserver ...

But suddently it stopped working on the 6600, but its still working on the emulator ... I even tested it on another phone (Motorola SLVR) and it works like a charm here ...

The installation runs fine, so i do not think its a jad/manifest problem ... and the midlet also shows up on the phone ... but when i try to run it, nothing happens at all ... it doesnt look like the VM is starting or anything ... I have included another midlet in the suite, and this one runs fine ...

Is there anything i should be aware of ? Have anybody experienced similar behaviour on the 6600 ?

I even have reset the phone to factory default, to make sure i'm testing on a "fresh" phone ... my firmware is the first (!) released, something like 3.47 ...

Any hints are appreciated ...

Thanks in advance,
Kent Fonager, Copenhagen
Reply With Quote

#2 Old Re: Midlet suddently stopped working - 2006-05-25, 03:18

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Hi kfonager! Welcome to Nokia Discussion Boards!! :)

I have seen in the "Known_Issues_In_The_Nokia_6600_v1_7_en.PDF" that

"2.26 MIDlet Installation Problem
Description
In very rare cases, installing a MIDlet to the Nokia 6600 smartrphone via OTA or Web Push may for some reason fail in the middle of the installation process.
If installing a MIDlet to the Nokia 6600 device via OTA or Web Push for some reason fails in the middle of the installation process, the half-installed MIDlet cannot be removed and the same MIDlet cannot be installed to the device. However, this happens very rarely.
This concerns software version 4.09.1.
Solution
No solution exists for Nokia 6600. Fixed in the Series 60 Platform 2nd Edition, Feature Pack 1 (that is, the Nokia 6620 and Nokia 7610 devices)."

Not sure whether this might be the case for your problem. Have you tried in a different 6600 with a different Firm ware?

Regards
Gopal
Reply With Quote

#3 Old Re: Midlet suddently stopped working - 2006-05-25, 08:42

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi,
This will be a software problem.I have worked on 6600 but havent noticed such a problem.

Thanks
Soku
Reply With Quote

#4 Old Re: Midlet suddently stopped working - 2006-05-25, 11:06

Join Date: Nov 2003
Posts: 6
Location: Denmark
kfonager
Offline
Registered User
Gopal, thanks for your reply, but i dont think its the the problem i my case ... but thanks for your reply :-)

Soku, I'm pretty sure its a software problem, but I'm a bit concerned about how to move on to solve the problem and find the bug. It IS running on another phone ... is it possible wth some on the Nokia dev tools to do remote debugging ON the device ?

I have made is so that my midlet debugs into rms, and i then have another midlet thats reads from the same rms, but its still empty ... so nothing helps me there ...

Maybe i should take the app "apart" and insert small blocks at a time, to find out which part makes it non-working ?

Cheers,
Kent
Reply With Quote

#5 Old Re: Midlet suddently stopped working - 2006-05-25, 11:12

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
May be you should give a try with updating the phone software of the phone.

Regards
Gopal
Reply With Quote

#6 Old Re: Midlet suddently stopped working - 2006-05-25, 11:20

Join Date: Nov 2003
Posts: 6
Location: Denmark
kfonager
Offline
Registered User
I will do that tomorrow ... today everything is closed in Denmark because of some sort of holiday thing ;-)

But another thing ... what kind of programming "errors" can make execution of a midlet totally stop ... what happens if i write "int x = 2/0" in the startApp() ? It will throw an uncaught Exception and problably it will stop execution, right ?

Take care,
Kent
Reply With Quote

#7 Old Re: Midlet suddently stopped working - 2006-05-25, 11:30

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
>>what happens if i write "int x = 2/0" in the startApp() ?

ArithmeticException : Thrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by zero" throws an instance of this class.

Regards
Gopal
Reply With Quote

#8 Old Re: Midlet suddently stopped working - 2006-05-25, 11:50

Join Date: Nov 2003
Posts: 6
Location: Denmark
kfonager
Offline
Registered User
Yes, I know ... but program execution will stop, if its uncaught, right ?
Reply With Quote

#9 Old Re: Midlet suddently stopped working - 2006-05-25, 12:19

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Yes. If the exception is uncaught, the app will exit!

Regards
Gopal
Reply With Quote

#10 Old Re: Midlet suddently stopped working - 2006-05-25, 20:46

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
I am shooting into dark here, but 6600 is CLDC 1.0 device. Are you building the app for that configuration? Also you should not use floating point arithmetic.

Hartti
Reply With Quote

#11 Old Re: Midlet suddently stopped working - 2006-05-25, 22:12

Join Date: Nov 2003
Posts: 6
Location: Denmark
kfonager
Offline
Registered User
I know, and its developed for CLDC 1.0 ... My problem is that it HAS been working, but suddently stopped working ... I've tried to find the problem all day, but no luck :-(

But thanks for your replies ...

/Kent
Reply With Quote

#12 Old Re: Midlet suddently stopped working - 2006-05-26, 07:45

Join Date: Aug 2005
Posts: 151
MananW
Offline
Regular Contributor
Have you tried installing it via PC Suite or transferring Jar into the mobile phones.
May be that can help you


Cheers,
Manan
Reply With Quote

#13 Old Re: Midlet suddently stopped working - 2006-05-26, 14:45

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi,

can you recheck your configuration in the project>settings>api selection tab.Make sure its cldc1.0 for 6600.
if it doesnt work,can u copy ur entries for jad and manifest?

Regards
Soku
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
7650 Bluetooth stopped working whizkris Bluetooth Technology 4 2004-06-17 12:57
'Response Unknown' when downloading midlet Weevil Mobile Java General 3 2004-05-30 18:01
Exit not working in a midlet ferozekadamapuzha Mobile Java General 2 2003-06-06 06:55
my MIDlet is not working when i answer my incoming call (7650)...Help. sai_irfan Mobile Java General 0 2002-08-10 00:03
my MIDlet is not working when i answer my incoming call (7650)...Help. sai_irfan Mobile Java General 0 2002-08-08 23:54

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia