Uploaded image for project: 'DayTrader'
  1. DayTrader
  2. DAYTRADER-9

MarketSummary fix for NPE with less than 106 quotes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • EJB Tier
    • None
    • All OS / all platforms

    Description

      This is a fix for the NPE in the MarketSummary.jsp and TradeHome.jsp thrown when the Daytrader database contains only 100 or less quotes. (see http://issues.apache.org/jira/browse/GERONIMO-1674)

      The current default configuration is 200 users and 400 quotes. As previously discussed, it takes long time to populate Daytrader database with as many user/quotes.

      This fix solves that problem. No NPE will be thrown if the database is populated with less than 105 quotes. This will speed up significantly the functional test with Daytrader.

      However, to retrieve market summary data you still need to have more than 106 quotes in the database. Therefore for performance measurments with Daytrader should be done using higher number of users/quotes.

      Slava

      Attachments

        1. DAYTRADER-9.patch
          4 kB
          Slava
        2. DAYTRADER-9_updated.patch
          4 kB
          Slava

        Activity

          People

            hogstrom Matt Richard Hogstrom
            rbakalova Slava
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: