Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-427

filemgr query throws "String index out of range: -1" when some products have undefined metadata values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • file manager
    • None

    Description

      To reproduce:

      1) ingest a ProductType without metadata (except ProductType defined)
      2) run a sql query without output format
      3) String index out of bounds thrown as shown below

      [vpicu@palmer bin]$ ./filemgr-client -u $FILEMGR_URL -op -sql -q 'SELECT EpisodeStartTime FROM Events'
      Mar 22, 2012 12:17:54 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
      INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
      ERROR: Failed to perform sql query : sortBy 'null', outputFormat 'null', and delimiter '
      ', filterAlgor 'null', startDateTimeMetKey 'null', endDateTimeMetKey 'null', priorityMetKey 'null', null' : String index out of range: -1

      Attachments

        Activity

          People

            Unassigned Unassigned
            rickdn Ricky Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: