Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-222

GenericDataSource - using pingQuery property fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0 Beta 3
    • 1.0.0
    • Core
    • None
    • Operating System: other
      Platform: PC
    • 1980

    Description

      If the pingQuery property is specified for a datasource the ping method throws
      a NullPointerException. The cause is line 819. It should read;

      rs = stmt.executeQuery(pingQuery);
      not
      rs = stmt.executeQuery(pingCommand);

      Attachments

        Activity

          People

            craigmcc Craig R. McClanahan
            howard.moore@datapulse.com Howard Moore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: