×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    JSR-75 (FileConnection API) call on Nokia 6630 causes phone shutdown

    We're executing the following piece of code on a Nokia 6630:

    Enumeration roots = FileSystemRegistry.listRoots();
    while ( roots.hasMoreElements() ) {
    String root = "file:///" + (String)roots.nextElement();
    FileConnection fc = (FileConnection)Connector.open(root,
    Connector.READ);
    Enumeration fileEnum = fc.list(); // CAUSES PHONE SHUTDOWN
    // { snip }
    }

    The FileConnection.list() (should return list of files/directories under the current one, which is the root when the crash occurs) call on the first root ("Phone memory") found causes phone shutdown. No exceptions thrown, the screen just fades to black and phone powers down. We verified this by writing log messages into a file after each line. The code executes fine on both the Sun's wtk emulator and Nokia's own midp emulator.

    We tried this on 2 separate 6630 phones, their firmware versions being:

    - 2.39.15 (11-11-04)
    - 2.39.129 (27-10-04)

    What's going on?

    - matti
    Last edited by k4l4; 2005-04-12 at 08:45.

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    1

    Re: JSR-75 (FileConnection API) call on Nokia 6630 causes phone shutdown

    I'm having the exact same problem on a 6630 also.

    I was wondering if this problem has ever been resolved. Or that maybee someone could look into it?

    Thank you in advance,

    Frens Jan Rumph

Posting Permissions

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