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

GenericDataSource - using pingQuery property fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta 3
    • Fix Version/s: 1.0.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: PC
    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: