×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Nokia N8 crashing without exception upon editing a textbox

    Hi,

    in our application we encounter strange crashes on the Nokia N8 platform (other Nokia devices work fine in this specific test case).

    The screen producing the problem consists of only a textbox with the following definition:

    this._textBox = new TextBox(title, "", 1024, TextField.ANY);

    it has an okay and back command as well and that is about it. The screen title uses 128 characters and the content of the textbox is set to 255 characters long string some time after the constructor of the textbox has been called.

    Now when I navigate to this screen it is rendered as sort of a popup on the N8 (weird, but well ... okay). Now when I press into the textbox to get some sort of input buttons or anything that will allow me to edit or add text, the application just disappears. In the application no exceptions are logged so currently we dont have a clue what is going on there. Normally our application logs all exceptions and also displays error screens ... aside from synchronizing logged exceptions back into our systems, but in this case nothing appears. Is there a way to access logs on the device or any other way to find out what the device is encountering before it crashes the application? Has anybody experienced something similiar on nokia N8 devices before?

    I hope you can help.

    Thanks a lot in advance

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Nokia N8 crashing without exception upon editing a textbox

    What is the firmware version in your N8 ? Have you tried updating it to a latest firmware ?

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Re: Nokia N8 crashing without exception upon editing a textbox

    Hi,

    *#0000# gives me the following results:

    published: PR 1.2
    software version: 014.002
    Date of software version: 2011-03-01
    Special version: 014.002.00.01
    Date of special version: 2011-03-11
    Language pack: 014.002.01.01
    Product code: 0599817
    Model: N8-00
    Typ: RM-596
    Browser: 7.2
    Flash: 4.0
    Java: 2.1

    When I do this as suggested on the Nokia site:

    Select Menu > Applications > SW Updates.
    Choose the software you'd like to update.
    Follow the instructions.

    I do not find any further packages to install.

    Best regards

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Nokia N8 crashing without exception upon editing a textbox

    Your firmware looks like a latest one.

    Have you tried reducing the TextBox maxSize ?

    Regards
    Gopal

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Re: Nokia N8 crashing without exception upon editing a textbox

    yep, had that on 256 and still the same behavior

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,104

    Re: Nokia N8 crashing without exception upon editing a textbox

    Face the same symptoms, my MIDlet just closes.
    Both, Belle Refresh and Belle Feature Pack 2

    While reducing the maxSize value, I had a bit of luck and got a stack trace, once:
    Uncaught exception: java.lang.OutOfMemoryError
    at com.symbian.util.NativeError.checkExplicitOnly
    at com.symbian.util.NativeError.check
    at javax.microedition.lcdui.TextBox.<init>

    My solution:
    In the constructor, I use a very small maxSize (10) and then I call setMaxSize(…) with my intended value.
    Works so far.

Similar Threads

  1. Can't send email without launching editor on Symbian^3 (N8,C7)
    By yjbin in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2011-05-05, 01:28
  2. N8 without simcard and latest OVI maps 3.06 crash phone
    By xlazom00 in forum Series 40 & S60 Platform Feedback Archive
    Replies: 3
    Last Post: 2010-12-23, 07:10
  3. How to relect change in the setting item without editing it?
    By raj8nokiaforum in forum Symbian C++
    Replies: 4
    Last Post: 2010-07-26, 08:44
  4. Bitmap not displayed without crashing...???
    By tata_simene in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-06-25, 10:09
  5. Help!--Display TextBox upon Canvas
    By FriedDragon in forum Mobile Java General
    Replies: 0
    Last Post: 2003-07-31, 09:04

Posting Permissions

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