ICEmobile
  1. ICEmobile
  2. MOBI-172

Crashes in Simulator environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.1 Final
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEmobileContainer running in simulator environment

      Description

      The Blackberry simulator has been problematic over the course of development. It has very different error handling than the devices, operates at a far lower speed, and involves the developer more closely in the details of the network transport configuration.

      This Jira is to keep track of changes made to help the container run better in the simulator.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27738 Thu Feb 09 15:04:55 MST 2012 greg.dick MOBI-172 Added logging to handleResponse method only in simulator path
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/blackberry-interface.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27741 Thu Feb 09 15:08:52 MST 2012 greg.dick MOBI-172 Pass isSimulator flag to handleResponse javascript method. Log a message if browserField doesn't think it can go 'back'
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/ICEmobileContainer.java
        Greg Dick created issue -
        Greg Dick made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Greg Dick [ greg.dick ]
        Hide
        Greg Dick added a comment -

        There was a problem in the simulator in ajax navigation between pages of the mobileshowcase application that would cause a complete crash of the container. I tracked it down to somewhere in the handleResponse method in the blackberry-interface.js file where we try to apply the updates to the existing DOM.

        I added some logging to the method. This method uses the container logging facility through one of our extensions to javascript and I expect it's rather expensive and slow, and lo! the crashing stopped. Currently I've added code to execute this logging only in the simulator. I tried to add an onload callback but in a short time before release couldn't get it to work. I'd like to get that to work and see if it offers any useful information, but this approach will work for now.

        Show
        Greg Dick added a comment - There was a problem in the simulator in ajax navigation between pages of the mobileshowcase application that would cause a complete crash of the container. I tracked it down to somewhere in the handleResponse method in the blackberry-interface.js file where we try to apply the updates to the existing DOM. I added some logging to the method. This method uses the container logging facility through one of our extensions to javascript and I expect it's rather expensive and slow, and lo! the crashing stopped. Currently I've added code to execute this logging only in the simulator. I tried to add an onload callback but in a short time before release couldn't get it to work. I'd like to get that to work and see if it offers any useful information, but this approach will work for now.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27754 Fri Feb 10 09:52:47 MST 2012 greg.dick MOBI-172 changed mistaken test for logging code
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/blackberry-interface.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27756 Fri Feb 10 10:20:50 MST 2012 greg.dick MOBI-172 Removed what turned out to be overly verbose logging from section of handleUpdate
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/blackberry-interface.js
        Hide
        Greg Dick added a comment -

        Simulator seems to be running fine at this point.

        Show
        Greg Dick added a comment - Simulator seems to be running fine at this point.
        Greg Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1 Final [ 10343 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Greg Dick
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: