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

Reference class prints stack trace when mime type repo cannot be found

    XMLWordPrintableJSON

Details

    Description

      While testing out the PCS tools that I'm about to contributor in OODT-135, I noticed that the Reference class barfs all over if the Tika mime-types.xml file cannot be found, which often happens when e.g., filemgr.properties cannot be found, but Reference is being used in some higher level downstream app (such as PCS). Either way, the Reference class is such a low level core, class that it shouldn't barf all over when it can't find its Mime type system. It should gracefully fail (which it does, it defaults to the shipped Tika mime config – the code just needs to be updated to not barf that message out everywhere).

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: