[ 
https://issues.apache.org/jira/browse/OODT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ricky Nguyen resolved OODT-427.
-------------------------------

    Resolution: Fixed

Committed revision 1305427.
                
> filemgr query throws "String index out of range: -1" when some products have 
> undefined metadata values
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OODT-427
>                 URL: https://issues.apache.org/jira/browse/OODT-427
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.3
>            Reporter: Ricky Nguyen
>             Fix For: 0.4
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to